Table Borders Problem

windows

Guest
Hello Guys!<br />
<br />
I have this webpage that I'm working on, and I'm using a stylesheet for the borders of the tables.<br />
<br />
In this stylesheet I'm specifying the diffferent attributes of the table borders, among of these i specify the border colors.<br />
<br />
The problem that I'm having is that for some borders i specify the color as being red, but at the edge of some of those red borders I get a very fine white line.<br />
That very fine white line doesn't supposed to be in there, and it really bothers me.<br />
Could you please look into it, and tell me what is wrong there? because I just can't find the mistache.<br />
<br />
The borders that have the problem are red and I made them very thick. You guys should see that fine white line right beside those thick red borders.<br />
<br />
Here is the link to that webpage:<br />
<!-- m --><a class="postlink" href="http://www20.brinkster.com/diablomax/">http://www20.brinkster.com/diablomax/</a><!-- m --><br />
And here is my stylesheet:<br />
<br />
table.blueborder {border: collapse #0000FF solid;}<br />
td.blueborder {border: thin #0000FF solid;}<br />
<br />
table.redborder <br />
{<br />
border-style: solid;<br />
border-top-width: 2px;<br />
border-bottom-width: 12px;<br />
border-left-width: 1px;<br />
border-right-width: 2px;<br />
border-color: #ff0000; <br />
}<br />
<br />
td.redborder <br />
{<br />
border-style: solid;<br />
border-top-width: 0px;<br />
border-bottom-width: 1px;<br />
border-left-width: 1px;<br />
border-right-width: 1px;<br />
border-color: #ff0000; <br />
}<br />
<br />
tr.redborder <br />
{<br />
border-style: solid;<br />
border-top-width: 0px;<br />
border-bottom-width: 1px;<br />
border-left-width: 1px;<br />
border-right-width: 1px;<br />
border-color: #ff0000; <br />
}<br />
<br />
td.redborder2<br />
{<br />
border-style: solid;<br />
border-top-width: 0px;<br />
border-bottom-width: 1px;<br />
border-left-width: 12px;<br />
border-right-width: 1px;<br />
border-color: #ff0000; <br />
}<br />
<br />
table.greenborder <br />
{<br />
border-style: solid;<br />
border-top-width: 1px;<br />
border-bottom-width: 1px;<br />
border-left-width: 1px;<br />
border-right-width: 1px;<br />
border-color: #00FF00; <br />
}<br />
<br />
td.greenborder <br />
{<br />
border-style: solid;<br />
border-top-width: 1px;<br />
border-bottom-width: 1px;<br />
border-left-width: 1px;<br />
border-right-width: 1px;<br />
border-color: #00FF00; <br />
}<br />
<br />
<br />
<br />
THANK YOU VERY MUCH GUYS!!<!--content-->dead link dude...<br />
<br />
I'd quick say bring those padding and margin back to zero.<!--content-->You might have neglected to define a class for the TD holding that cell. After you close the TD with the green border insert ' class="redborder" ' within the TD defining that cell (about 1/3 of the way down the page).<br />
<br />
BTW watch your Doctype. The page doesn't validate as xhtml. Alot of your tags are deprecated in XHTML. (It doesn't <br />
Also, out of curiosity, what does 'speed' do in <br />
<br />
<img id="spotlight" speed="10" src=http://www.htmlforums.com/archive/index.php/"websitegrafix/RuneCentralLogo2.jpg" width="800" height="60" alt="" /><br />
<br />
I don't know if I've ever seen it. ;)<!--content-->Hello guys!<br />
<br />
Thank you for taking a look at my page!<br />
<br />
ShivanDragon, if I bring those back to zero the page won't look the way it was intended anymore.<br />
<br />
Well Android! now I put the java script and css files in so you can have a more complete view of what the page should look like. As you see there is a spotlight effect over that top banner that i use, the "speed" attribute determines the moving speed of the spotlight, and in order for that to work I have to put it in there. Because of the spotlight attribute the page doesn't validate as XHTML, and that is the only reason (error), so at least for now I can live with it, as long as I don't get other error that I wouldn't know how to fix it.<br />
<br />
Android... I just tried your suggestion... well I'm glad to say that you were right with including the class="redborder" in that td cell. IT WORKED! THANK YOU VERY MUCH! So I'll have to apply that to everywhere I get that same situation.<br />
<br />
THANK YOU!<!--content-->
 
Back
Top