1
knotty
Image and text padding
  • 2006/7/2 18:59

  • knotty

  • Just popping in

  • Posts: 42

  • Since: 2006/6/1 1


I have a custom block with one left aligned image. Wondering how to put a little padding between the image and text.

Right now, the text is touching the edge of image.

Thanks..knotty

2
martyboy
Re: Image and text padding
  • 2006/7/2 19:14

  • martyboy

  • Quite a regular

  • Posts: 256

  • Since: 2004/5/25


Use HTML code

<img src="http://www.yoursite.com/yourimage.jpg" align="left" vspace="0" hspace="5">


The hspace="5" parameter will give the text 5 pixels padding from the image.

Dont forget to change your block type to HTML.
Michael Jackson = King Of Pop

Xoops = King Of CMS

3
tcnet
Re: Image and text padding
  • 2006/7/2 19:25

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You could write and save the custom block as an html file.

Something like this should work:

whatever

or

whatever

4
knotty
Re: Image and text padding
  • 2006/7/2 19:37

  • knotty

  • Just popping in

  • Posts: 42

  • Since: 2006/6/1 1


Thanks a lot guys, that works great. I forgot to set the custom block to html.

knotty

Login

Who's Online

507 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 507


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits