Old 17-02-2005, 05:00   #1 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 4,828
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.
  Reply With Quote
Old 17-02-2005, 05:04   #2 (permalink)
Joewebber
Senior Member
 
Joewebber's Avatar
 
Join Date: Feb 2004
Location: Exeter
Posts: 773
  Reply With Quote
Old 17-02-2005, 05:06   #3 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 4,828
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?
  Reply With Quote
Old 17-02-2005, 05:08   #4 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 4,828
thanks for that link... thats great
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8