I am trying to use HTML5 Boilerplate + Normalize.css for my current project, and I ran into the following problem.
There seems to be a gap between my HTML tag and the BODY tag. I tried to find out what was the reason for this, but failed after many attempts.
I must have missed something here or there.
<!DOCTYPE html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Ridanis | Web Design & Web Development</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="css/normalize.min.css"> <link rel="stylesheet" href="css/main.css"> <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script> </head> <body> <div class="wrapper"> <h1>Hello World!</h1> </div> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script> <script src="js/main.js"></script> </body> </html>
Here is the fiddle: http://jsfiddle.net/C7gbC/
Thanks in advance.
source share