This question was sent by Baloot, hope it useful for you too guys. (oh and thanks Baloot)

jack,

how to make some space on picture (on post)??

this is because when i put picture, the text is too near or overlapping with
text post. im using align=’right’ to make picture is float right. but this
picture is overlapping text.

how to fix this?

It’s easy. No matter what template you use, no matter blogging platform you are on, it will works even for blogger / blogspot, wordpress, typepad, anything even on the feed reader.

Many people give their spaces on their images inside a post by setting on their css code. It’s alright, that works too. unfortunately if people read your post via their email or via their feed readers, the spaces would disappear. that is because their email or feed reader don’t read your css.

So what is the right way to give spaces to your images inside a post?

Set the style inside the images tag it’s self.

that is the answer. how to do it? easy, just follow this instruction carefuly.

1. After you insert image into your post, go to the html mode. (view the screenshot below)

edit in html mode

yea, i write this post from internet cafe near my house, my wife won’t let me work on week end, so i sneak around from her, and go to the nearest internet cafe here :D

2. Find your images tag, and insert this codes below inside it.

style=’padding: 0 4px 4px 0; ‘

see example:

before: <img src=”your-image-url-here” alt=”some alt text”/>

after: <img style=’padding: 0 4px 4px 0; ‘ src=”your-image-url-here” alt=”some alt text”/>

3. done. need more steps? sorry, it’s finish :) easy right?

Now the explanation,

Padding will give spaces for anything, like margin but inside the box while margin is outside the box. I really want to give you more lesson about padding and margin, but next time probably, I don’t have much time here, my wife must be looking for me now :D

You can see the codes of the screenshot above to see the real / live example. thanks guys

Have Our Articles Sent To Your Email, Free!

Blogging Related Only:


All Articles:

Readers who viewed this page, also viewed:

  • N/A