Hi guys, I was hoping someone could point me in the right direction. I'll be attempting to use CSS to control my fonts but would also like to have it so that when I scroll over a link, it underlines and chages colour. I see this all over the web so assume it's a prett srtaight forward thing to accomplish. Could someone direct me to a site with directions on how to accomplish this? Thanks! Kirsty
Use CSS, in the included CSS file do something like a:link { color: #B40505; text-decoration: none; } a:visited { color: #B40505; text-decoration: none; } a:hover { color: #B40505; text-decoration: underline; } Code (css):
Thanks! I'm still learning CSS and it'd be helpful if you let me know what to type in the HTML document as well. Thanks, Kirsty
Put the CSS I mentioned in my previous post in its own file and then in the header section of your HTML file include the CSS file by doing: <head> <link rel="stylesheet" href="http://www.yourdomain.com/style.css" type="text/css" media="screen" /> </head> Code (html4strict):