Topic: XHTML Strict and td width (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9705" title="Pages that link to Topic: XHTML Strict and td width (Page 1 of 1)" rel="nofollow" >Topic: XHTML Strict and td width <span class="small">(Page 1 of 1)</span>\

 
Suho1004
Maniac (V) Inmate

From: Seoul, Korea
Insane since: Apr 2002

posted posted 11-28-2003 03:35

This is an odd question, I guess, but check this out: Validator Error

So, my question is, basically, what's up with that? Since when can you not use width with td? And if that's the case, why didn't it pick up the other width attribute on the other td?

This is the only table I use on my site, and I used it because I figured the form was tabular data. I don't have a problem with the table being there, but I'd like the page to validate if possible. If it means that I'm doing something wrong, that is--if I'm not, then I'll just ignore it.


___________________________
Suho: www.liminality.org

brucew
Paranoid (IV) Inmate

From: North Coast of America
Insane since: Dec 2001

posted posted 11-28-2003 03:55

According to this:
http://www.w3.org/TR/html401/struct/tables.html#edef-TD

width is deprecated, but still part of the spec.

Something else strange is going on here because the validator doesn't b**ch about the table width or the next cell width. Stranger still, the WDG validator, http://www.htmlhelp.com/cgi-bin/validate.cgi does exactly the same thing. I have no clue why they're both apparently being so arbitrary about it.

If you decide not to live with it, try a different DOCTYPE (it validates to HTML 4.01 Transitional just fine) or put the width declaration in a stylesheet.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-28-2003 03:56

Suho1004: Here comes the TH

Suho1004
Maniac (V) Inmate

From: Seoul, Korea
Insane since: Apr 2002

posted posted 11-28-2003 04:02

Yes, it is being rather arbitrary, isn't it?

If it comes down to it, I'd rather put the width declarations in my style sheet. That wouldn't be too hard, especially since I only use one table. I think I'll just whip up a few classes to style the table.

Thanks for the replies.

[Edit: OK, moved the width, etc. to my stylesheets. Problem solved.]

___________________________
Suho: www.liminality.org



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu