Search
Join us on Facebook for tips!
Home
Music
Movies
Software
Tutorials
Ask Us
Search
All
Access 2007
Access 2010
Android
ASP.NET
BSplayer
C Sharp
Chrome
CSS
CSS3
Excel 2007
Excel 2010
Excel 2013
Facebook
Flash
Gmail
Google Docs
Html
HTML5
IIS
Internet Explorer 8
Java
JavaScript
jQuery
Office 2010
Opera
Others
Outlook 2007
Outlook 2010
Photoshop
PowerPoint 2007
PowerPoint 2010
Skype
SQL
SQL Server
Visual Basic
Visual Studio 2010
Windows 7
Word 2007
Word 2010
Word 2013
Tutorial
>
CSS
>
CSS fixed header margin auto
CSS fixed header margin auto
When you putting h tag inside a div and your div have borders, sometimes you see blank space. To fix that problem we adding CSS style to the header tag.
The problem:
There is auto margin to the header tag that we didn't ask for...
The fix:
In this example we used h2 tag, so write this in your CSS.
h2
{
margin
:
0
;
}
Result:
Tweet
Rating
4.6
Review by
Thebestdata
Tags:
h
,
h2
,
h1
,
header
,
margin
,
-webkit-margin-before
,
-webkit-margin-after
,
100% div height CSS
Center website CSS with tables
Center site without width
How to center website CSS using margin auto with div
CSS center absolute element
Tutorial
>
CSS
>
CSS fixed header margin auto
Popular
eğitim
Popular Movies
Underworld Awakening - 2012
The Smurfs - 2011
Puss in Boots - 2011
Popular Software
Magiciso v5.5 download free
Swi Prolog editor free
JSFIDDLE - Html online editor
Popular Tutorials
Word document properties
Merge cells in Excel
Make Excel shared workbook