Sent by Alan K Baker on 28 May 2008 21:09
According to my books position:relative is to give a point of reference to any absolute positioned
elements inside it. That's always been my understanding and it's always worked.
"CSS The Missing Manual" says: Relative - A relatively placed element is placed relative to its
current position in the HTML flow. So for example, setting a top value of 20px and a left value of
200px on a relatively positioned headline moves the headline 20px down and 200px to the left from
wherever it would normally appear.
So if you've set a position say top and left the <div> will move, but position:relative is not the
reason, it's set for the benefit of other elements.
Regards,
Alan.
www.theatreorgans.co.uk
www.virtualtheatreorgans.com
Admin: ConnArtistes, UKShopsmiths, 2nd Touch & A-P groups
Shopsmith 520 + bits
Flatulus Antiquitus
----- Original Message -----
From: Rick Pasotto
To: [EMAIL-REMOVED]
Sent: Wednesday, May 28, 2008 9:08 PM
Subject: [css-d] relative positioning
Is my understanding correct that putting:
div#name1 { position: relative; }
in the css file should have absolutely no effect on <div id="name1">?
If that is correct, why then does IE6 move the div? Does it make a
difference that the block I'm dealing with is a fieldset?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/