I dunno what up with my coding.. I go over it and over it again. The coding is right. www.MilitaryStrike.com/strike.php but i think the stupid css file is screwing it up. Can someone take a look at it for me and tell me whats up with it. www.MilitaryStrike.com/user.css
Having some trouble with tables
Collapse
X
-
Try using the HTML validator at http://validator.w3.org/ ... put in your link and let it validate it.
I can't "view source" your .php file in my browser, so I can't tell why, but many of your tags are being evaluated as incorrect.
For the DOCTYPE you have, XHTML 1.0, the validator is disallowing several of the attributes you have for your tables, such as "height" in a <table> definition, "width" in a <TR>, etc.
You also have a problem with your <div> containers; the validator notes a couple without closing </div>, as well as some missing </td> and </tr>.
However, when using the validator, correct things from the beginning to the end of the list, as some errors will cause the validator to mis-read tags later on. You may have all those tags closed, but it can't read them correctly because of an earlier tag remaining open, etc.
Comment