By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

Getting a DIV to cover the whole HTML page, not just the browserscreen?

P: n/a
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?

Jun 27 '08 #1
Share this Question
Share on Google+
27 Replies


P: n/a
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?
Simploy so _not_ define the div's height.
Its height will then be _auto_.

--
Gus

Jun 27 '08 #2

P: n/a
Gus Richter 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?

Simploy so _not_ define the div's height.
Its height will then be _auto_.
Sorry, it should read:

Simply do _not_ define the div's height.
Its height will then be _auto_.

--
Gus
Note to self: Do not take more than prescribed!

Jun 27 '08 #3

P: n/a
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.
Jun 27 '08 #4

P: n/a
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
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.
Sort of, but not in my Opera 9.24

* {margin: 0; padding: 0;}
div {
height: 100%;
border: 4px solid red;
}
<div>
<p>Content</p>
</div>

Also, I just mention, the vertical scrollbar comes up no matter the size
of the browser window unless you go down to about 99% for height for
many browsers.

--
dorayme
Jun 27 '08 #5

P: n/a
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

Jun 27 '08 #6

P: n/a
dorayme wrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
>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.

Sort of, but not in my Opera 9.24

* {margin: 0; padding: 0;}
div {
height: 100%;
border: 4px solid red;
}
<div>
<p>Content</p>
</div>
I'm misunderstanding. Are you giving this as an (erroneous) example of
doing it as I suggested but that won't work in Opera? Or are you saying
the 100% in your example is required *despite* what I said for the
requested result to occur in Opera?
Also, I just mention, the vertical scrollbar comes up no matter the size
of the browser window unless you go down to about 99% for height for
many browsers.
Jun 27 '08 #7

P: n/a
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.
Jun 27 '08 #8

P: n/a
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

Jun 27 '08 #9

P: n/a
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
dorayme wrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
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.
Sort of, but not in my Opera 9.24

* {margin: 0; padding: 0;}
div {
height: 100%;
border: 4px solid red;
}
<div>
<p>Content</p>
</div>

I'm misunderstanding. Are you giving this as an (erroneous) example of
doing it as I suggested but that won't work in Opera? Or are you saying
the 100% in your example is required *despite* what I said for the
requested result to occur in Opera?
Sorry. I was looking at it and must have thought, no, your suggestion is
straight out untrue for all browsers

* {margin: 0; padding: 0;}
html {border: 4px solid;}
div {border: 4px solid red;}

<div>This is not dummy for the content. This is it!</div>

and so I turned to fiddling. Noticed the 100% height having a big effect
in many browsers but none at all in my Opera. And forgot your original
remark...

Perhaps you simply meant that if a page has lots of content? I am now
thinking or realising this is what you meant. But correct me if need be.
Also, I just mention, the vertical scrollbar comes up no matter the size
of the browser window unless you go down to about 99% for height for
many browsers.
Any thoughts on this?

--
dorayme
Jun 27 '08 #10

P: n/a
Harlan Messinger wrote:
Blinky the Shark wrote:
>>Steve wrote:

I want the DIV to
cover the whole HTML page, but it only covers the browser screen.

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.
Sounds to me like the old 100% height of viewport or the document,
whichever is longer. Not like we haven't heard that one a million times.
Without a URL, it's all a guess, though.

--
Berg
Jun 27 '08 #11

P: n/a
dorayme wrote:
In article <66*************@mid.individual.net>, Harlan Messinger
<hm*******************@comcast.netwrote:
>dorayme wrote:
>>In article <66*************@mid.individual.net>, Harlan Messinger
<hm*******************@comcast.netwrote:

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.
Sort of, but not in my Opera 9.24

* {margin: 0; padding: 0;} div { height: 100%; border: 4px solid
red; } <div<p>Content</p</div>
I'm misunderstanding. Are you giving this as an (erroneous) example
of doing it as I suggested but that won't work in Opera? Or are
you saying the 100% in your example is required *despite* what I
said for the requested result to occur in Opera?

Sorry. I was looking at it and must have thought, no, your suggestion
is straight out untrue for all browsers

* {margin: 0; padding: 0;} html {border: 4px solid;} div {border: 4px
solid red;}

<div>This is not dummy for the content. This is it!</div>

and so I turned to fiddling. Noticed the 100% height having a big
effect in many browsers but none at all in my Opera. And forgot your
original remark...

Perhaps you simply meant that if a page has lots of content? I am
now thinking or realising this is what you meant. But correct me if
need be.
Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height. But
that should be obvious, so I'm thinking the OP means something else, but
I can't figure out what, and as someone else observed, the OP appears to
be a hit-and-run anyway, so why am I wasting time on this when there are
flowers to pick and cows to tip and tourists to mislead?
>
>>Also, I just mention, the vertical scrollbar comes up no matter
the size of the browser window unless you go down to about 99%
for height for many browsers.

Any thoughts on this?
If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?
Jun 27 '08 #12

P: n/a
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?
The issue I thought a worthy curiosity was about browsers thinking the
page was higher than the screen when the code seems to suggest
otherwise. I have snipped all quoting because nothing seems to convey
the sense of our exchange.

* {margin: 0; padding: 0;}
html {border: 4px solid;}
div {border: 4px solid red;height: 100%}

<div>This is not dummy for the content. This is it!</div>

does not look like a page that is higher than any screen I know.

--
dorayme
Jun 27 '08 #13

P: n/a
dorayme wrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
>If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?

The issue I thought a worthy curiosity was about browsers thinking the
page was higher than the screen when the code seems to suggest
otherwise. I have snipped all quoting because nothing seems to convey
the sense of our exchange.

* {margin: 0; padding: 0;}
html {border: 4px solid;}
div {border: 4px solid red;height: 100%}

<div>This is not dummy for the content. This is it!</div>

does not look like a page that is higher than any screen I know.
I confess I wasn't really examining that particular example because I
was concentrating on the fact that it was off the trail from what I (and
I thought we) were trying to deal with for the OP's sake. Sorry. Anyway,
if you leave out the height: 100%, what happens? And what happens with
the height: 100%? And height: 99%? I'm imagining that the full height of
the whole thing has to be the DIV's height plus the height of the
borders, so more than 100%.
Jun 27 '08 #14

P: n/a
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
dorayme wrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?
The issue I thought a worthy curiosity was about browsers thinking the
page was higher than the screen when the code seems to suggest
otherwise.
I confess I wasn't really examining that particular example because I
was concentrating on the fact that it was off the trail from what I (and
I thought we) were trying to deal with for the OP's sake. Sorry. Anyway,
if you leave out the height: 100%, what happens?
Nothing interesting.
And what happens with
the height: 100%? I'm imagining that the full height of
the whole thing has to be the DIV's height plus the height of the
borders, so more than 100%.
It's ok Harlan.

I will raise some matters about this at another time. There are just
some puzzles I am having in my deep investigations into Root theory and
it may be dangerous to raise them now. Timing is everything when I have
a case on. You don't see Miss Marple or Monsieur Poirot blurting out
things at the wrong time.

What I can say, running a small but controllable risk, is this:

The HTML element is to be viewed with suspicion. It started off as a
sort of Sidereal April Fool's joke but got taken up by earthlings for
serious purposes, its origins playing up now and again and pulling Body
into its crazy gambits. These two elements have a nasty side to them
which will be fully revealed in my forthcoming book, Clockwork Elements.
A bit like the characters in a film of similar name, who dress up in
clownish attire...

(Anyone who wants to book advance copies, please send $US10)

--
dorayme
Jun 27 '08 #15

P: n/a
On 2008-04-18, dorayme <do************@optusnet.com.auwrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
>If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?

The issue I thought a worthy curiosity was about browsers thinking the
page was higher than the screen when the code seems to suggest
otherwise. I have snipped all quoting because nothing seems to convey
the sense of our exchange.

* {margin: 0; padding: 0;}
html {border: 4px solid;}
div {border: 4px solid red;height: 100%}

<div>This is not dummy for the content. This is it!</div>

does not look like a page that is higher than any screen I know.
As Harlan said there the div's content area is 100% the height of the
html's content area. So its borders take it 8px over and so you will get
8px of vertical scroll.

I don't think there's any special root element skulduggery going on in
this example.
Jun 27 '08 #16

P: n/a
In article <sl*********************@bowser.marioworld>,
Ben C <sp******@spam.eggswrote:
On 2008-04-18, dorayme <do************@optusnet.com.auwrote:
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
If the page is higher than the screen, um, isn't the vertical scrollbar
a good thing?
The issue I thought a worthy curiosity was about browsers thinking the
page was higher than the screen when the code seems to suggest
otherwise. I have snipped all quoting because nothing seems to convey
the sense of our exchange.

* {margin: 0; padding: 0;}
html {border: 4px solid;}
div {border: 4px solid red;height: 100%}

<div>This is not dummy for the content. This is it!</div>

does not look like a page that is higher than any screen I know.

As Harlan said there the div's content area is 100% the height of the
html's content area. So its borders take it 8px over and so you will get
8px of vertical scroll.

I don't think there's any special root element skulduggery going on in
this example.
One one level, I agree and will not dispute Harlan or you. However there
is another interesting question to do with what we might expect to be
rational relations between two shady characters, The HTML element and
The Viewport - egged on by The Canvas, in my opinion, but this is harder
to prove.

Perhaps I better not comment further on this very unsettling matter for
now. But rest assured, Ben, I will one day, when I can demonstrate to
the masses of long suffering authors, the punters, the aggrieved, the
people, that *make* the web, that they have been taken for a bit of a
ride in the selfish interests of two or three over-protected
individuals.

My agency has these individuals in its sight. The HTML element is easy
to track, the viewport is a bit of a chameleon, the Canvas mostly hides
in its infinity but I have developed techniques borrowed from planetary
astronomy, to tease some of its secrets out.

Let us leave this for now so that I can get on with my mysterious work.

--
dorayme
Jun 27 '08 #17

P: n/a
dorayme wrote:
The HTML element is to be viewed with suspicion. It started off as a
sort of Sidereal April Fool's joke but got taken up by earthlings for
serious purposes, its origins playing up now and again and pulling Body
into its crazy gambits. These two elements have a nasty side to them
which will be fully revealed in my forthcoming book, Clockwork Elements.
A bit like the characters in a film of similar name, who dress up in
clownish attire...
By all means, set display: block for your HEAD subelements. In Firefox
they'll actually show up.
(Anyone who wants to book advance copies, please send $US10)
Why would anyone want USD these days? The AUD is worth almost a USD now!
Jun 27 '08 #18

P: n/a
On Apr 17, 8:51 pm, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height.
I'm the original poster. The DIV that I want to cover the whole HTML
page instead of just the browser screen does NOT encircle the entire
HTML page. It is an empty div at the bottom:

<div id = "lightboxBackground"></div>

How would I get that to cover the whole page, without javascript and
just CSS? I got the effect I want, but I would love to be able to do
it with just CSS and in the same way for FF, IE, Safari & Opera

Jun 27 '08 #19

P: n/a
On Apr 18, 4:14 pm, Steve <tinker...@gmail.comwrote:
On Apr 17, 8:51 pm, Harlan Messinger

<hmessinger.removet...@comcast.netwrote:
Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height.

I'm the original poster. The DIV that I want to cover the whole HTML
page instead of just the browser screen does NOT encircle the entire
HTML page. It is an empty div at the bottom:

<div id = "lightboxBackground"></div>

How would I get that to cover the whole page, without javascript and
just CSS? I got the effect I want, but I would love to be able to do
it with just CSS and in the same way for FF, IE, Safari & Opera
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.

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
Jun 27 '08 #20

P: n/a
Steve wrote:
On Apr 18, 4:14 pm, Steve <tinker...@gmail.comwrote:
>On Apr 17, 8:51 pm, Harlan Messinger

<hmessinger.removet...@comcast.netwrote:
>>Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height.
I'm the original poster. The DIV that I want to cover the whole HTML
page instead of just the browser screen does NOT encircle the entire
HTML page. It is an empty div at the bottom:

<div id = "lightboxBackground"></div>

How would I get that to cover the whole page, without javascript and
just CSS? I got the effect I want, but I would love to be able to do
it with just CSS and in the same way for FF, IE, Safari & Opera

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.
Jun 27 '08 #21

P: n/a
On 2008-04-18, Steve <ti*******@gmail.comwrote:
On Apr 17, 8:51 pm, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
>Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height.

I'm the original poster. The DIV that I want to cover the whole HTML
page instead of just the browser screen does NOT encircle the entire
HTML page. It is an empty div at the bottom:

<div id = "lightboxBackground"></div>

How would I get that to cover the whole page, without javascript and
just CSS? I got the effect I want, but I would love to be able to do
it with just CSS and in the same way for FF, IE, Safari & Opera
#lightboxBackground
{
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
}
Jun 27 '08 #22

P: n/a
On 2008-04-18, Harlan Messinger <hm*******************@comcast.netwrote:
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.
Jun 27 '08 #23

P: n/a
On Apr 18, 4:56 pm, Ben C <spams...@spam.eggswrote:
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.
Yes!

Jun 27 '08 #24

P: n/a
On Apr 18, 4:53 pm, Ben C <spams...@spam.eggswrote:
On 2008-04-18, Steve <tinker...@gmail.comwrote:
On Apr 17, 8:51 pm, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
Breathe, have some coffee, then refer to the OP. The core of his
question: "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." Assuming the <divand </divencircle the entire contents of
the body, the way to have the DIV "cover" the whole HTML page, in the
sense I understand "cover" to have", is NOT to set the DIV's height.
I'm the original poster. The DIV that I want to cover the whole HTML
page instead of just the browser screen does NOT encircle the entire
HTML page. It is an empty div at the bottom:
<div id = "lightboxBackground"></div>
How would I get that to cover the whole page, without javascript and
just CSS? I got the effect I want, but I would love to be able to do
it with just CSS and in the same way for FF, IE, Safari & Opera

#lightboxBackground
{
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;

}
What about setting the height and the width?
Jun 27 '08 #25

P: n/a
On 2008-04-18, Steve <ti*******@gmail.comwrote:
[...]
>#lightboxBackground
{
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;

}

What about setting the height and the width?
No need if you set all four of top, right, bottom and left. This way is
better because you don't have to worry about whether percentages can be
resolved and because top/right/bottom/left take you all the way to the
padding edge.
Jun 27 '08 #26

P: n/a
In article <66*************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
dorayme wrote:
The HTML element is ...

By all means, set display: block for your HEAD subelements. In Firefox
they'll actually show up.
Not, it seems on my Mac FF (2.0.0.14. As far as I understand you. But I
am intrigued).

(Anyone who wants to book advance copies, please send $US10)

Why would anyone want USD these days? The AUD is worth almost a USD now!
I was not meaning to imply I wanted this. My experience in these matters
is that the American people are fabulously open and generous when it
comes to anything E.T. and I honour them by using their currency. Also,
it makes it *clear* what a pathetic amount I am asking for, this in
itself generates sympathy (it is not cheap putting tails on The Canvas,
HTML, BODY, my operatives cost me plenty and their equipment is
extremely high tech, the HTML camera alone takes up half my annual
budget).

--
dorayme
Jun 27 '08 #27

P: n/a
I have the same problem that Steve has.
I wanna do a box that appears over the whole site. (That is easy.)
The sorrounding should be a trasparent black. (A div actually.)
I solved the transparency and Ben C's example works under Firefox:
> position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
but under IE6 it doesn't work for me.
I don't wanna use javascript because of this.
I guess pure css should be enough here.

These things don't solve anything:
width: 100%;
height: 100%;

Any ideas how to do it in IE??
Jun 27 '08 #28

This discussion thread is closed

Replies have been disabled for this discussion.