No.

Relative positioning is relative to the element's position when it is
position:static (the default). The item is still in document flow.

Absolute positioning positions an element relative to its parent in the DOM
that is not positioned statically.  If the element's parent is positioned
statically, it goes up the DOM.  If nothing is positioned above it (ie,
absolute or relative), then the viewport is used as the parent.


Sandra Clark
==============================
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-----Original Message-----
From: Coldfusion [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 2:50 PM
To: CF-Talk
Subject: RE: CCS Question

So is it better to create a DIV and make everything within that relative?

DIV ID=MAIN
        DIV ID=SUB  (this would be set to relative to the MAIN div?

TIA! 

-----Original Message-----
From: Jon Clausen [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 2:21 PM
To: CF-Talk
Subject: Re: CCS Question

A couple things that I see from a quick glance:

1 ) Firefox is getting it right.  You've positioned your  
#navcontainer  for the left menu absolutely with a top of 89px.   
That's exactly where it's at in FF.

2)  Many of your  container elements are positioned absolutely from the top
- including your footer.  That's going to make your  life very difficult
since you're gong to have to adjust many of those items for every page.
FF and IE handle absolute positioning a bit different.  You should consider
using relative positioning wherever possible and adjusting the margins,
padding, and floats accordingly to position the containers where they need
to be.

Also, here's a great resource for understanding CSS behavior between
browsers:  http://www.quirksmode.org/css/contents.html

HTH,

Jon


On Jan 11, 2007, at 1:20 PM, Coldfusion wrote:

> Any idea why the menu lays out fine in IE but not in FF?
> http://www.mindkeeper.net/test/







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266304
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to