Forum Moderators: open
Now - when i validate with Transitional 4.01 - it tells me that "there is no attribute "BORDERCOLOR".
Whats the solution / workaround to this? I can't seem to figure it out using either HTML or CSS?
Any advice?
adding inline styling to your posted code:
<table cellpadding="0" cellspacing="0" style="border: 1px #80A0BB solid; background-color:#80A0BB; width: 100%;">
Note: You have your background and border the same colour.
On some (older) browsers the HTML deprecated code: cellpadding="0" cellspacing="0" can make a difference.
I recommend that you investigate CSS and utilise its power to a greater degree by removing the inline style to a CSS style section in the <head> or better an imported file utilising the power of id and class as illustrated by MatthewHSE.
Thanks for your help - i actually do use an external style sheet for most of my styling (except - i still use tables..).
However, i couldn't figure out the code for the "border" variable - it elluded me... I found out the problem though, that i need a "width" for the border in the style comment, and thats why mine wasn't showing correctly.
Thanks again for your help.
Andrew.
Now - when i validate with Transitional 4.01 - it tells me that "there is no attribute "BORDERCOLOR"
My advice, eliminate the border color [bordercolor="#80A0BB"] in the above code and use your style sheet to control the border. It won't hurt to eliminate the code.