Topic: CSS breaks in IE (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Manitoba, Canada |
posted 03-08-2006 21:02
Okay, somewhat new to this CSS stuff but here we go. code: body { min-width: 550px; /* 2x LC width + RC width */ } #container { padding-left: 200px; /* LC width */ padding-right: 150px; /* RC width */ line-height:100%; } #container .column { position: relative; float: left; } #center { width: 100%; } #navleft{ color:black; background-color:aqua; width: 200px; /* LC width */ right: 200px; /* LC width */ margin-left: -100%; } #footer { clear: both; color:black; background-color:blue; } /*** IE6 Fix ***/ * html #left { left: 150px; /* RC width */ } div.page{ color:black; background-color:fuchsia; } div.navbar{ margin:1px; color:black; background-color:gray; clear:left; } div.crumb{ margin:1px; color:black; background-color:green; clear:left; } div.title{ margin:1px; color:black; background-color:#DEB887; position: relative; float: left; } div.menuhead{ float:left; margin:0; padding:.5em; font-weight: bold; } div.image{ float:left; } div.menulist{ float:left; margin:0; padding:.5em; color:black; background-color:maroon; }
|
Lunatic (VI) Inmate From: under the bed |
posted 03-08-2006 22:14
code: #navleft{ color:black; background-color:aqua; width: 200px; /* LC width */ right: 200px; /* LC width */ margin-left: -100%; }
|
Paranoid (IV) Inmate From: Manitoba, Canada |
posted 03-08-2006 22:46
From A list A Part Column Setup Page quote:
|
Paranoid (IV) Inmate From: Manitoba, Canada |
posted 03-09-2006 02:22
Okay, took DL-44 and found an easier to use how to columns setup. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-09-2006 03:17
You're probably better off with Johansson's simpler 2-column layout. The "Holy Grail" article is excellent, but it is a highly evolved and tuned script. Did you happen to notice there were *16 PAGES* of comments following the alistapart article? You can be sure not all of them were congratulating Levine for his bulletproof code. |
Paranoid (IV) Inmate From: Manitoba, Canada |
posted 03-09-2006 04:23
Mea culpa. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-09-2006 04:42
I think you made a smart decision to use a less fragile layout when you have the pressure of a deadline. I have always been impressed by Johansson's work. |
Nervous Wreck (II) Inmate From: |
posted 03-09-2006 05:17
If it's CSS, you'll find everything you ever wanted to know here, including 2- and 3-column layouts and a wiki: |