loserWILL
18-12-2007, 02:29 AM
Well, I haven't coded in who knows how long. Basically, I'm coding a layout for a new script I'm creating.
It's all going well, but then this happens. :l Instead of the DIVs (for the content box) each going under each other, they go in a line sideways.
Here's the CSS for the navigation boxes:
#ntop {
background-image: url(images/navtop.gif);
width: 197px;
height: 40px;
float: left;
margin-top: 20px;
}
#nmid {
background-image: url(images/navmid.gif);
width: 197px;
float: left;
}
#nbot {
background-image: url(images/navbot.gif);
width: 197px;
height: 10px;
float: left;
}
Here's how I have the DIV HTML code in my body:
<div id="ntop"></div>
<div id="nmid"></div>
<div id="nbot"></div>
Moved by Agesilaus (Forum Moderator) from Design and Development: Please post in the correct forum.
It's all going well, but then this happens. :l Instead of the DIVs (for the content box) each going under each other, they go in a line sideways.
Here's the CSS for the navigation boxes:
#ntop {
background-image: url(images/navtop.gif);
width: 197px;
height: 40px;
float: left;
margin-top: 20px;
}
#nmid {
background-image: url(images/navmid.gif);
width: 197px;
float: left;
}
#nbot {
background-image: url(images/navbot.gif);
width: 197px;
height: 10px;
float: left;
}
Here's how I have the DIV HTML code in my body:
<div id="ntop"></div>
<div id="nmid"></div>
<div id="nbot"></div>
Moved by Agesilaus (Forum Moderator) from Design and Development: Please post in the correct forum.