
February 14th, 2001, 12:17 PM
|
|
Contributing User
|
|
Join Date: Feb 2001
Location: Vancouver, WA
Posts: 49
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
Hi Kelsey,
I have a couple solutions, and no good explanation for why they work.
Solution #1:
add a height definition to your style definition for .box1:
Code:
.box1 {
BACKGROUND-COLOR: #d8d8d8;
BACKGROUND-IMAGE: url(black2x2.gif);
BACKGROUND-REPEAT: repeat-x;
height:10px;
}
Believe it or not, it doesn't appear to matter what you set the height to!
This appears to tell the div that it should wake up and at least start thinking about height.
Solution #2:
remove the outer Div (where you set the width to 250px) and set the width:250px in .box1 again.
Now... do you want to start to think about Netscape 4.x? Because this does not work for NS 4.
|