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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS working in IE but not Firefox

    http://razor13t.homelinux.net/hyperjump/index.html

    If I specify a height in #news it will work fine, but then it won't scale to the content...

    Code:
    #news {
    	width: 604px;
    	float: left;
    }
    The #container is suppose to wrap a border around all of it, but doesn't for some reason in FireFox.

    Here's what it's suppose to look like (as it does in IE):
    http://img207.imageshack.us/img207/1460/83736628ih2.jpg


    Any ideas or workaround ideas? I must be doing something wrong. Thanks.
    Last edited by desolatordan; 05-11-2008 at 12:38 AM. Reason: Added example screenshot from IE.

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Code:
    <div id="box">
       ....
       <div id="news">
        ....
        </div>
        <div style="clear: both;"/>
    </div>
    CSS - Clearing floats

    regards
    Last edited by oesxyl; 05-11-2008 at 02:14 AM.

  • #3
    New to the CF scene
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks! I used the "overflow: auto;" in my containers and it worked great.


  •  

    Posting Permissions

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