www.webdeveloper.com
Results 1 to 3 of 3

Thread: Horizontal Space Under Stacked Images?

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    31

    Horizontal Space Under Stacked Images?

    Hello,

    I have 3 images side-by-side with no space between them. but when i stack those on top of each other, there is a space under each row of images.

    how can i get this:

    Code:
    <div align="center"><img src=""><img src=""><img src=""></div>
    <div align="center"><img src=""><img src=""><img src=""></div>
    to not have a space under the rows?

    Thanks

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    Add style="display: block;" to your image styling.
    FYI
    * My screen resolution is set at 1680x1050
    * I'm accessing your site through a T1 line
    * I'm probably viewing it using Firefox (unless browser is specified)

  3. #3
    Join Date
    Aug 2008
    Posts
    31
    ok that solved the horizontal space problem but i still need 3 rows next to each other without vertical space. for example i cut an image up into 15 pieces, i want to rearrange them like 3 columns of 5 pieces with no gaps between any of them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles