Horizontal Spacing

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

Re: Horizontal Spacing

mcp6453 wrote:

Quoted text here. Click to load it

Use CSS:
<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

Re: Horizontal Spacing

Els wrote:
Quoted text here. Click to load it

I don't have access to the css file. Can I use inline css? The site is a
blog that accepts HTML.

Re: Horizontal Spacing

Deciding to do something for the good of humanity, mcp6453

Quoted text here. Click to load it

I don't see why not.

<img style="float:left; width:100px; margin-right:5px;" src="..."
alt="..."><p>bla bla bla</p>

Replace the width above with the actual width of the image.

Mark Parnell
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply /

Re: Horizontal Spacing

Mark Parnell wrote:
Quoted text here. Click to load it

It works perfectly. Thanks!

Site Timeline