I am so new at all of this. I am taking an on-line class called web publishing. Our assignment is tables with css and I'm having problems. I have put the images in the table and they won't validate. I have done what my teacher has told me to do and they still will not validate. Can someone tell me what I'm doing wrong. Here is the link to the site.
http://216.120.208.62/Phillips/CET1515C/0136/mobley/assignment6/table.html
Thanks, I'm embarassed since I want this all to make sense to me but have found out that web paging is so hard for me when it comes to tables and css.
tables
You'll kick yourself...
You haven't closed the <td> tag after the images. Looks like it's closed everywhere else though...
tables
I had closed the tags before and with images I was told not to do that. When I do close the tags the same way as everywhere else I get more errors during validation. So what am I supposed to do?
tables
I had closed the tags before and with images I was told not to do that
HTML is, I think, easy on TD tags - in any part of the document, you don't have to close them, not just after IMG tags - it's best to be consistent, and either always close them or never.
At the W3C validator (http://validator.w3.org/), when I close the three TD tags, it validates fine. XHTML requires the TD tags to be closed properly. Probably if you stepped your document down from XHTML to HTML 4/4.1, it'd valiadate fine. Where are you validating?
tables
That is exactly why I'm having problems...I have to use xhtml for this assignment. I just can't get the tags to work. Thanks for all your help, this is my first semester doing any xhtml or html for that matter. I am using the same vadidator though.
Rhonda
tables
I just did a test run of your source code and found out your Doc type was a bit wrong. I uploaded it on my server and validated it through w3.org and it came out perfect. You can view the results here: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.techsatcomputers.com%2FTEST%2Fcssforum.htm&charset=%28detect+automatically%29&doctype=Inline&ss=1&sp=1&outline=1&No200=1&verbose=1
Thank you Thank you Thank you
Thank you all so much for your help. Thanks for the link I looked right at the images and made sure I had the same and sure enough they validated. What a relief. Thanks again.