I want three images to be lined up next to each other without using a table.
<img class="leftfloat" src="image.jpg" />
<img class="rightfloat" src="image.jpg" />
<img class="rightfloat" src="image.jpg" />
CSS:
.rightfloat
{
float:right;
}
.leftfloat
{
float:left;
}
=====
The images just line up under each other.
So what am I doing wrong? Is there a simpler way to do this?
<img class="leftfloat" src="image.jpg" />
<img class="rightfloat" src="image.jpg" />
<img class="rightfloat" src="image.jpg" />
CSS:
.rightfloat
{
float:right;
}
.leftfloat
{
float:left;
}
=====
The images just line up under each other.
So what am I doing wrong? Is there a simpler way to do this?