PDA

View Full Version : Gap between image and text


kriskros
Jul-26-2008, 03:49 AM
http://farm4.static.flickr.com/3069/2702890443_afe91cebec_o.jpg (http://www.kriskrosphotography.com/gallery/5534712_LHnJn#338950776_pr23c)

How can I have a gap or a space between the image and the text?

Here's my code:
<html>
<body>
<p><img src="/photos/338972983_NdNd7-S.jpg" width="200" align="left">
Moritz Kloft is one of my featured artists. He is 21 years of age and living in Darmstadt near Frankfurt in Germany.<br><br>

He is planning to take up computer science next year. He is busy preparing for the university entrance examination.<br><br>
......</p>
</body>
</html>


Thanks for the help.

Allen
Jul-26-2008, 04:43 AM
How can I have a gap or a space between the image and the text?

Here's my code:
...

Thanks for the help.
Add this to CSS and play with padding.

.gallery_5534712 #albumDescription img {
padding-right: 20px;
}

kriskros
Jul-26-2008, 09:13 AM
Add this to CSS and play with padding.

.gallery_5534712 #albumDescription img {
padding-right: 20px;
}

Thanks Allen. Works perfectly.