mgdc
02-22-2008, 11:06 PM
Hello,
I am attempting to do a layout where I have two blocks on the right of different widths, and have the body on the right wrap around them both. An example of what I'm trying is here:
http://myuid.com/~kevin/exp.html
It seemed to be working, but when I went to add a float in the body on the left, it is getting cleared by the blue div on the right (so it gets pushed under the red one). The blue div only has clear: right so I thought it would not clear things in the body to the left, but I seem to be wrong. I need to be able to have floats in the left for inline images and et cetera.
Anyone have any ideas on how I can fix this?
(By the way, for some reason it works in IE7, I am running into the problem in gecko, webkit, and opera).
Thanks!
kevin
I am attempting to do a layout where I have two blocks on the right of different widths, and have the body on the right wrap around them both. An example of what I'm trying is here:
http://myuid.com/~kevin/exp.html
It seemed to be working, but when I went to add a float in the body on the left, it is getting cleared by the blue div on the right (so it gets pushed under the red one). The blue div only has clear: right so I thought it would not clear things in the body to the left, but I seem to be wrong. I need to be able to have floats in the left for inline images and et cetera.
Anyone have any ideas on how I can fix this?
(By the way, for some reason it works in IE7, I am running into the problem in gecko, webkit, and opera).
Thanks!
kevin