...

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



Bry Man
12-31-2002, 12:43 AM
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-31-2002, 12:47 AM
a {
margin: 0 auto;
text-decoration: none;
}

hrsdh
12-31-2002, 12:50 AM
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-31-2002, 12:54 AM
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