Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2006
    Location
    Florida
    Posts
    5
    Member #
    12732
    my site is www.ansimation.net and it has 44 errors in it right? well, i was going through and fixing these errors, had it down to 20 and then i noticed that my mouse overs for the newest additions part didnt work. i been fighting with this all day and cannot figure anything out for the life of me. originally it was the doctype that i had added that cause it to fail. then after i figured that out i went on to fix my validation errors and noticed that even with the doctype removed, it still wouldn't work. all it is a simple onmouseover="img_description.innerhtml=''image information here.;" but it doesn't seem to want to work when i fix the errors in my site. any ideas on how i can have it work and make it still validate? im about to say screw validation and leave it as it is. atleast it works.

    ~Travis

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Well, you obviously need to put a DOCTYPE in there. Which one did you originally go with? Not XHTML Strict I hope ... that would screw things up for sure.

    Looking at your code I would go with XHTML Transitional since you're using some CSS but have a tabled-layout. The only thing with the XHTML DOCTYPE, you'll need to convert all you tags to lowercase. So... that being said, you're HTML should start like this

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-CA" lang="en-CA">
    
    <head>
    
    	<title>Travis Ballard: My collective works.</title>
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    	<style type="text/css">
              @import "css/scrollbar-h.css";
              @import "css/css.css";
            </style>
    
    </head>
    So... start with that and see what you get.

    Also, make sure you convert your onMouseOut to onmouseout ... lowercase here as well.

    One more thing I just noticed in your HTML ... why are you using the <font> tag?!?! You have knowledge of CSS, use it. FONT is a deprecated element... get rid of it.

    http://www.w3.org/TR/xhtml1/#diffs - Read it!

    hth
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    On second thought ... you might just want to change to HTML Transitional ... see if that works.

    Unless you're up to make signinficant change to that code, go with the HTML DOCTYPE. But, you really should get it in XHTML tho, you seem to have the knowledge, let's just push it a bit further.

    Your choice in the end isn't it?
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:28 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com