Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Image slicing has border

    http://65.127.63.142/gonfalon_gallery.html

    Above is the location of a page that correctly is displayed in IE 8 but not in Chrome, Safari, or Firefox. all margins are set to 0 and borders and cellpadding etc are 0. I still get a thin white horizontal line at the bottom (or top) of the pictures in all but IE8. All the vertical line are invisible in all browsers

    If you are able to help I would appreciate it.
    Last edited by NetSpaceman; 12-14-2009 at 09:05 PM.

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,708
    Thanks
    0
    Thanked 237 Times in 232 Posts
    Hi there NetSpaceman,

    and a warm welcome to these forums.

    Try adding this...
    Code:
    
    img {
        display:block;
     }
    
    ...to your stylesheet.

    coothead

  • Users who have thanked coothead for this post:

    NetSpaceman (12-15-2009)

  • #3
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    That was amazing... Please tell me, if you have time, what that tells the browser. I would have NEVER imagined that.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by NetSpaceman View Post
    That was amazing... Please tell me, if you have time, what that tells the browser. I would have NEVER imagined that.
    It's that mysterious gap!

    PS: Don't you know why using tables for layout is stupid?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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