View Full Version : Borders for data cells


Strider
02-01-2003, 08:38 PM
Hi im just learning how to use tables and im a bit confused.
I want to give certain cells borders but not the whole table but I don't know if this is possible. The effect I want is some boxes with very thin borders like that bit at the bottom of this page that says Forum Rules: (the white box).


Hope this makes sense, thanks :)

Alcy
02-01-2003, 11:05 PM
You could try something like this ^^:

<table>
<tr>
<td style="border:1px solid;">
</td>
</tr>
</table>

Strider
02-02-2003, 08:42 PM
Cheers, is it possible to change the colour or thickness of that border? And I see a lot of sites have things in curved boxes /rounded rectangles is this just done graphically or is there a code for that?

Alcy
02-02-2003, 10:22 PM
You can change border size and colour, but the rounded edges are graphics - it'd be so cool if there was a code for that :)

Strider
02-03-2003, 09:23 AM
Thanks, I guess to change the thickness of the border you replace 1px with something like 2px etc, but could I ask what code you put in to change the colour?

epolady
02-03-2003, 09:32 AM
<td style="border:1px solid #000000;">

Strider
02-03-2003, 09:55 AM
Thanks very much :)