OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
I find myself on a new path... and im scared.
This page's ID:
24087
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
[quote]font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #FFFFFF; background-color: #000000;[/quote] That text is in your body {} rule, so it will "cascade" to the other elements of the page (anything that's a descendant element of the body - basically the whole page). That means you can remove that text from everything else. The "img {...}" won't be necessary since the default background color is transparent, so the body's background color will show through. h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #6798B8} can be reduced to h1 {font-size: 10pt; color: #6798B8} and similar reductions can be done for all of the other elements. As for the a.foo rules, you can eliminate more redundancy. First, specify the style to be applied to all "a" tags: a { color: #FFFFFF; text-decoration: none; } (notice that I deleted cursor:hand, since that's the default for hyperlinks anyway. also notice that i left in color:#FFFFFF despite that being specified in the body {} rule, because the browser's default stylesheet would default to a different color for links otherwise.) Then, the rest of the "a" information can be just that which is specific to each type of link: /* a:visited can be removed entirely since it contains only redundant information. */ a:active {cursor: wait} a:hover {text-decoration: underline overline;} That should about do it. [url=http://www.slimeland.com/] [img]http://www.slimeland.com/misc/ozonemetalslimesig.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »