OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Spans
This page's ID:
21706
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
I think the vertical padding on inline elements does not work the same as on block elements. Here is an article on [url=http://www.meyerweb.com/eric/css/inline-format.html]Eric Meyer's website[/url] that, I believe, explains the situation. There are two possiblities that you may wish to consider that will get you close to what you want. Option 1: Add line-height to your rules for li.inline and li.last as this will increase the vertical dimension of the inline elements. For example: [code] li.inline { display: inline; line-height: 35px; padding: 5px 10px 0px 10px; border-right: 1px dotted #cccccc; } [/code] Option 2: Don't make the li elements inline, leave them as block and float them instead. For example: [code] li.inline { display: block; float: left; padding: 5px 10px 0px 10px; border-right: 1px dotted #cccccc; } [/code] Fiddle with either one of those and I think you'll get what you're looking for.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »