![]() |
Help with HTML (possible CSS error) [Not a plug]
Go to http://home.primus.ca/~bakht
Look at the hyperlinks. See the two last email links (there is one in very small print at the very bottom)? Now see the link to Virgin Free Radio and to Primus? Why are the mailto's red, but the rollover for the html links silver? I want them both red. How can I do this with the minimum of code, keep the bulging effect, and remain HTML 4.01 Transitional compliant? |
Strange. Both sorts of links appear in red to me, and dark red and bold when hovered over. [edit]When clicked however, the hyperlinks do turn silver, and then stay that way when I come back to the page. I take it your intention is for the links to return to red again when the visitor goes back to the page?[/edit]
Wild guess -- Perhaps it's a bad interaction between css and the <body link=... alink=... vlink=... text=...> attributes? Try using a simple <body> tag without attributes, and then editing your css section to read: This leaves styling issues entirely in the hands of the css stylesheet.code: [edit]1. Added background-color; 2. Some link breaks added[/edit] |
Strange. I highly doubt that I'm reading from the cache, so I can't explain why I'm getting silver. Anyhow, I took your suggestion. Danke.
[edit: ack! Oh no! The background is white (oh yeah, I sure suck at html). Should I put that in the <body> tag?] |
You discovered that before I could phantom-edit my code. I've added the background-color attribute to the css directive for "body".
|
Ah. Much better.
|
| All times are GMT. The time now is 11:16. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.