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
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I hide a Div if it doesn't fit in the Browser Window

    ......
    Last edited by danstyrlund; 10-09-2010 at 11:48 PM. Reason: solved

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I feel there is an incredibly simple HTML/css solution that I'm just missing.
    Setting overflow:hidden; to the container may do the trick. Can't give any more help without seeing your complete code or a link to your page.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay I uploaded what i'm working on to here.

    www.danstyrlund.com/newuni/test.html

    The black div on the far right called fixedtester is the one I'm trying to get to reveal/hide.

    Anybody have any ideas?

  • #4
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    nm solved it. just used a different css stylesheet for different browser sizes.


  •  

    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
    •