Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-13-2004, 09:52 PM   PM User | #1
Steven_Smith
Regular Coder

 
Join Date: Jun 2002
Location: Oakville
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Steven_Smith is an unknown quantity at this point
clip:rect(0 0 0 0) what are the values

clip:rect(0 0 0 0)

What are the 0's?

x,y,w,h?

I dunno, I just can't seem to figure it out, or figure out where to find out.

Thanks
Steve
Steven_Smith is offline   Reply With Quote
Old 01-13-2004, 10:03 PM   PM User | #2
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
In the same way everything else in CSS tends to be, it is top, right, bottom, left. See the CSS2 specs about it, <http://www.w3.org/TR/REC-CSS2/visufx.html#clipping>
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 01-13-2004, 10:24 PM   PM User | #3
Steven_Smith
Regular Coder

 
Join Date: Jun 2002
Location: Oakville
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Steven_Smith is an unknown quantity at this point
Thanks. Between all the programs I use I wish o,o,o,o would be

x,y,w,h

IN everything.

Thanks
Steve
Steven_Smith is offline   Reply With Quote
Old 01-13-2004, 10:40 PM   PM User | #4
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
Well, there are benefits of using values relative to the box edges instead of width/height values. There are also drawbacks. CSS has a few drawbacks with it's box model, because it is not versatile enough in some cases.


(Note that clipping isn't especially well supported.)
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 01-13-2004, 10:42 PM   PM User | #5
Steven_Smith
Regular Coder

 
Join Date: Jun 2002
Location: Oakville
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Steven_Smith is an unknown quantity at this point
In what way is clipping not supported?

Like not in netscape?

What should I try instead?

Thanks
Einstevil
Steven_Smith is offline   Reply With Quote
Old 01-13-2004, 10:55 PM   PM User | #6
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
More like moz, op7, and ie5.5w & ie6w only. Possibly saf as well. Ie5.0w, iem, nn4, op6 and lower does not support it.
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:40 PM.


Advertisement
Log in to turn off these ads.