hyperlinks?

liunx

Guest
Hello all.<br />
<br />
Just signed up to the forum and was hoping someone could help me out.<br />
<br />
I'm in the process of learning html to build myself a homepage and I was wondering if it is possible to create a hyperlink without having it underlined?<!--content-->Yes, with css:<br />
<br />
<style type="text/css"><br />
a {<br />
text-decoration: none;<br />
}<br />
</style><!--content-->ad the following in the head section of your HTML page<br />
<br />
<style type="text/css"><br />
a{text-decoration:none;}/*removes the default underline from all the links*/<br />
a:hover{text-decoration:underline;}/*displays the underline on all the links at mouse over*/<br />
</style><!--content-->LOL pyro...<!--content-->You don't even need any CSS stuff- just put in the HEAD of your document:<br />
<br />
<style fprolloverstyle>a{text-decoration:none}A:visited {text-decoration: none} A:active {text-decoration: none;} A:hover {text-decoration: none}<br />
</style><br />
<br />
Read the above reply's to see what each one does.;)<!--content-->First of all, that is still CSS, just with some crappy type definition (or whatever fprolloverstyle is...). Use either Khalid's or my method...<!--content-->Go to Lissa Explains (<!-- m --><a class="postlink" href="http://www.lissaexplains.com">http://www.lissaexplains.com</a><!-- m -->). It's for kids, I don't know if you're an adult or not but it really doesn't matter. Anyway. Go to the CSS section and you'll find out how to customize things like that.<!--content-->
 
Back
Top