Jump to content


HTML img hspace

  • Please log in to reply
1 reply to this topic

#1 chico1st

  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 15 August 2006 - 11:49 PM

Hey this is just an html question. I have an image with border = 1, but i want it to be spaced away from the text that surrounds it. If I add an hspace it adds space on both sides but i only want space on one side, and align doesnt seem to solve this problem. Also when I add an hspace the border goes around that area too which looks really ugly. Any advice?

Thanks a lot for any help you can offer!

#2 hitman6003

  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 15 August 2006 - 11:56 PM

Use the CSS properties margin and padding:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users