Ok, i made a quick portfolio home page earlier. At the begining i forgot to add a doctype and my page looked fine but when i added a doctype 'height: 100%' does not seem to have any effect so instead of filling the whole screen vertically it just has the space that has content in.
This is what it looks like without a doctype:
[image removed]
This is what it looks like with a doctype:
[image removed]
I have tried all the html and xhtml doctypes: transitional, frameset, and strict.
Edit: Sorry about the image size.
Edit 2: The image is now watermarked so please don't try steal it, lol, not that anyone would but i just read a thread where they did...
the bit that says, 'JOSHUA DAVISON! HANDS OFF!'...thats just the watermark.
EDIT 3:
obviously theres the doctype to add plus you add the xmlns="blah" to the html tag when you add a doctype.
Last edited by Joshy D; 02-24-2008 at 12:20 PM..
|