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 9 of 9
  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts

    dots gif producing extra space on ie

    i am using this dotted gif line on this site, why does it make extra space under ie? thanks

    http://tetrix01.free.fr/index02.htm
    Attached Thumbnails Attached Thumbnails dots gif producing extra space on ie-ff.jpg   dots gif producing extra space on ie-ie.jpg  

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,179
    Thanks
    174
    Thanked 257 Times in 257 Posts
    first an obvious one:


    Code:
    * {
    margin:0px;
    padding:0px;
    do you have this in your css, if yes then go ahead and post some code so we can take a look at it!!

  • #3
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts
    i tried that but doesnt solve the extra space, all the source is here:

    http://tetrix01.free.fr/index02.htm
    Last edited by sybil6; 12-19-2007 at 08:39 PM.

  • #4
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,179
    Thanks
    174
    Thanked 257 Times in 257 Posts
    i dont want to get re-dundant or anything, but i looked at ur code... Did you put that code in and take it off?

    because
    Code:
    body{
    
    margin:0;
    padding:0;
    }
    is not the same as
    Code:
    * {
    margin:0px;
    padding:0px;
    }
    forgive me if im beating a dead horse, but i have had a problem like this and i thought it was the same, but it ended up working!!

  • #5
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts
    yes i put it on my machine and the gap is still there

  • #6
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,179
    Thanks
    174
    Thanked 257 Times in 257 Posts
    what about attaching negative margins to the gif's?

    Code:
    <img src="whatever.gif" style="margin-top:-5px;">
    im not sure if that would work, its hard to see why its doing it!!!

  • #7
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Try it this way instead:

    Code:
    .inlineDots{
    	background: url(http://tetrix01.free.fr/images/inline_dots.gif) repeat-x center;
    	width:255px;
    	height:16px;
    }
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #8
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts
    thank you excavator this already looks like in ff now, why is that 16 px height?

  • #9
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by sybil6 View Post
    thank you excavator this already looks like in ff now, why is that 16 px height?
    7px margin on top and bottom
    plus 2px height.

    16px with the dots in the middle.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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