xoops forums

GlaDiaC

Just popping in
Posted on: 2003/11/16 21:49
GlaDiaC
GlaDiaC (Show more)
Just popping in
Posts: 16
Since: 2003/9/21
#1

Missing hspace and vspace opton on images

it would be great, if you could add vspace and hspace option to the images. only the align option isn't usefull.

Shine

Just can't stay away
Posted on: 2003/11/16 23:25
Shine
Shine (Show more)
Just can't stay away
Posts: 822
Since: 2002/7/22
#2

Re: Missing hspace and vspace opton on images

They aren't missing. But aren't being used because these tags are deprecated.

Quote:
The "align", "border", "hspace", and "vspace" attributes of the image element were deprecated in HTML 4.01.

The "align", "border", "hspace", and "vspace" attributes of the image element are not supported in XHTML 1.0 Strict DTD

Source: http://www.w3schools.com/tags/tag_img.asp


Grtz., Shine

pompa

Just popping in
Posted on: 2003/11/26 16:35
pompa
pompa (Show more)
Just popping in
Posts: 5
Since: 2003/11/13
#3

Re: Missing hspace and vspace opton on images

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

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