Here's the sample: http://www.bossanoza.net/_external/css-d/underline_link_test.html (works for me on IE7 (vista), FF and IE6 (xp))
On 8/2/07, Phillip Allard <[EMAIL PROTECTED]> wrote: > > Hrm, not really (tested FF and IE7)... I do have a running sample, ne how, > if relative positioning works for you (depends on the rest of the layout) > you should go that route. > > On 8/2/07, Mark Wheeler <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > To fix the height of the <li> tags, display:block and float:left : > > > > > > #nav ul li { > > > display: block; /* changed */ > > > float:left; /* changed */ > > > margin-right: 5px; /* added */ > > > padding-right: 20px; > > > border: 1px solid yellow; > > > } > > > > > > Then to have it centered, you would need a width for the UL : > > > > > > #nav ul { > > > margin:0 auto; /* changed */ > > > padding:0; > > > list-style-type: none; > > > width:800px; /* added */ > > > } > > > > > > Hope this helps. > > > > > > > Hi Phillip, > > > > Sorry, but that put everything in a vertical centered list. > > > > Mark > > ______________________________________________________________________ > > css-discuss [EMAIL PROTECTED] > > http://www.css-discuss.org/mailman/listinfo/css-d > > IE7 information -- http://css-discuss.incutio.com/?page=IE7 > > List wiki/FAQ -- http://css-discuss.incutio.com/ > > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/