Click to See Complete Forum and Search --> : Dreamweaver XHTNL Validation ? - The tag: "table" doesn't have an attribute: "height"


sneeu
10-01-2008, 05:52 AM
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:

<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

Centauri
10-01-2008, 11:54 AM
"height" is not a valid attribute of <table> - if you are setting sizes in the css, remove the sizes from the html.

sneeu
10-02-2008, 08:35 AM
thanks man