Forum Moderators: phranque

Message Too Old, No Replies

W3C validation questions help please :P

Line 145 column 60: there is no attribute "bordercolor".

         

terk

6:27 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



i'm developing my first site for my Job 9 it beats the hell out of working in the mail room :P ) and well i keep getting this error and i was wondering how important it is to validate the site before uploading, and weather this is an error i should work out before uploading,

Line 145 column 60: there is no attribute "bordercolor".
<table width="90%" border="1" cellspacing="3" bordercolor="009900" id="Side">

perfectcoding

6:32 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



It really depends on how badly you or your employer want the pages to the be standards compliant.

Personally, and this has little to do with your question, I prefer to use CSS anyway; its use here would aid validation with the more stringent standards. If you're new to web design, then now is the ideal opportunity to pick up CSS - the changeover is largely inveitable, it's just that there is less legacy code to convert right now.

g1smd

6:44 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Anytime you see "there is no attribute...." you can be sure that one line of CSS can replace that attribute.

It is best to put the CSS in an external file, so that the whole site can use the same settings.

While doing that, get rid of all <font> tags and replace the whole lot with another 4 or 5 lines of CSS. This works best if you make sure that all of your content consists of headings, paragraphs, lists, tables and forms (the so-called "block" elements): style each of those blocks and then use a class for any exceptions.

I have halved the file size of all the pages of a site by doing that recently. They load quicker and use less bandwdth now, as well as all having exactly the same (rather than just being similar) style.

[edited by: g1smd at 6:47 pm (utc) on Sep. 12, 2005]

terk

6:45 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



thanks, well i dont think my employer really cares if the site its w3c complaint, as longest it does good on the ranking, i was wondering if this error would affect my ranking on any of the search engines

g1smd

6:50 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yeah, but do you care about doing the job properly?

What else does your boss not care about? Making reliable products? Safeguarding client personal data? Ensuring your safety at work? yada, yada, yada...

terk

6:53 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



lol....

terk

6:55 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



personally i do care about doing my job right, thats why I'm asking how can i get this issue resolved, now my employer doesn't care weather my website validates or not as longest it comes up on the top 10 ,. .... I'm just being real

buckworks

7:21 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Cleaning out validation errors and using CSS to streamline your code as g1smd describes are well worth the effort.

When you're competing for ranking against thousands or even millions of other pages, anything you can do even 1% better than the other guy is going to help.

cabowabo

7:49 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What else does your boss not care about? Making reliable products?

Great comment! It is true that one part of your business slides, it is just a matter of time until the rest of it does too.

Cheers,

CaboWabo