Web-centric Computing

Some Example Code

Text Buttons made with CSS

Questions Related to The Screen Shots

Q: Which one of the screen shots is the correct presentation?
A: Netscape 4, Konqueror, and WebTV are very different from what the author intended. Although some of the presentations are more like what the author intended, there is no single correct presentation because on the WWW authors cannot always know what software their webpages will be viewed with.
Q: What can WWW authors do to make their webpages appear more like they intended?
A: In computer science we are often more concerned with the content of the message and not the presentation. We don't want the presentation to be ugly or confusing but we usually care much more about the content. If the format of the presentation is very important then there are a few things we can do, including:
  1. realizing that not everyone will be able to view our content the way we want them too (for instance: people viewing the web on cell phones and non-human search engines) we concentrate on markup that should be presented in a reasonable manner even if the presentation details cannot be rendered.
  2. hope that users of browsers that do mangle CSS will deactivate the CSS use in those browsers.
  3. use CSS (or JavaScript, or both) to inform readers of the Browser Upgrade Campaign of The Web Standards Project with the hope that people will stop using those browsers.

http://www.cs.dal.ca/~jamie/course/CS/3172/examples/CSS/buttons/questions.html
Version:
31 October 2002
CS 3172 Prof.:
J. Blustein <jamie@cs.dal.ca>

This document is written in valid XHTML 1.0 & This document makes use of cascading style sheets.