Boris Zbarsky wrote:
alias wrote:

The color attribute works but the text-decoration and padding-top don't.

How about attaching an entire document (a 10-line one should be sufficient here) that shows the problem instead of attaching snippets totally out of context?

Sorry, I thought that was enough info.

page.css ----

.links {
font-size: 12px; font-family: Arial,Helvetica,sans-serif;
font-weight: normal;
margin-top: 5px;
}
a.links:link { color: #000000; background-color: transparent; text-decoration: none; }
a.links:visited { color: #000000; background-color: transparent; text-decoration: none; }
a.links:hover { color: #cccccc; background-color: transparent; text-decoration: none; }
a.links:active { color: #cccccc; background-color: transparent; text-decoration: none; }
a.links:focus { color: #cccccc; background-color: transparent; text-decoration: none; }
p.links { padding-top: 5px; }


index.html -----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>

<div class="links">
<p><a href="http://www.w3.org/TR/1998/REC-html40-19980424/";>HTML 4.0 Specification</a>
<p><div class="links"><a href="http://www.w3.org/TR/REC-CSS2/";>Cascading Style Sheets, Level 2</a>
</div>


Thanks


Reply via email to