Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- How to fix blank space below h1 tags


swa66 - 9:20 pm on Mar 10, 2008 (gmt 0)


Your browser would have typically some preset padding and/or margin on <h1>. Reset them to get rid of the default.

If you start a new CSS, it might be a good idea to reset all padding and margins:

* {padding:0; margin:0}

Now remember this messes with e.g. <ul>'s that need some of that, so you'll end up styling them to get hem back to "normal". Les aggressive resetting can of course be done as well.


Thread source:: http://www.webmasterworld.com/css/3596504.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com