Vertical and Horizontal space between images in Firefox

Soldato
Joined
4 Feb 2004
Posts
13,430
Location
Écosse
I'm working on a project just now that on one particular page, renders fine in IE but in Firefox, the images I have in the middle of the screen are sat bang next to each other with no space between them either vertically or horizontally.

Cant work out why, I've used the same thing on other web pages and it's worked fine in FF.

The code is just the basic stuff as below :-

Code:
<img src="images/pissouriicon.jpg" alt="Pissouri Sea View" width="254" height="154" hspace="20" vspace="20" />

Any ideas why the hspace and vspace values make not a jot of difference within FF?.

Ta. :cool:
 
It's possibly because they're deprecated. You should be able to you use padding or margins to get round it.
 
Right, cheers chaps. I'll go try padding/margin instead and see if that helps.

Is hspace/vspace really such old hat type coding?.

I had no idea!!!
 
Back
Top Bottom