PDA

View Full Version : CSS / Table Help



mattsoreco
12 Mar 2009, 07:41 PM
<textarea>
Hello,

I've been frustrated with this for a while. I can't figure out how to get the little white line off the edge my table border.

I've created a test page:
http://nycbbb.com/emails/2008/test.shtml

You'll notice a little white space around the table, which isn't in the css driven version:
http://nycbbb.com/columns/030809.shtml

Here is the table css driving the test page:

}
table.test {
margin : 0;
padding : 0;
width : 750px;
border : 1px solid #000080;
border-collapse : collapse;
border-spacing : 0;
}

Here is the table driving the non css page:

<table border="1" bordercolor="#000080" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="750">

</textarea>

andrewswanson
16 Mar 2009, 12:56 AM
my suggestion would be to ditch the tables all together and go with a div based layout.