...

View Full Version : Any way to get FF to show ver and hor space around images?



bigbadroo
02-17-2008, 02:06 AM
Gidday

Any way of doing this apart from in an image editor? IE shows the space fine, but not FF.

Thanks

Shaun

Actinia
02-17-2008, 11:00 AM
This sounds like a consequence of the IE box model error. Are you using padding or margins? Try setting your padding to zero and your margins to (say) 10px:

img {margin: 10px; padding: 0; } What other styling are you using? Please post your code, including any DOCTYPE.

John

Apostropartheid
02-17-2008, 02:28 PM
Or maybe try setting img to display: block?

bigbadroo
02-18-2008, 02:22 PM
Thanks Actinia - that fixed it up!

Shaun



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum