View Full Version : Table borders


burningstars
06-24-2003, 06:06 AM
Is there a way to remove only one of the borders on a table? Like having left, right and bottom borders but not the top border? Or even a way to make the top border white while the others are black so it blends with the background?

pb&j
06-24-2003, 01:33 PM
give this a try...

<table width="50%" style="border:2px solid #000000;border-top-width:0px;border-top-style:none;">
<tr>
<td>
test
</td>
</tr>
</table>

burningstars
06-24-2003, 02:40 PM
That worked! Thanks a bunch! :D

burningstars
06-24-2003, 03:04 PM
The border thing worked perfectly but theres one little problem, instead of the text just going straight down like normal it goes horizontally and the table is all out of shape

This (http://www.geocities.com/spongebob_nudiepants_82/Waves/index.html) is what it looks like..

kittycat
06-24-2003, 04:59 PM
It's probably because you don't have any spaces in that line of text. Try putting some in and see if it will go back to normal :)

burningstars
06-24-2003, 06:47 PM
ohhhhh ok thanks a lot! :)