Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts

    validation question about object start tag

    document type does not allow element "div" here; assuming missing "object" start-tag
    <div style="width: 924px; float: left; height: 1px;">
    Code:
     <div style="width: 924px; float: left; height: 1px;">
    	<img alt="" height="1" src="images/border_long.png" width="924" /></div>
    anyone know what's going on here?

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    Code:
     <div style="width: 924px; float: left; height: 1px;">
    	<img alt="" height="1" src="images/border_long.png" width="924" /></div>
    anyone know what's going on here?
    on line 140, comment both </div> if you don't want to remove them:
    Code:
    <!--
    </div></div>
    -->
    then on line 160 change:
    Code:
    <script> function BGchange()
    to:
    Code:
    <script type="text/javascript"> function BGchange()
    and add comments and cdata

    best regards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •