2 replies [Last post]
Anonymous's picture

Hi Everyone,

I have been creating a web site for my university project on web standards see below url:

Anyway i am in the process of testing it at the moment and was wondering if people could take a look and tell me what they think.

Secondly i have recieved some feedback from a general web design list questionning the use of purely CSS. ( http://www.webmaster-forums.net/showthread.php?s=&threadid=20817 )

What are peoples views here about this? should i continue to edit my CSS or incorporate tables to force the basic layout?

Thanks in Advance
Paul Smith
The University of Derby

Tony's picture
Last seen: 2 days 17 hours ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Fully CSS or partial tables

Hi Paul,
I think your doing the right thing. By using CSS for positioning you are attempting to follow the standards which, are aimed at providing better usability for as many visitors as possible.
If you browser can't handle css, the content is still readable which is the main aim.
Here is a link that shows how your site would look in Lynx a text only browser.

Try to get away from absolutely positioned ellements, if you can float everything, on smaller viewers the content should flow down the page instead of forcing content off the side.

A quote from HTML 4.01 Specification which I have used before Wink


Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.

Remember: you can't please all the people all the time. Take in what they say but in the end the final decision is up to you.

Rochester, NY / Chicago, IL
Last seen: 19 years 45 weeks ago
Rochester, NY / Chicago, IL
Joined: 2003-03-23
Posts: 95
Points: 0

click here for print version?

I got an idea for you that is going to change the way your "printed version" works... (unless you already do this lol).

Instead of having ASP generate a printed version for you on a different page, simply generate a new style sheet with media="print". Then, incorporate a style switcher (check out alistapart.com) to automatically switch to that style sheet when you want that page to be able to be printed.

I'm not sure what method you currently use for a "printable" page in ASP, but if you're not using CSS to its full capability, you're missing out on a big part of web standards.