www.webdeveloper.com
Results 1 to 3 of 3

Thread: Dreamweaver XHTNL Validation ? - The tag: "table" doesn't have an attribute: "height"

  1. #1
    Join Date
    Aug 2008
    Posts
    76

    Question Dreamweaver XHTNL Validation ? - The tag: "table" doesn't have an attribute: "height"

    Hey guys

    I am trying to get my site to validate, this is the only error I find though. I am not really sure what it means? Because my table does have a height.

    I went to the line of code:

    Code:
    <table width="194" height="322" border="0" id="quicknavtable">
    This brought to my attention that although i specified a width and a height in CSS, the table has its own width and height fields in the HTML tag? What am I supposed to do? Which is the browser going to use the html or CSS?

    I hope this makes sense

    Cheers
    ------------------
    Kind Regards
    Sneeu

    still learning..........

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    "height" is not a valid attribute of <table> - if you are setting sizes in the css, remove the sizes from the html.

  3. #3
    Join Date
    Aug 2008
    Posts
    76
    thanks man
    ------------------
    Kind Regards
    Sneeu

    still learning..........

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles