Toby Inkster wrote:
Jack wrote:
http://www.jackpot.uk.net/tests/chat.html
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Strict//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
??
The XML declaration throws IE6 into quirks mode, which (AFAIK) is the
only mode in which you can get to set the height of a <div> to the
height of the window short of using Javascript. It's ignored by other
browsers, which duly render in standards mode.
Like I said, it works. Perhaps I should have added: "...after a fashion".
Hey, I'm no CSS expert; I'm here to learn. If there are better ways of
doing this, I'd love to see how. I just spent 20 minutes or so trying to
solve the OP's question, partly as an exercise for myself; I put up the
results to show it was possible, which the OP seemed to believe it was not.
--
Jack.