css and html

windows

Guest
Hello, I'm pretty new to coding. Anyway I've designed a new page (using my own code and nicking a bit here and there). Here's the test page- <!-- m --><a class="postlink" href="http://www.geocities.com/nessdog42//illustration.html">http://www.geocities.com/nessdog42//illustration.html</a><!-- m --><br />
<br />
My problem is that the links on the white part with the news in are white and therefore invisible until you roll over them, because they are using the same code as the top navigation links. Obviously I don't want it to be like this- what code do I need to add to sort this out and change the link colour inside the white area? I hope that this makes sense?!?!?!?<!--content-->I've temporarily fixed it by putting a text tag on each of the links.... but now I've lost the rollovers- poo<!--content-->Use CSS. It is the perfect way to format!<!--content-->it uses css.<!--content-->you can make a new class for diferent links.<br />
<br />
firs make your css for all links.<br />
A {<br />
color: #000000;<br />
}<br />
A:hover {<br />
color: #000000;<br />
}<br />
A:active {<br />
color: #000000;<br />
}<br />
<br />
then make more css for links but, after the A put .YouClassName . Example<br />
<br />
A.MenuBar {<br />
color: #ffffff;<br />
}<br />
A.MenuBar:hover {<br />
color: #ffffff;<br />
}<br />
A.MenuBar:active {<br />
color: #ffffff;<br />
}<br />
<br />
all links will be black by defauls now.<br />
but links with the code class="MenuBar" will be white.<!--content-->thankyou mate.<!--content-->
 
Back
Top