I have a margin issue in Firefox which totally works in other browsers so, this is my HTML
HTML:
//*** means some code
<header>
<div class="left">
<div class="logo">
//***
</div>
</div>
<div class="right">
<div id="log-on">
//***
</div>
</div>
<div class="clear"></div>
</header>
<section class="search-seaction">
//***
</section>
CSS:
.clear { clear:both; }
.left { float: left }
.right { float: right }
.search-seaction
{
margin-top: 62px;
}
and here is screenshots
Firefox:
Opera & Chrome:
That margin over header appears only in Firefox. What is the reason of that behavior?
ISSUE : when I give margin to section, the header is "margining"
At the top of the screen that appears, click Page Setup, and then click on the Margins & Header/Footer tab. Manually change Top, Right, Bottom, and Left margins to 0. (Note that this will change the defaults for all web printing from Firefox).
The main reason behind this issue is that you are trying to print a document exceeding the minimum limit of margin, which varies printer to printer. To automatically fix it, do the following: Open the Word document you are having the issue with. When the document has opened, click on the Layout on the menu-bar.
Try giving the header a height:
header {
height: 100px;
}
(setting the overflow to hidden works too)
header {
overflow: hidden;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With