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
    Dec 2003
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Div height problem

    Hey, I have an annoying problem. On all of the windows computers ive tryed this on, i cant get a div's height go below 20(or around that). I can
    on my mac, but i would like to know how to change on windows
    it if its possible.

    thanks.
    UNDER CONSTRUCTION

  • #2
    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
    you would have to change the font size in order to go smaller, a div with nothing in it will go the height of the font size even if you have the div set to less height

  • #3
    Regular Coder
    Join Date
    Dec 2003
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    would that be like:

    Code:
    style="font-size:0;"
    ? And thank you for the help
    UNDER CONSTRUCTION

  • #4
    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
    yeah that would work but then y not just use a horizontal rule and use css to style it?


  •  

    Posting Permissions

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