Forgive me if I seem a bit inexperienced with CSS. I've been trying to style the following...
#element0 {
width: 100%;
height: y;
border: 1px solid black;
}
#elementA {
position: fixed;
float left;
width: x;
height: y;
border: 1px solid black;
}
#elementB {
position: relative;
float: left;
width: x;
height: y;
border-right: 1px solid black;
}
/* HTML */
<div id="element0">Some div...</div>
<div id="elementA">Another div</div>
<div id="elementB">Final div...</div>
For some reason, when I try to position #elementB below #elementA, #elementB ends up on top of #elementA unless I declare its position as either static or absolute. However, this then requires manually setting the top/left properties and doesn't display correctly in all browsers. Any help would be appreciated!
Issue resolved! (had to set html, body:(width: 95%;)) Thanks for all the advice!