- From: Jake Brumby <jake.brumby@fresca.co.uk>
- Date: Wed, 23 Jul 2003 16:58:13 +0100
- To: <www-validator@w3.org>
- Message-ID: <E0520420BE35BE46A6F5685E5C2380A61DB729@mail.beaconsfield.fresca.co.uk>
You need to delete the code that is not valid.
Use CSS to achieve the effect you desire. For example, the first 4 errors will be corrected if you remove the offending code (e.g.leftmargin="0") and within your external CSS document add the following code:
html {
padding-top : 0;
padding-right : 0;
padding-bottom : 0;
padding-left : 0;
border-top-width : 0;
border-right-width : 0;
border-bottom-width : 0;
border-left-width : 0;
margin : 0;
}
Jake
hi there, I've just validated my html page and found the following errors, and I can't find an explanation on the error explanations page to work out what's wrong with this. Some of this code was generated by Dreamweaver 4 - is that anything to do with the error?
Could you tell what I need to do to make this page valid? (I was validating it as transitional html)
thanks
john
These are the error reports I had:
Below are the results of attempting to parse this document with an SGML parser.
1. Line <http://validator.w3.org/check#line-6> 6, column 50: there is no attribute "LEFTMARGIN" ( <http://validator.w3.org/docs/errors.html#attr-undef> explain...).
<BODY text="#999966" bgColor="#000000" leftMargin=0 topMargin=0 marginheight="0"
^
2. Line <http://validator.w3.org/check#line-6> 6, column 62: there is no attribute "TOPMARGIN" ( <http://validator.w3.org/docs/errors.html#attr-undef> explain...).
...ext="#999966" bgColor="#000000" leftMargin=0 topMargin=0 marginheight="0"
^
3. Line <http://validator.w3.org/check#line-6> 6, column 77: there is no attribute "MARGINHEIGHT" ( <http://validator.w3.org/docs/errors.html#attr-undef> explain...).
..." leftMargin=0 topMargin=0 marginheight="0"
^
4. Line <http://validator.w3.org/check#line-7> 7, column 12: there is no attribute "MARGINWIDTH" ( <http://validator.w3.org/docs/errors.html#attr-undef> explain...).
marginwidth="0" link="#666666" vlink="#666666" alink="#666666">
^
5. Line <http://validator.w3.org/check#line-8> 8, column 14: there is no attribute "HEIGHT" ( <http://validator.w3.org/docs/errors.html#attr-undef> explain...).
<TABLE height="100%" width="100%" border=0>
^
Received on Wednesday, 23 July 2003 11:58:33 UTC