I
Ike
How can I make a div that covers the entire view, and make it all white, or
some other color say? -Ike
some other color say? -Ike
Ike said:How can I make a div that covers the entire view, and make it all white,
or some other color say? -Ike
Ike said:How can I make a div that covers the entire view, and make it all white,
or some other color say? -Ike
<div style="backgroundColor='white'">
note the single quotes around [whtie].
.sample { backgroundColor:white; }
<div class="sample">
message | Quoth the raven named Richard:
|
| > Ike wrote:
| >
| > > How can I make a div that covers the entire view, and make
it all white,
| > > or some other color say? -Ike
| >
| > <div style="backgroundColor='white'">
| >
| > note the single quotes around [whtie].
|
| There is no "backgroundColor" in css. Even if there was, it
would be:
| <div style="backgroundColor: white"> ...
|
| > .sample { backgroundColor:white; }
| >
| > <div class="sample">
|
| The above advice is wrong [as usual].
|
| Ike, in your css:
|
| .sample { color: black; background: white; }
|
| In the HTML:
|
| <div class="sample">
| [other stuff here]
| </div>
|
| Perhaps if you explained a bit more about what you wanted to
do, and
| provided a URL to what you already have?
|
| --
| -bts
| -This space intentionally left blank.
I agree there is no backgroundColor but according to W3C there is
a background-color. I'm getting this from
http://www.w3.org/TR/CSS2/colors.html#background-properties
From what I read, it's part of CSS Level 2.
Am I wrong??
Richard said:Ike said:How can I make a div that covers the entire view, and make it all white,
or some other color say? -Ike
<div style="backgroundColor='white'">
note the single quotes around [whtie].
.sample { backgroundColor:white; }
<div class="sample">
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.