Forum Moderators: not2easy
Got something of a silly question. I'm sure it's common, but I'd not come across it yet.
I'm trying to set the width of a div in my style.css:
helpbox {
width=300px;
border:1px solid silver;
background-color: #E9EDF7;
padding: 10px;
}
In IE, the div renders at 300px. In Mozilla, it renders at 100% of the screen width. If I set the div width inline via the style="" attribute, it works, but there are a LOT of help boxes in this app, and the idea of doing this individually fills me with horror. It doesn't seem to be a nesting problem...I can duplicate it in a blank page outside my app.
What am I missing?
My thanks,
Chris