Vanessa023
01-11-2006, 09:07 PM
Hi
I was just wondering if there is a simple code that I can insert into an HTML document so that my hyperlinks aren't underlined.
Also so that they're underlined and overlined when you hover on top of them.
Can you do this without having to do a CSS (because I can't seem to figure those out!) :grouch:
Thanks!
luvhartz
01-11-2006, 09:15 PM
sorry i think you can only do it in css, insert this code in betweenyour <head></head>
<STYLE TYPE="text/css">
<!--
A:link
{ text-decoration: none; color:#COLORCODE; }
A:hover
{ text-decoration: underline overline; color:#COLORCODE;}
-->
</style>
change the red to the code you want, the color codes can be found here:
http://www.lissaexplains.com/color.shtml
sorry i think you can only do it in css, insert this code in betweenyour <head></head>
<STYLE TYPE="text/css">
<!--
A:link
{ text-decoration: none; color:#COLORCODE; }
A:hover
{ text-decoration: underline overline; color:#COLORCODE;}
-->
</style>
change the red to the code you want, the color codes can be found here:
http://www.lissaexplains.com/color.shtml
Absolutely no <!-- -->. This will keep them from working in any browser other than Internet Explorer.
Monkey Bizzle
01-12-2006, 03:15 AM
Absolutely no <!-- -->. This will keep them from working in any browser other than Internet Explorer.
That is not true...
rolfie1
01-12-2006, 06:13 AM
thats a comment though, for when your writting the scripts.
that would make it not work?
Monkey Bizzle
01-12-2006, 07:25 AM
thats a comment though, for when your writting the scripts.
that would make it not work?
The reason for putting <!-- --> around CSS is so that if you are using an older browser that doesn't support CSS, rather than displaying the code on the page, it just comments it out. The whole thing about it making the code only work in IE though is bogus... I have seen many a pages in Firefox that use those things and the CSS worked fine.
rolfie1
01-12-2006, 08:29 AM
The reason for putting <!-- --> around CSS is so that if you are using an older browser that doesn't support CSS, rather than displaying the code on the page, it just comments it out. The whole thing about it making the code only work in IE though is bogus... I have seen many a pages in Firefox that use those things and the CSS worked fine.
kk i stand corrected
Using external stylesheets will prevent the CSS from showing up.
luvhartz
01-12-2006, 07:15 PM
its not for external style sheets, the code is being used in between her head tags
Whence "using external stylesheet WILL prevent blah blah blah" ;)
Vanessa023
01-18-2006, 11:29 PM
Thanks everybody...
The first code recieved actually worked fine... There was no need to dispute in the end anyways... lol.
Thanks Again!