Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- abs:pos element positioning to parents padding


benihana - 4:54 pm on Jan 19, 2006 (gmt 0)


I have a setup of nested lists, that ive styled to to appear as a set of tabs, with a the nested list appearing as a submenu underneath.

The parent list has position:relative; so i can use position:absolute; on the nested list to put it correctly underneath.

Im wanting the sub list to be positioned exactly one pixel from the left of the parent list container, but in IE its positioning it exactly one pixel to the left of the padding on the list. Op + FF are behaving as expected.

Any thoughts?

HTML4 strict full DTD

Cheers
Ben


Thread source:: http://www.webmasterworld.com/css/8259.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com