OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Constant Navigation
This page's ID:
25075
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
This has [b]really[/b] troubled me in the past and right now I'm just fed up! How is this done!!! I need to make a constant navigation i.e that each nav item has a constant width and height. I place the width and height values in the CSS for the [i]li[/i] element and I get nothing... I have to rely on padding instead :( but padding adjusts according to the amount of text in the item. For example, if I have two items one with 'products' and the other with say 'offers' then the space between 'products' and it's preceeding item is going to be greater than that of 'offers'... is anyone getting this!! My navigation is [i]inline[/i] if it was plain then this wouldn't have been much of a bother to me but now it is!! So far this is what I have in my CSS for the navigation: [code]#nav { border-bottom: 1px solid black; margin: 21px 0 0 0; } #nav ul { padding: 0; margin:0; text-align: right; } #nav li { border-right: 1px solid black; display: inline; list-style-type: none; width: 79px; }[/code] [i]I've removed the padding because that is definitly not what I want[/i] Where am I messing up?? I tried ALA but nothing even Google's let me down :( I know I am messing up somewhere, I ALWAYS do!! [b]BUT WHERE!!!!![/b] [url=http://haiderali.thefreebizhost.com/][img]http://haiderali.thefreebizhost.com/extras/sig_03.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »