Sent by Alek Vila on 30 November 2004 21:09
Dear List,
I have an answer to share with you!
First, take a look at my design in progress at: http://www.racingheart.com/JayE
Note: Submenus will appear when you roll over "Can I Help You?" and "Legislative Issues"
I followed Eric's advice from "More on CSS: Project 6" and positioned the containing element
("li.withsub") relatively. The submenus ("ul.level2") are positioned absolutely, like this...
position: absolute; top: 0; left:
174px;
Today I discovered that Internet Explorer for Windows shrinkwraps the "li" element... EVEN IF the
ul has a width defined as 177px. My list items are right justified, so that means that the left
border of the list items varies
with the length of the words in the list item.
In order to get the submenus to position in the right place (since the list items are right
justified), I have to give the list items a width of 177px to match the width of the nav bar and...
that solves the problem I've been
battling with for over a week!
I'm happy today... :-)
~ Alek
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/