English 384:PQ - Writing for Electronic Media (Spring 2008)


Michael J. Cripps, Ph.D.

Webpage Templates in Common Layouts (valid XHTML & CSS)

Subscribe to the Course RSS Feed! rss feed.

Well-formed HTML document structure and contemporary webpage layouts are difficult for even veteran web developers to write from scratch. Dreamweaver has a wealth of layout templates to help the novice get started, but they are somewhat difficult to interpret. Moreover, the names for the layout elements invite the novice web author to develop bad practices.

I have taken the liberty of writing some templates for you to use. Feel free to grab these files and play with them. Following the ethos of the coding community, I ask only that you acknowledge me as the author of the originals. This kind of credit is typically handled with a "comment" in the HTML and/or CSS file. It is invisible to the webpage viewer, while it resides behind the scenes in the code.

You won't hurt my feelings if you don't like my templates. The internet is full of wonderful alternative templates freely available for download. I thought of simply pointing students to these resources, but most (if not all) of them were more complicated than mine and require a significant working knowledge of both HTML and CSS. A lot of them use presentational language to name the key structural elements, a bad coding practice. Talk to me if you want some help finding the good stuff out there.

The Templates

Can you really make these templates look decent? Yes! Here's a sample.

Instructions

  1. Pick a layout and save the .html and .css files to your computer
  2. Open them up in Dreamweaver CS3 (or in textwrangler/notepad)
  3. Start writin' and stylin' (keep your "content" in the HTML file and your "presentation" in the CSS)

Major Structural Elements

Don't let these files scare you because they're just not that complicated. There are basically 4 "page elements" to look for. Those elements are all packaged in a fifth element called CONTAINER.

Additional Styled Elements

This set of barebones elements is meant as a mere starting point. I hope you'll be creative. Let your imagination for your website, not the starting point in these basic templates, drive what you learn to do with HTML and CSS.

Lost? Here's something I did with a "design" based on the Two column, Left Nav (Liquid Layout) template.

Don't like the look? Restyle!
Wikiwiki | Escher | Cloisonne | The Blues | Negative | Skinless

cripps@york.cuny.edu  |  ac-2a02 |  718.262.2496  | tues/thurs after class