Last one for tonight…..
I am using a class so I can store an image and it’s caption within a bordered area:
[CODE].photobox {
text-align: center;
font-style: italic;
background-color: #FFFFFF;
font-size: 80%;
border: 1px solid #000000;
padding: 1;
}
Its usage is as such:
[CODE]<div class=”photobox”>
<a href=”image_source.jpg” target=”_blank”>
<img src=”thumbnail.jpg” />
<br />
Image caption
</div>
My problem is that the width of the box is stretching. For example i have an image that is 125 px wide held in a column that is 150 px wide. When I use the photobox class on the image, the box is stetching to fill the whole column, leaving a lot of white space to the sides of the image, which I do not want. I cannot specify a width, as different sized images will be used.
Am I missing an instruction somewhere? This did work, but then stopped, seemingly of its own accord.