Forum Moderators: open

Message Too Old, No Replies

Can't validate a couple things and I don't know why

please help

         

capsmaster

8:41 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



Hello guys trying to validate a page and there are a few attributes that are not found by the validator. I have posted the message I am getting below. Could someone please tell me what is wrong and how to fix it? Your help is much appreciated.

29 35 there is no attribute "LEFTMARGIN" ... <body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" topma ... (explanation)
29 51 there is no attribute "RIGHTMARGIN" ... FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" marginw ... (explanation)
29 65 there is no attribute "TOPMARGIN" ... rgin="0" rightmargin="0" topmargin="0" marginwidth="0" margi ... (explanation)
29 81 there is no attribute "MARGINWIDTH" ... gin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0" ... (explanation)
29 98 there is no attribute "MARGINHEIGHT" ... in="0" topmargin="0" marginwidth="0" marginheight="0" vlink="#0000FF"> ... (explanation)
62 69 there is no attribute "HEIGHT" ... spacing="0" cellpadding="0" height="917"> (explanation)
70 54 there is no attribute "BORDERCOLOR" ... t="32" valign="middle" bordercolor="#003366" bordercolorligh ... (explanation)
70 81 there is no attribute "BORDERCOLORLIGHT" ... n="middle" bordercolor="#003366" bordercolorlight="#FFFFFF" bgcolor="# ... (explanation)
111 24 there is no attribute "BORDERCOLOR" <tr bordercolor="#003366"> (explanation)

pageoneresults

8:46 pm on Aug 6, 2003 (gmt 0)

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



Those attributes are either no longer supported, or are browser and/or program specific. Those attributes can be achieved by using CSS. For example, the margin attributes can be replaced with CSS...

body {
top:0;
left:0;
margin:0;
padding:0;
}

The other errors are also handled the same way. You will need to assign classes to those elements and then utilize CSS to style them.