Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Space Around Photos (images)  (Read 2991 times)

0 Members and 1 Guest are viewing this topic.

Barnum

    Topic Starter


    Rookie

    Space Around Photos (images)
    « on: November 03, 2008, 07:30:43 PM »
    Have a page with quite a few images...how do I create space between them, both horizontally and vertically?

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Space Around Photos (images)
    « Reply #1 on: November 05, 2008, 02:11:49 PM »
    The easiet way would be to put the images in a DIV. Try this code...

    Code: [Select]
    <div style="padding:5px"><img src=".../image.jpg" border="0" /></div>

    That should work. ;)

    ChrisXPPro



      Adviser

    • Forever Learning
    • Thanked: 4
      • ACB Systems
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows XP
    Re: Space Around Photos (images)
    « Reply #2 on: November 06, 2008, 07:18:38 PM »
    kpac's suggestion is the best but if you want to cheat ...... put the pics in table cells and apply cell spacing and/or padding to make your gap to your taste.
    Ain't technology great - until it goes wrong!