Forums / Templates, Stylesheets, Page Layout / CSS advice needed: "clearBoth" div breaking my layout?

CSS advice needed: "clearBoth" div breaking my layout?

Locked

Views: 5,186

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Jul 2006, 1:51 PM
#1
squidliberty avatar

squidliberty

New Zenner

Join Date:
Jul 2006
Posts:
13
Plugin Contributions:
0

CSS advice needed: "clearBoth" div breaking my layout?

My site uses floats to create a left and right hand columns. The CSS for .clearBoth causes any content occuring after a clearBoth div to drop entirely out of my design framework (clearing the left and right columns!).

I've disabled clearBoth by setting it to "clear: none"; however, this monkeys with zen cart's layout as clearBoth is used extensively within forms and other layout. Looks like I'll have to do custom adjustments on every page... Any CSS suggestions to avoid this?

Thanks!

12 Jul 2006, 3:21 PM
#3
squidliberty avatar

squidliberty

New Zenner

Join Date:
Jul 2006
Posts:
13
Plugin Contributions:
0

Re: CSS advice needed: "clearBoth" div breaking my layout?

sicness:

this should help you

http://www.zen-cart.com/forum/showthread.php?t=40521&highlight=white+space+header

Thanks for the suggestion! Unfortunately, I am having a different problem. In fact, this isn't an IE bug at all - this is the correct functionality of CSS (and I'm using Firefox).

12 Jul 2006, 3:45 PM
#4
sicness avatar

sicness

Zen Follower

Join Date:
Apr 2006
Location:
Sofia, Bulgaria
Posts:
195
Plugin Contributions:
0

Re: CSS advice needed: "clearBoth" div breaking my layout?

Give us a link to see the shop this way its hard to define ?

Negative feelings were burned by the progressive increase of Euphoria

12 Jul 2006, 4:27 PM
#5
squidliberty avatar

squidliberty

New Zenner

Join Date:
Jul 2006
Posts:
13
Plugin Contributions:
0

Re: CSS advice needed: "clearBoth" div breaking my layout?

sicness:

Give us a link to see the shop this way its hard to define ?

I sent you a private message with the URL.

If anyone else is lurking about and would like to take a look, please speak up. I just don't want to put out the site URL because it isn't ready for prime time :)