...

View Full Version : Margin space between images



jumpink
07-21-2007, 04:14 AM
I would like to have 4px margin in between the images. I have set margin-right 4px but it doesn't seem to work. Any suggestions?
http://precisemessenger.com/private/indexlink.html

_Aerospace_Eng_
07-21-2007, 05:33 AM
You really need to validate your code first. See your errors here (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fprecisemessenger.com%2Fprivate%2Findexlink.html).

rmedek
07-21-2007, 04:46 PM
Images are an inline element, so for margins to work you'll need to add "display:block" to the image's styles.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum