I tried floating both nav and maincontent, but the wrapper would disappear because it would have no height and the guy in the suit with it. In IE, in one version, the nav would disappear entirely. Not good.
Paula ---------------- Paula Petrik Professor Department of History & Art History Associate Director Center for History & New Media George Mason University
On Dec 26, 2005, at 6:37 PM, Drew Trusz wrote:
On 12/26/05, Paula Petrik <[EMAIL PROTECTED]> wrote: I'm being driven nuts. Pulling out my hair. I cannot get this to work in IE and can't figure out where I'm going wrong. If I float:left the #maincontent, I lose my background image because #wrapper has no height. IE does not want to honor something. The #mainecontent should move up around the floated #nav. Do I need a :clear? Hoping someone is working away somewhere.
XHTML and CSS validates and have browsercammed.
http://www.archiva.net/hist697ay06/ http://www.archiva.net/hist697ay06/hist697ay06_screen.css It seems to beĀ a width problem. I reduced the #maincontent to 480px and it fits on IE. You might be able to increase the size some, the 480 was a first attempt. Given the mix of px and em for various margins, paddings, etc there is likely a rounding difference which makes one fit and the other not. This is done without the man in the suite. image. I'm curious as to why if you want 2 columns you just don't make 2 columns and float both nav and maincontent. The layout doesn't seem to call for the margin-left approach but the margin vs float choice is often personal. drew
|
- Re: [WSG] Yet Another Float Problem Paula Petrik
-