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
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts

    div height 1px problem (IE)

    Hi. How can i set the real height 1px of the div in the IE? It looks like 2px or 3px instead....

    I tried use strict doctype, i tried this code (it helped alot but its not still 1px)

    Code:
    line-height:1px;
    font-size:1px;
    Thanks

  • #2
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by nikos101 View Post
    That has nothing to do with the OP's problem. Try this
    Code:
    height:1px;
    font-size:0;
    line-height:0;
    overflow:hidden;
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Aerospace this really helped.. thanks.. thanks nikos too for your try


  •  

    Posting Permissions

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