Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML 1.1 Validation with Tables and TD Elements

Status
Not open for further replies.

redletterrocko

Programmer
Aug 8, 2005
53
US
I'm rather proud of the progress I'm making as I move over to XHTML 1.1 and I've been using the validator at One problem I am having is generating tables. It doesn't like the <td width="" height=""> Apparently, we've moved away from using width and height properties in 1.1 What's the alternative? I tried setting them in stylesheets which was absolutely comical, and took me in the wrong direction. Anyone have any suggestions?
 
Code:
<td style="width: 100px; height: 30px;">
You're right, it is sort of comical. As an aside, how come you need to set width and height anyway? I never needed to do anything like that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top