Forum Moderators: not2easy

Message Too Old, No Replies

horizontal menu

         

tonynoriega

5:48 pm on Jan 18, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is similar to a question asked, but i dont want two lines...

i have a horizontal menu, with 7: li a

the first li is 20 characters long, and the last is about 7 characters long...

so obviously the first {li a} is long than the last...

problem is i can not get the list to span the entire set width of 720px that is the parent container...

i tried width:100% on the {li a} but did not work...

any solution to this not using JS?

limbo

8:43 pm on Jan 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is this your main navigation? Static, unlikely to change I mean.

If so could you define the width of each li in pixels then center the text in each? Little bit of planning to get the exact widths to look spot on, but will ensure the spacing is exactly as you want it.