1
hanif
Spacing around images
  • 2006/1/6 1:29

  • hanif

  • Just popping in

  • Posts: 37

  • Since: 2004/7/12


Hi,
I love using Xoops, but can anyone tell me if there is a way to have a kind of padding or spacing around images in Xoops-powered sites so that the text on the page does not touch the pictures themselves.

I can put line-breaks, but then in FireFox the lines will break at the wrong point.

Is there a way to edit the CSS or something?

Can anyone help me?

Han

(btw: I made a similar post in the Q & A section, but I think this is where I should have submitted the query)

2
msdana
Re: Spacing around images
  • 2006/1/6 1:51

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Hi there,

In the tag, you can set vspace="1" and hspace="1', substituting the 1 to the spacing of your choice. I don't recommend putting this in a stylesheet, as ALL your images would have this setting.

Hope that helps for you!

Dana
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

3
hanif
Re: Spacing around images
  • 2006/1/6 2:03

  • hanif

  • Just popping in

  • Posts: 37

  • Since: 2004/7/12


Thanks for the help Dana, but I also have a question:

When you say that you don't recommend putting this in a stylesheet, as ALL the images would have this setting, why do you think that this would be bad? Would it not just solve this problem globally to save me from having to repeat the same code in all the images?

Thanks

Han

4
msdana
Re: Spacing around images
  • 2006/1/6 2:10

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


For instance, if you use a forum module, all the images that are used in that module will have this spacing, possibly making for some unneeded gaps. It's your choice. I don't know the amount of space you need (want) your images to have. Feel free to play around, but be sure to backup your stylesheet as a precaution.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

5
Will_H
Re: Spacing around images
  • 2006/1/6 2:30

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


awwww a double post... and completely opposite advice... shame on you double post guy.

Login

Who's Online

327 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 327


more...

Donat-O-Meter

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

Latest GitHub Commits