1 reply [Last post]
timware
Offline
Regular
Oakland CA
Last seen: 16 years 46 weeks ago
Oakland CA
Joined: 2003-12-01
Posts: 13
Points: 0

Hello,

I've been laboring over sort of portal page for friends & colleagues, and I used it as a laboratory for creating a tableless layout that works on all v5+ browsers (v6+ in NS). I've got it there, but I suspect that my CSS is probably pretty inefficient and occasionally incorrect, even though it works (mainly I'm thinking of the navigation IDs that are re-used on the same page, something I understand is a no-no, although it's created no problems.

Here's the page:

http://www.hyperarts.com/webstuff/index_test.html

Here's the CSS:

http://www.hyperarts.com/webstuff/webstuff_yello.css

Thanks for any criticisms that lead to a better page and a smarter Tim.

Tim

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 hour ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

My CSS: It all works, but is it *correct* and efficient?

Hi timware
You should start by validating your HTML and CSS.
http://validator.w3.org/check?uri=http://www.hyperarts.com/webstuff/index_test.html
http://jigsaw.w3.org/css-validator/validator?uri=http://www.hyperarts.com/webstuff/webstuff_yello.css&warning=1&profile=css2

There are quite a few errors to remove but most of them will be fairly simple like replacing & with &.

Hope that helps