6 replies [Last post]
wave1992
Offline
newbie
Last seen: 16 years 18 weeks ago
Joined: 2003-07-07
Posts: 4
Points: 0

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.

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 41 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

tables

You'll kick yourself...

You haven't closed the <td> tag after the images. Looks like it's closed everywhere else though...

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

wave1992
Offline
newbie
Last seen: 16 years 18 weeks ago
Joined: 2003-07-07
Posts: 4
Points: 0

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?

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 41 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

tables

Quote:
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?

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

wave1992
Offline
newbie
Last seen: 16 years 18 weeks ago
Joined: 2003-07-07
Posts: 4
Points: 0

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

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 6 years 26 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

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

http//melbourne.ug.php.net

wave1992
Offline
newbie
Last seen: 16 years 18 weeks ago
Joined: 2003-07-07
Posts: 4
Points: 0

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. Laughing out loud