| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Sir digby chicken caesar
Join Date: Sep 2004
Posts: 4,827
|
HTML 4.01 and vertical alignment.
Ahh standards, I love em. check out this site; http://www.ochdesign.com/flash/ochflash.html How on earth do I achieve the vertically centered widescreen look whilst still using W3C standards AND css divs? So far I have come to the conclusion that its not possible, and that I would need to use a table and an older HTML doctype declaraton? Perhaps I'm just being thick. |
|
|
|
|
|
#3 (permalink) |
|
Sir digby chicken caesar
Join Date: Sep 2004
Posts: 4,827
|
I should point out that site isn't mine, I'm just using that as an example. Another thing I just remembered on the same theme; If I use the current DTD for HTML 4.01; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> It won't allow backgrounds to tile vertically down the whole page in divs set to 100%, only as far as the content (in IE anyway) However, if I edit the DTD and remove the link, so that it looks like an older HTML DTD, like this; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> It still validates as HTML 4.01 AND it allows the backgrounds to tile down the whole screen... is this naughty? Does anyone even feckin care? |
|
![]() |