PDA

View Full Version : Hspace & Vspace


scan
07-11-2007, 11:25 AM
Hi All,

Just a quickie.....

Is using HSpace & VSpace a valid way of spacing images? Or is it a bit messy and should be avoided?

Thanks
scan

domedia
07-11-2007, 01:39 PM
If I remember right, they were adviced not to be used from HTML 4.0, which makes it 10 years ago 8)

Just use margin in CSS, which gives you way more control anyways, and is web standards.

scan
07-11-2007, 01:53 PM
If I remember right, they were adviced not to be used from HTML 4.0, which makes it 10 years ago 8)


Thanks for that CSS seems to be the best way thanks.

domedia
07-11-2007, 01:56 PM
Are you aligning your image as well? Margin works best on block elements, but block elements will take all available width unless floated.

Do you have some part of your code I could look at, I could maybe show you how it's done?