Christina Hawkins :: GlobalSpex wrote:
> I just can't seem to wrap my head around IE and it's reasons for not
> letting my "clearfloat" div make my 2 columns play nice. IE is
> causing my "MainContent1" to be placed below the "leftcolumn1" div.
>
> Index: http://www.globalspex.com/clients/ti/index.php
HasLayout[1] triggers in the form of specific width on a container with
margins and IE/win's old "3px jog bug", all in tight corners, makes IE6
run out of space pretty quickly.
Delete 'width: 590px;' on #mainContent, and IE6 will play somewhat nice.
The "3px jog bug" is still there though.
Alternatively - and *much* better, turn #mainContent into a float, by
using these styles...
#mainContent {
padding: 5px;
float: right;
margin: 0 -20px 0 0;
width: 600px;
background: #efefef;
}
...which will make IE6 play a lot nicer and render identical to other
browsers.
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/