|
Prev: An IE/Float problem
Next: Getting a DIV to cover the whole HTML page, not just the browserscreen?
From: Blinky the Shark on 16 Apr 2008 19:37 Harlan Messinger wrote: > Steve wrote: >> My apologies if this is a duplicate post, I can't find the earlier >> version of my question. >> >> I have a DIV that uses a CSS class defined at the thtop of an HTML page. >> The height and width of the class are set to 100%. I want the DIV to >> cover the whole HTML page, but it only covers the browser screen. How >> can I make it cover the whole HTML page? >> >> > If this DIV sits directly inside the BODY and everything else sits inside > it, it WILL cover the whole HTML page, without you needing to set the > height at all. I'm not even sure what's meant by "it only covers the browser screen". -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org Blinky: http://blinkynet.net
From: Blinky the Shark on 17 Apr 2008 15:19 Harlan Messinger wrote: > Blinky the Shark wrote: >> Harlan Messinger wrote: >> >>> Steve wrote: >>>> My apologies if this is a duplicate post, I can't find the earlier >>>> version of my question. >>>> >>>> I have a DIV that uses a CSS class defined at the thtop of an HTML >>>> page. >>>> The height and width of the class are set to 100%. I want the DIV >>>> to >>>> cover the whole HTML page, but it only covers the browser screen. How >>>> can I make it cover the whole HTML page? >>>> >>>> >>> If this DIV sits directly inside the BODY and everything else sits >>> inside it, it WILL cover the whole HTML page, without you needing to >>> set the height at all. >> >> I'm not even sure what's meant by "it only covers the browser screen". >> >> >> > The only thing I could imagine is that he's trying to surround the > contents with a border or background. But in that case he could just apply > the styles to the BODY. Starting to look like a drive-by, anyway. We'll probably never know. -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org Blinky: http://blinkynet.net
From: Ben C on 18 Apr 2008 16:56 On 2008-04-18, Harlan Messinger <hmessinger.removethis(a)comcast.net> wrote: > Steve wrote: [...] >> Oh. I'm using the div as an overlay rather then changing the style of >> the body because I like how the div blocks access to the page. > > Huh? How does an empty DIV at the bottom of the page block access to the > page? > >> I am using this div as an "underlay" to a "pop in box", a div that is >> made visible to display a message, like a pop in box > > Sorry, I have no idea what you mean by "pop in box" or what an underlay > to such a box would be. I think he means the whole page with all its contents is made to sort of disappear by covering it with a div. On top of the div is a message. The reader's attention is drawn to the message by the fact that everything else has suddenly disappeared.
|
Pages: 1 Prev: An IE/Float problem Next: Getting a DIV to cover the whole HTML page, not just the browserscreen? |