5 replies [Last post]
xcandyman
Offline
newbie
Last seen: 16 years 32 weeks ago
Joined: 2004-02-12
Posts: 6
Points: 0

Hi

Would be a great help if someone could check this out.

http://www.cat-pictures.org

Layout is pure css some content is in tables.

Thanks

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 23 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Site Check Please

Very nice design... no obvious problems in Safari. I noticed you've used XHTML 1.0 Strict with a table-based layout though... have you tried to validate the site?

The next sentence is true. The previous sentence is false. Discuss...

xcandyman
Offline
newbie
Last seen: 16 years 32 weeks ago
Joined: 2004-02-12
Posts: 6
Points: 0

Site Check Please

Thanks for the comments ! As I am very new to css layouts I wasn't to sure what doctype to use. What should I change it to ?

Thanks again

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 23 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Site Check Please

If you put your URL into the following W3C code validator http://validator.w3.org/ , you'll get feedback on your code, according to the DOCTYPE you've used. Since you've used deprecated tags for table construction (valign tags and such like), you won't be able to use XHTML (Transitional, Strict or 1.1). You can use HTML 4.01 Transitional if you're not willing to change your code right now.

[EDIT]: Actually, all this is a bit theoretical. Though it pains me to say it... since your site seems to be working fine, you'd have to ask whether validation (and ultimately improved accessibility) is important to you or not. The point of utilising CSS was always to remove any styling out of (X)HTML.

The next sentence is true. The previous sentence is false. Discuss...

xcandyman
Offline
newbie
Last seen: 16 years 32 weeks ago
Joined: 2004-02-12
Posts: 6
Points: 0

Site Check Please

Thanks alot I will change that. The reason I didn't use full css for the entire site is that the base code for the gallery created tables for most of the content area and not very clean tables at that and I didn't want to mess around with the sql database which created them in fear it went BOOM!

Thanks

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 23 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Site Check Please

Yes absolutely. You could spend time cleaning it up for XHTML 1.0 Transitional, at a push, but... it's depends on the time you have. And, as you've mentioned, picking apart the HTML generated from PHP/MySQL etc. can be a bit of drag to say the least. Wink

The next sentence is true. The previous sentence is false. Discuss...