Posted by Els on 01/23/06 18:03
mcp6453 wrote:
> Here's an easy one. I want a picture flush on the left margin of a page
> with text aligned on the right side of the picture. The code
> align="left" border="0" allows me to do that, but the text is too close
> to the picture. I added hspace="5", but that obviously applies space to
> both sides of the picture. Is there a way to add space to the right side
> only?
Use CSS:
img.foo{
float:left;
margin-right:5px;
}
HTML:
<img class="foo" src="..." alt="..."><p>bla bla bla</p>
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Dr. Feelgood - She Does It Right
Navigation:
[Reply to this message]
|