Flex-box ignores wrapped children's margin (margin collapse)


xSauronx
HOME ยป Web Design

Given the following HTML:


<div class="outer">
<div>
<div class="inner">A</div>
</div>
</div>
<div class="outer">
<div class="inner">B</div>
</div>

and the following CSS (prefix free):


.outer {
display: box;
box-orient: vertical;
height: 100px;
width: 100px;
background: red;
margin: 10px;
}
.inner {
height: 50px;
margin-top: 10px;
background: green;
}



Related to : Flex-box ignores wrapped children's margin (margin collapse)
Flex-box ignores wrapped children's margin (margin collapse)
by xSauronx in Web Design

Given the following HTML:


<div class="outer">
<div>
<div class="inner">A</div>
</div>
</div>
<div class="outer">
<div class="inner">B</div>
</div>

and the f


IE 6/7/8 ignores margin 0 auto
by ChrisMe in Web Design
Hi - phew, finally got 2/3rds of my new css site up, but now have to upload final one-third with old <table>s body - and just slap new css header + menu (btmnav) above + below the <table>s.
Problem is IE 6/7/8 will not recognize margin: 0 auto. See:
http://www.greensmoothie.com
can get rid of margin collapse
by Ben Humphrys in Web Design
I have a float in my header that seems to cause a margin collapse (adds extra space below) in FF when I try to clear it. I have a nave menu (list style) in the div below it, which I have tried zeroing out the margins for, but it does not seem to help. Code is below. Any suggestions?
HTML:

Div P Margin Collapse
by Mutilator in Web Design
The code below, in IE 7 produces a div block 10em wide, by 30em high background red. Then inside, is a paragraph with grey background, with margins of 1 em.
In IE 7, the margins are all around the grey paragraph. In every other browser I've tried (Opera, FireFox, and Chrome) -- the margin
margin collapse and how to get rid of it?
by Retro Rob in Web Design
margin collapse
and how to get rid of it?
margins in valid browsers act different than all the IEs, while borders and paddings word differently in old IE (broken box model)
is there nothing that works identically in all browsers!!! (without tricks i mean)
i know of couple tricks
Masonry ignores padding and margin
by dougbeal in Web Design

I am using Masonry to assemble a wall of images (just like Pinterest), but it positions the tile elements regardless of their padding and margin.


Has anyone experienced a similar bug?


Floated Text Ignores Margin in IE
by the vk in Web Design

I have a span tag floated to the left which for some reason moves up above the rest of the paragraph text and is actually cut off in ie8 and ie7. The text shows fine in ie9, but is shown above the rest of the text within the paragraph. The CSS for the span tag is:


.stat {

Safari ignores *{margin:0;padding:0} ?
by Scott Walsh in Web Design
Hello again,
I have been working on a new page design for a while now and had been previewing primarily in FF and IE. Today I popped it into Opera (everything checks out) and then Safari.
It totally broke in Safari. My uls and header objects seem shifted down and to the right breaking ever
XML FO: content ignores page right margin
by ThF in Web Design

Have a small problem with my printed XSL FO document.
If text get's too long it ignores my right margin and overflows it's container.
All other margins are set fine (like top, bottom and left margin)
I already tried searching various posts but no working answer found yet.
What


Creating div with dom, ignores css margin attributes?
by soulcougher73 in Web Design
I have a simple div which is displayed using DOM when a form gets a success/failure result, the problem is it is not leaving a gap between its self and the next object beneath it.
This is my css for the message box:
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .