invision
03-25-2008, 12:39 AM
Hi,
I have a wrapper and some code like this:
<div id="mainlist">
<div style="float:left;">
this column will be on the left hand side
this contains a big list of words
</div>
<div style="float:right;">
and this one on the right
this also contains a big list of words
</div>
</div>
but unfortunately it doesn't work.
Here's the only CSS I'm using for this portion:
#mainlist p {
font-size:1.1em;
color:#000;
}
#mainlist {
background:#E7EFB7;
padding:23px;
}
Any clues?
It basically seems to reduce my mainlist element to like 3px high
I have a wrapper and some code like this:
<div id="mainlist">
<div style="float:left;">
this column will be on the left hand side
this contains a big list of words
</div>
<div style="float:right;">
and this one on the right
this also contains a big list of words
</div>
</div>
but unfortunately it doesn't work.
Here's the only CSS I'm using for this portion:
#mainlist p {
font-size:1.1em;
color:#000;
}
#mainlist {
background:#E7EFB7;
padding:23px;
}
Any clues?
It basically seems to reduce my mainlist element to like 3px high