1
ogimatik
Where have to type the "hspace" of an image from the Image Manager ...
  • 2003/10/6 13:22

  • ogimatik

  • Just popping in

  • Posts: 31

  • Since: 2003/10/6


... which appears inside any text. Normally the pic has no distance to the text and that looks pretty shitty ;) So, where do i have to type this parameter?

maks

2
ackbarr
Re: Where have to type the "hspace" of an image from the Image Manager ...

hspace is a depreciated property from HTML 4.0 that no longer exists in xhtml. However, you can control this in your theme's stylesheet using the margin property. How about this:
/* Adds a 5px margin to left and right sides of every img tag within an element with the class "outer" */
.outer img {margin:0 5px 0 5px;}


3
DobePhat
Re: Where have to type the "hspace" of an image from the Image Manager ...
  • 2003/10/6 14:20

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Another option is to add about 5-10px (transparent) on your image if you are using an image editing program. Adding a ouple of transparent space (increasing canvas sie for istance) will give you the same effect and will not really increase the overall size of the file. That was an option I've done.

4
pompa
Re: Where have to type the "hspace" of an image from the Image Manager ...
  • 2003/11/26 16:33

  • pompa

  • Just popping in

  • Posts: 5

  • Since: 2003/11/13


in your theme's stylesheet
(style.css)
add this script:

img
{
margin:0 5px 0 5px;
}


Login

Who's Online

722 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 722


more...

Donat-O-Meter

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

Latest GitHub Commits