/ Published in: CSS

Simple styling for the links on a webpage using CSS. Sometimes hard to remember what order the have to be in for the :hover to work correctly. (Now fixed :)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body { margin: 0px; } a:link { color:#000; font-size: 1.1em; font-weight:600; font-family: arial, helvetica, sans-serif; text-decoration: none; } a:visited { color:#000; font-size:1.1em; font-weight:600; font-family:arial, helvetica, sans-serif; text-decoration: none; } a:hover { color: #000; font-size:1.1em; font-weight:600; font-family:arial, helvetica, sans-serif; text-decoration: none; } a:active { color:#000; font-size:1.1em; font-weight:600; font-family:arial, helvetica, sans-serif; text-decoration: none; } a img { border: none; }
Comments
