Use the following process:
- Create a placeholder element for each line
- Set
float:left; clear:left; overflow:hidden;
and a generic height for every placeholder - Set a specific width for each placeholder
Here is an example:
#holdit em {display:block; float:left; height:18px; overflow:hidden; clear:left;}
.a230 {width:230px;}
.a240 {width:240px;}
.a250 {width:250px;}
.a270 {width:270px;}
.a300 {width:300px;}
.a340 {width:340px;}
.a360 {width:360px;}
.a370 {width:370px;}
.a400 {width:400px;}
.a420 {width:420px;}
.a430 {width:430px;}
.a460 {width:460px;}
.a490 {width:490px;}
.a500 {width:500px;}
.a540 {width:540px;}
.a550 {width:550px;}
References