# Float: left; behaving strangely in F-fox

**URL:** https://forum.kirupa.com/t/float-left-behaving-strangely-in-f-fox/206159
**Category:** Uncategorized
**Created:** [November 6, 2006, 12:07am UTC](https://forum.kirupa.com/t/float-left-behaving-strangely-in-f-fox/206159 "2006-11-06T00:07:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)
#### Post date: [November 6, 2006, 12:07am UTC](https://forum.kirupa.com/t/float-left-behaving-strangely-in-f-fox/206159/1 "2006-11-06T00:07:17Z")

</div>

Guys this is freaking me out - im starting to wonder if ive gone completely bonkers and am doing something really stupid…

this is my HTML

```auto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="bla" />
    <meta name="keywords" content="bla" />
    <style type="text/css">
        #leftPanel {
            width: 230px;
            height: 590px;
            background-color: #000000;
            float: left;
        }
        #topBanner {
            width: 500px;
            height: 230px;
            background-color: #666666;
        }
        #nav {
            width: 500px;
            height: 40px;
            background-color: #C6C8CA;
            border-top: 4px solid #939598;
        }
    </style>
</head>

<body>
    
    <div id="leftPanel">
        
    </div>
    
    <div id="topBanner">
    
    </div>
    
    <div id="nav">
    
    </div>
    
</body>

</html>

```

now youd think that the “leftPanel” div, with its height and width set, and a float: left set, would make all the following divs float next to it…which it does in IE…but in Ffox 2 it brings the divs up but ignores the width of the leftpanel div…

Please help me understand this! Whats going on?!?!?

Is it an FFox2 glitch? :huh:
