View Single Post
  #8 (permalink)  
Old Oct 5th, 2007, 14:22
karinne's Avatar
karinne karinne is offline
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

Alright ... first of all ... Doctype. Change to a Strict doctype. I would link you to a great article by our member MikeHopley but ... it's not online yet (note to self: Get that darn article up already!)

If you have firefox, I suggest you download the HTML Validator extension, you'll be able to see right away the few warning your have about adding units to height in the <img ...> tag.

This whole chunk of code is a bit useless

HTML: Select all
<div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">
I would only have 3 images for that whole thing like this:

This image for your header
branding.jpg

This one, I would apply as the background to your container
container-bg.jpg

and this, your footer
site-info.jpg

You would have to cut them properly as they are not the proper size ... I was merely showing an example.
Reply With Quote