| Ultrashock Forums
• CSS - Margin collapse issue in Opera and IE6 |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
17 Creative Assets
|
2008-03-16
#2 |
||
|
What exactly do you mean when you say "margin collapse"? Are you talking about margin overlap, where the browser uses the greatest margin value of two adjacent elements instead of adding the margin values together?
|
|
|
2008-03-16
#3 |
||
|
Yeah, that's what I mean. Sorry for any confusion.
|
|
17 Creative Assets
|
2008-03-16
#4 |
||
|
IE6 can be a pain in the rear sometimes when it comes to margins, I'm surprised Opera is causing a problem though. Do you have anything online we can see, or can you ZIP up some files? It is a bit difficult to help you out without seeing what the actual problem is because there isn't really a quick-fix you can use every time a problem like this appears, none that I know of anyway.
|
|
|
2008-03-16
#5 |
||
|
Nevermind. I fixed it using padding rather than margins because otherwise Opera is a pain and doesn't even create a gap that the margin should create, and does create in FF and IE.
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


4 comments
| 2145 views


17 Creative Assets
Linear Mode