...

View Full Version : LInk underlines,Centering links in a table



Bry Man
12-30-2002, 11:43 PM
I was wondering how you kill that lil line that automatically appears under a link also my links are going to be in a html table and i was wondering how you could center a link in a cell if at all possible. Thanks

jkd
12-30-2002, 11:47 PM
a {
margin: 0 auto;
text-decoration: none;
}

hrsdh
12-30-2002, 11:50 PM
Hi,

To get rid of the underlining on the links, you could use the following CSS (insert in the <head> section of the HTML):

<style>
a {
text-decoration: none;
}
</style>

and to center the links in the <td> cells, use:

<td align='center'>contents of cell</td>

Hope this helps :)

Cheers,
Stuart.

hrsdh
12-30-2002, 11:54 PM
However, I defer to JKD who was obviously writing at the same time as me! :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum