View Full Version : Border behind background
hosdank
09-04-2008, 11:35 PM
I have a HTML table with a style attribute for the background of it. I have multiple columns which have a 2 pix border running down the middle of the table. Now my problem is that the border is on top of background of my table. Is there anything I can do about it? Thanks :)
boogyman
09-05-2008, 02:45 PM
If I understand you correctly, you would like to have the border disappear from the top of the table? If so, just apply a top border of 0 to any element you have a border around.
table,tr,th,td {border-top:0;}
the code above will make any top border in the table or its headings disappear.
hosdank
09-12-2008, 05:55 PM
Thanks! That worked :)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.