Forum Moderators: not2easy
So, it should look like (and does in ie):
(imagine . as a space and - as a image)
----- This is the
----- description
----- text that
----- goes to the right
________________________----- This is the
----- description
----- text 2 that
----- goes to the right
_________________________----- This is the
----- description
----- text 3 that
----- goes to the right
________________________
However it looks like this in firefox:
----- This is the
----- description
......-----
......-----
......-----
......-----
......-----
----- This is the
----- description
----- text 2 that
----- goes to the right
----- This is the
......description
......text 3 that
......goes to the right
I have the following code:
.boxarea {
width: 159px;
height: auto;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #366261;
padding-top: 5px;
padding-right: 0px;
padding-bottom: 5px;
padding-left: 0px;
}
.boxpic {
height: 60px;
width: 60px;
float: left;
}
.boxtext {
width: 94px;
float: right;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 15px;
font-weight: bold;
}
<div class="rightmenubody">
<div class="boxarea">
<div class="boxpic"><img src="/images/143.jpg" alt="" /></div>
<div class="boxtext">This is some text<br />
And some more</div>
</div>
<div class="boxarea">
<div class="boxpic"><img src="/images/143.jpg" alt="" /></div>
<div class="boxtext">This is some text<br />
And some more</div>
</div>
<div class="boxarea">
<div class="boxpic"><img src="/images/143.jpg" alt="" /></div>
<div class="boxtext">This is some text<br />
And some more</div>
</div>
<div class="more">view more</div>
</div>
.boxarea {
width: 159px;
height: auto;
border-bottom: 1px solid #366261;
padding: 5px 0;
}
br.clear {
clear:both;
font-size:1px;
}
<div class="boxarea">
<div class="boxpic"><img src="/images/143.jpg" alt="" /></div>
<div class="boxtext">This is some text<br />
And some more</div><br class="clear" />
</div>
Many thanks
Most welcome!
Added: span may well be correct here. You may want to try that solution first.