> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rick Pasotto > Sent: Wednesday, May 28, 2008 10:56 AM > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] relative positioning > > On Wed, May 28, 2008 at 09:44:31PM +0100, Alan K Baker wrote: > > 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. > > Yes, that all matches my understanding. Goto this > browsershots.org url: > > http://browsershots.org/http://lpnc.us/donate.php > > You'll see that IE7 gets it right while IE6 has some > unexplainable offset. It also works just fine in gecko browsers. > > In trying to figure it out I removed all the styling from the > form and its fieldsets. All ok. Then I added just > > fieldset { position: relative; } > > and there was the crazy offset. It doesn't even seem to be > related to any other screen element.
My guess is that IE6 has a different idea about just what it is positioning the <div> relative to? David Jones, Content Coordinator, Information and Technology Management, Customer Relations - KL PS, (808) 948-5830 "MMS <hmsa.com>" made the following annotations. ------------------------------------------------------------------------------ This electronic message is not an offer to contract, the acceptance of an offer to contract, or in any other way intended to contractually obligate HMSA; neither is it intended to change the terms of any existing contract unless specifically so stated. The information contained in this electronic message (or attached hereto) is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. If you are not the intended recipient of this e-mail, you are cautioned that use of its contents in any way is prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately by e-mail or telephone and return the original message by e-mail to the sender or to [EMAIL PROTECTED] We will reimburse you for any cost you incur in notifying us of the errant e-mail. Thank you. ยท ==============================================================================
______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/