Help Needed with HTML code for Image Positioning
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi All,
Need a little help with some code for positioning images.
I initially used the following:
This is fine, but the border automatically puts a black border around the photo - how do I change it to white? Is there a way to set margins too, to prevent the text butting up against the photo?
I also used the following code with success:
<style type="text/css"
img
{
float:right;
border:2px solid white;
margin: 0px 0px 15px 20px
}
</style>
This code works, however the problem with it is it is not individual to just one photo - it moved all my photos and on that page, I wanted one photo floated to left and another to the right.
If I use this code, how can I make it photo specific, so that it only affects the placement, margins and borders of one photo?
Any help would be great.
Thanks
5 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0
- 0
- 0

