Reply
HTML validator - 3 errors - I'm lost, please help!
Old 03-29-2008, 12:52 PM HTML validator - 3 errors - I'm lost, please help!
Junior Talker

Posts: 1
Name: Dave
I fixed 12 errors and now have 3 which I have no idea on how to fix. Please point me in the right direction or please explain to me how to fix these errors or what they mean.

http://validator.w3.org/check?uri=ht...Inline&group=0

Thanks a ton!
dave-dave is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-29-2008, 03:16 PM Re: HTML validator - 3 errors - I'm lost, please help!
chrishirst's Avatar
Super Moderator

Posts: 11,865
Location: Blackpool. UK
get rid of the non-existent height attribute and the background attribute in line 42.

And the warning is because you have used a XHTML self closing element /> with a HTML 4.01 doctype.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-31-2008, 06:52 AM Re: HTML validator - 3 errors - I'm lost, please help!
vectorialpx's Avatar
Super Talker

Posts: 128
Name: irimia octavian
Location: Romania
-------
Line 19, Column 29: required attribute "TYPE" not specified.
<script language="JavaScript">
-- correct: <script language="javascript" type="text/javascript">
-------
Line 51, Column 18: there is no attribute "MARGINWIDTH".
<body marginwidth="0" marginheight="0" bgcolor="#ffffff" leftmargin="0"
-- like it says, there is no valid marginwidth, LEFTMARGIN, etc... you can make it from CSS: body {margin:0}
-------
Line 52, Column 128: there is no attribute "BACKGROUND".
…ign="top"><td width="50%" background="images/bg.gif"><img width="1" height="1
-- you must have <td class="my_bg" and CSS: .my_bg { background-image:url(images/bg.gif)}
-------
you must learn some CSS
__________________
my photos, my website, creation lab
vectorial pixel web services :: and, sorry for my English !
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 03-31-2008, 10:58 AM Re: HTML validator - 3 errors - I'm lost, please help!
yangyang's Avatar
Skilled Talker

Posts: 51
8 errors now I can see of.

While it's a good way to learn standards everytime to validate your markup, it's rarely useful for site performance.
__________________
40000 pages+1900 images = Free Instant Site!
With 4 years front end web development experience, we offer state of the art PSD to XHTML / CSS slicing service, starting at $129.
yangyang is offline
Reply With Quote
View Public Profile Visit yangyang's homepage!
 
Old 03-31-2008, 11:00 AM Re: HTML validator - 3 errors - I'm lost, please help!
mork29's Avatar
Extreme Talker

Posts: 243
Name: Keith Yelnick
Standards compliance can help alot with SEO. If the spider can't figure out what's on your site, it isn't going to index it....

It's also useful for ensuring that your site looks right in all of the different browser possibilities that your site will encounter. It's always easy to start with standards compliant code, before you begin testing between different browsers.
mork29 is offline
Reply With Quote
View Public Profile
 
Old 03-31-2008, 11:12 AM Re: HTML validator - 3 errors - I'm lost, please help!
vectorialpx's Avatar
Super Talker

Posts: 128
Name: irimia octavian
Location: Romania
Quote:
While it's a good way to learn standards everytime to validate your markup, it's rarely useful for site performance.
but why are saying this?
__________________
my photos, my website, creation lab
vectorial pixel web services :: and, sorry for my English !
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 03-31-2008, 01:34 PM Re: HTML validator - 3 errors - I'm lost, please help!
wayfarer07's Avatar
Insomniac

Posts: 572
Name: Abel Mohler
Location: Asheville, North Carolina USA
Often if one of my sites does something funny that there doesn't seem to be an obvious first solution to, I will immediately validate to see if I made a simple error. Validation is great for catching unclosed list items, unclosed tags, simple syntax errors such as dropped semi-colons in CSS files, etc. Validation is not the be-all end-all, although it is certainly meaningful. Most of my CSS files don't validate because I use the underscore hack to target IE6. Needless to say, this does not affect site performance in the least.
__________________
Go FREELANCE <=====||=====> Hire Me
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 04-01-2008, 03:21 PM Re: HTML validator - 3 errors - I'm lost, please help!
Novice Talker

Posts: 10
try putting them in your CSS

i created a div and put all this in the CSS and it passed validation

{position:relative;height:900px;background-color:#000000;width:140px;border-right: 3px solid white; float:left}
ron007 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML validator - 3 errors - I'm lost, please help!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15757 seconds with 13 queries