OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
why?!?!?!? damn browsers
This page's ID:
10916
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
It looks almost identical to me. There might be a pixel difference here or there. By the way, you're doing some silly things with your CSS. For instance, you're using *only* classes, which is unnecessary. The silliest is this: <li class="list">...</li> with .list {...} in your CSS. That's very unnecessary - if you only want the CSS to apply to list elements, then apply it directly to all list elements! Like so: HTML: <li>...</li> CSS: li {...} No classes/id's necessary. In addition, I notice that you're specifying the font-family *everywhere* in your style sheet - that is, in each and every single selector, like this: .smsechead { font-family: Arial, Helvetica, sans-serif; ... .list { font-family: Arial, Helvetica, sans-serif; ... .links { font-family: Arial, Helvetica, sans-serif; ...etc. You can simplify that like so: .address, .smsechead, .list, .links, ...etc... { font-family: Arial, Helvetica, sans-serif; } And then you don't have to write the same thing over and over. And if you choose to change the font later on, you only have to do it in one place. That's one of the the advantages of CSS. In fact, you would probably be safe just by doing this: body { font-family: Arial, Helvetica, sans-serif; } Since everything you want to have that font is the entire body of the page, right? So you can apply it to the whole body like that, and it will be inherited by lower-level elements. Some browsers have bugs that won't inherit the body's properties into table cells, so you may want to do body, td { font-family: Arial, Helvetica, sans-serif; } instead.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »