mahjar
2004-12-15, 20:08
Hej.
Har lagt en bild så ni kan se vad som är fel.
Problemet är att right_side_bar hamnar under
content i FF men det ska inte vara så.
I IE ser det bra ut. Om ni behöver mer koder eller nåt så säg till.
#webpage {
width: 760px;
margin: 20px auto;
background-image: url(m_bg.jpg);
background-repeat: repeat-y;
background-position: center;
}
#webpage_top {
height: 26px;
background: url(m_top.jpg) no-repeat top center;
}
#webpage_bottom {
clear: both;
height: 26px;
background: url(m_bottom.jpg) no-repeat bottom center;
}
#webpage_content {
margin: 0 8px 0 30px;
}
#content {
width: 530px;
float: left;
}
#right_side_bar {
width: 150px;
float: left;
}
<div id="webpage">
<div id="webpage_top"></div>
<div id="webpage_content">
<div id="content">
Innehåll</div>
<div id="right_side_bar">
<p>Meny</p>
</div>
</div>
<div id="webpage_bottom"></div>
</div>
Har lagt en bild så ni kan se vad som är fel.
Problemet är att right_side_bar hamnar under
content i FF men det ska inte vara så.
I IE ser det bra ut. Om ni behöver mer koder eller nåt så säg till.
#webpage {
width: 760px;
margin: 20px auto;
background-image: url(m_bg.jpg);
background-repeat: repeat-y;
background-position: center;
}
#webpage_top {
height: 26px;
background: url(m_top.jpg) no-repeat top center;
}
#webpage_bottom {
clear: both;
height: 26px;
background: url(m_bottom.jpg) no-repeat bottom center;
}
#webpage_content {
margin: 0 8px 0 30px;
}
#content {
width: 530px;
float: left;
}
#right_side_bar {
width: 150px;
float: left;
}
<div id="webpage">
<div id="webpage_top"></div>
<div id="webpage_content">
<div id="content">
Innehåll</div>
<div id="right_side_bar">
<p>Meny</p>
</div>
</div>
<div id="webpage_bottom"></div>
</div>