Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   HTML Question: How can I make links bold when hovered over? (https://thetfp.com/tfp/tilted-technology/28110-html-question-how-can-i-make-links-bold-when-hovered-over.html)

BoCo 09-20-2003 08:40 AM

HTML Question: How can I make links bold when hovered over?
 
I was just at a site where the text links all went from regular to bold when hovered over, and I wondered how you do that. If anyone knows, please tell me how to write the code.

Thanks. :thumbsup:

peacy 09-20-2003 09:06 AM

Here's one solution with CSS:
Code:

&lthtml>
&lthead>
&ltstyle type="text/css">
A:link, A:active {
        font-weight: normal;
        text-decoration: none;
}
A:hover {
        font-weight: bold;
        text-decoration: none;
}
&lt/style>
&lt/head>

&ltbody>
&lta href="testing.html">Just testing&lt/a>
&lt/body
&lt/html>

*edit: modified the post to be readable in the browser + added extra functionality (the link is underlined only when the cursor is on top of it)


All times are GMT -8. The time now is 02:27 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62