PDA

View Full Version : help...please?



Tool is God
July 11th, 2001, 17:42
Ok, well I've been trying to use CSS and style sheets and what not, and this is what I put into the head of the html file:

<LINK href="stylesheet.css" rel="stylesheet" type="text/css">

and there are teh contents of stylesheet.css:

BODY {scrollbar-3d-light-color:#3399FF;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-dark-shadow-color:#000000;
scrollbar-face-color:#3399FF;
scrollbar-highlight-color:#000000;
scrollbar-shadow-color:black}
A.nav:link { color: #000000; decoration:none}
A.nav:visited { color: #000000; decoration:none }
A.nav:hover { color: #FFCC66; decoration:underline }
A.nav:active { color: #FFCC66; decoration:underline }
A.main:link { color: #FF9900; decoration:none }
A.main:visited { color: #FF9900; decoration:none }
A.main:hover { color: #3399FF; decoration:underline }
A.main:active { color: #3399FF; decoration:underline }

Now, please visit:

http://xtremetabs.hypermart.net/lbc

beware of popups

ok, now look at the source code...why does it only include the code concerning the scrollbar and not the links? thanks.

el crapo
July 11th, 2001, 17:51
Well i went to your site and looked at the source and you dont have <LINK href="stylesheet.css" rel="stylesheet" type="text/css"> in the html file. The only CSS thingamajig is this:


BODY { scrollbar-3d-light-color:#3399FF;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-dark-shadow-color:#000000;
scrollbar-face-color:#3399FF;
scrollbar-highlight-color:#000000;
scrollbar-shadow-color:black}
</style>

Tool is God
July 11th, 2001, 18:10
how do I make it so that the links are NOT underlined, but become underlined when the mouse passes over them? thanks for the help by the way!

el crapo
July 11th, 2001, 18:22
<style type="text/css">
a:visited {text-decoration: none;}
a:active {text-decoration: none;}
a:hover {text-decoration: underline;}
a:link {text-decoration: none;}
</style>

lucifer
July 11th, 2001, 18:23
maybe have the active decoration none too
plus always have hover last