stevet26
Programmer
- Feb 9, 2005
- 53
Hi
I am looking to create a table layout using a list. I have three columns each containing an image and a paragraph of text. However, the paragraph of text varies in size and the list items are then dirrerent heights.
Now you are probably thinking 'So what. Whats the problem with that?' Well, what I am trying to do is have a right border on each list item and then one at the bottom and get them all to line up level at the bottom. But I just cannot do this. Can anyone help?
here is the code I am using.
HTML
Thanking you in advance.
I am looking to create a table layout using a list. I have three columns each containing an image and a paragraph of text. However, the paragraph of text varies in size and the list items are then dirrerent heights.
Now you are probably thinking 'So what. Whats the problem with that?' Well, what I am trying to do is have a right border on each list item and then one at the bottom and get them all to line up level at the bottom. But I just cannot do this. Can anyone help?
here is the code I am using.
Code:
#oUlPictures {
width:765px;
height:29em;
margin:10px 0;
border-bottom:1px solid #ccc;
list-style:none;
}
#oUlPictures li {
width:234px;
height:100%;
float:left;
padding:0 10px;
border-right:1px solid #ccc;
text-align:center;
}
#oUlPictures li p{
margin-left:5px;
margin-right:5px;
}
HTML
Code:
<ul id="oUlPictures">
<li><img src="#" width="200" height="250"><p>Over-volting the lamp by 10% produces a 16% increase in power to give a 5.8 Watt Lamp. The real benefit however is that the brightness of the lamp (measured in Lumens) is increased by a huge 37% </p></li>
<li><img src="#" width="200" height="250"><p>The figures in the graph show the distance from the lamp (m), the diameter of the beam at that distance (m) and the amount of light striking an imaginary surface at that point (lux)</p></li>
<li><img src="#" width="200" height="250"><p><img src="#"width="200" height="50"><br>Length of Lamp Unit 45mm Diameter of Lamp Unit 35mm Weight of Lamp Unit and bracket 72grams</p></li>
</ul>
Thanking you in advance.