• Trying to add space between img’s, hspace=”” normally worked, but doesn’t seem to be showing in all browsers (FF especially). Is there a replacement? I have 4 img’s in a row <img src=”” alt=”” hspace=”” />

Viewing 2 replies - 1 through 2 (of 2 total)
  • CSS is definately the way to go. You can give all images a 5 pixel margin like so:

    img{ margin: 5px; }

    You can also give the images a different margin on the top and bottom than on the left and right:

    img { margin 3px 10px; }

    That will give you a 3 pixel top and bottom margin, and 10 pixels on the left and right. You can also apply these as a style attribute for the image:

    <img src=”” style=”margin: 3px 10px;” … />

    [signature moderated Please read the Forum Rules]

    Thread Starter terrace_29

    (@terrace_29)

    Thanks Joe, that should solve my prob..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What takes the place of hspace=””’ is closed to new replies.