WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > Browser Compatibility > [SOLVED] Border Collapse? divs overlapping IE6/7

Reply
  Thread Tools Display Modes
Old 30th March 12, 05:17 PM   #1
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Border Collapse? divs overlapping IE6/7

Hi:

Working my way through issues -- I need to set up a left fluid column and right fixed column and I seem to have managed it but they are overlapping in ie6/7. I'd like to fix fwiw if I can. Looking up all the old bugs - seems like border collapse but suggested fixes don't seem to be working.

See this page (obviously incomplete!)

http://66.147.244.110/~rdbikeco/ug/index.html

Help appreciated!

Thanks!
PVM3 is offline   Reply With Quote
Old 30th March 12, 06:43 PM   #2
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Re: Border Collapse? divs overlapping IE6/7: also, should I care?

Have we reached to point where we can just blow off IE6/7? Do you guys worry about it anymore?
PVM3 is offline   Reply With Quote
Old 30th March 12, 09:29 PM   #3
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,134
Default Re: Border Collapse? divs overlapping IE6/7

I still support IE7, but I never have supported IE6. I still will do 7 because there are few issues that I ever have with it.
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Old 30th March 12, 09:36 PM   #4
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Border Collapse? divs overlapping IE6/7

Quote:
seems like border collapse but suggested fixes don't seem to be working.
probably because in NOT "border collapse" but your use of fixed positioning which IE6 and 7 have always had problems with.
chrishirst is offline   Reply With Quote
Old 31st March 12, 02:17 AM   #5
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Re: Border Collapse? divs overlapping IE6/7

Chris:
I don't have fixed positioning. Where do you mean?

Thanks -
Also thanks Meesa-
PVM3 is offline   Reply With Quote
Old 31st March 12, 11:43 AM   #6
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Border Collapse? divs overlapping IE6/7

There was something on the page when I first looked that was giving your page a "sunrise effect" with the backgrounds but it no longer happens.

I gave up on IE7 a long while ago, simply because the sites I deal with were not seeing enough IE7 visitor numbers to make it worthwhile spending time on.

So which elements are overlapping and how does it manifest itself?
chrishirst is offline   Reply With Quote
Old 31st March 12, 06:27 PM   #7
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Re: Border Collapse? divs overlapping IE6/7

Chris:
See here: http://66.147.244.110/~rdbikeco/ug/index.html

The fluid left div overlaps the right sidebar in IE6/7. I think I'm pretty much not going to worry about 6 any further, and not even 7 much of the time - but if this problem was easily fixable with one of the old hacks I wanted to fix it.

Thanks!
PVM3 is offline   Reply With Quote
Old 31st March 12, 06:47 PM   #8
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Border Collapse? divs overlapping IE6/7

probably something to do with the strange messing about with negative margins, it's never a good idea to play about with things like that.

You are much better off understanding floats and how they work rather than bodging hacks together.
chrishirst is offline   Reply With Quote
Old 3rd April 12, 03:58 PM   #9
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Re: Border Collapse? divs overlapping IE6/7

Got it resolved.

Relevant code:

Code:
#floatwrap {float: left;
 width: 100%;
 }/*needed to make the float work without fixed width on leftwrap*/

#leftwrap { margin-right: 240px;
}/* margin-right makes room for the right float overflow: auto;*/

#sidebar {width: 240px; 
margin-left: -240px; /*need the -240 margin so the leftwrap will work*/
float:right;
display: inline; /*IE7*/
background-color: #f7d9bc; 
-moz-border-radius-topleft: 0px; 
-moz-border-radius-topright: 15px;
-moz-border-radius-bottomright: 15px;
-moz-border-radius-bottomleft: 0px;
-webkit-border-radius: 0px 15px 15px 0px;
border-radius: 0px 15px 15px 0px;

-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; 
*behavior: url(/scripts/boxsizing.htc); /*ie6/7 polyfill*/
}
.innerpad {padding:20px;}/*to pad sidebar content*/
Needed the extra div (floatwrap) to wrap the leftwrap. Then needed to remove padding from the sidebar itself -- adding via the .innerpad. That took care of the overlap in IE7.
PVM3 is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.