Re: [WSG] A Fixed Understanding

2005-07-27 Thread matt andrews
On 28/07/05, Chris Kennon <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks, where I got confused is with the "static" attribute which > does not take "top, right, bottom and left values(http:// > www.w3schools.com/css/pr_class_position.asp). So if an item is not > positioned when using "fixed", it is "

Re: [WSG] A Fixed Understanding

2005-07-27 Thread Chris Kennon
Hi, Thanks, where I got confused is with the "static" attribute which does not take "top, right, bottom and left values(http:// www.w3schools.com/css/pr_class_position.asp). So if an item is not positioned when using "fixed", it is "fixed" relative to its containing element? On Jul 27,

Re: [WSG] A Fixed Understanding

2005-07-27 Thread Choan C. Gálvez
Chris Kennon escribió: Hi, If it is positioned relative to the viewport, why does it stay confined within the container? If I understand correctly, your `fixed` div is showing from the top-left corner of its container. If that's the case, there's one reason: you're not positioning the bloc

Re: [WSG] A Fixed Understanding

2005-07-27 Thread Chris Kennon
Hi, If it is positioned relative to the viewport, why does it stay confined within the container? C On Jul 27, 2005, at 9:08 AM, Choan C. Gálvez wrote: Chris Kennon escribió: Hi, Making sure I have grokked the CSS-P property-fixed, when an element is fixed it is removed from the norma

Re: [WSG] A Fixed Understanding

2005-07-27 Thread Choan C. Gálvez
Chris Kennon escribió: Hi, Making sure I have grokked the CSS-P property-fixed, when an element is fixed it is removed from the normal document flow and positioned relative to its containing element, Not exactly. It's positioned relative to the viewport. Every other point is correct. R

[WSG] A Fixed Understanding

2005-07-27 Thread Chris Kennon
Hi, Making sure I have grokked the CSS-P property-fixed, when an element is fixed it is removed from the normal document flow and positioned relative to its containing element, and does not scroll when the document is? In the following example: div#a would be removed from the normal flow