Skip to content

Instantly share code, notes, and snippets.

Created November 17, 2013 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7518200 to your computer and use it in GitHub Desktop.
Save anonymous/7518200 to your computer and use it in GitHub Desktop.
A Pen by Daniel.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<img src="img/logo.gif" alt="Logo">
<link rel="stylesheet" href="css/normalize.css" type="text.css" media="screen>
<link rel="stylesheet" href="css/grid.css" type="text.css" media="screen>
</head>
<body>
<div class="container">
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Content</a></li>
<li class="last"><a href="#">Contact Us</a></li>
</ul>
<div id="intro">
<h1>Great products
</h1>
<p>
<a href="#" class="btn">browse products</a></p>
<img src="img/image.gif" alt="Image">
</p>
</div>
<div id="new-products">
<h2>Buy new products</h2>
<p>Our new products are<a href="#">New Product 1</a> and <a href="#">New Product 2</a></p>
<img src="img/new-product-1.gif" alt="New Product 1">
<img src="img/new-product-2.gif" alt="New Product 2">
</div>
<h2>Contact</h2>
<div id="contact">
<p>Call Us: <span>1-555-555-555</span><br>
E-mail Us: <a href="#">email@yahoo.com</a></p>
</div>
<style>
body {
background-color: white;
}
</style>
<a href="www.facebook.com"><img src="img/facebook-logo.gif"
alt="Facebook"></a>
<div id="copywright">
<p>&copy;2013 Copywright. All Rights Reserved</p>
</div>
</div>
</body>
</html>
/*
Width: 1000px
# Columns : 12
Column width: 65px
Gutter : 20px
*/
.grid_1 { width: 65px; }
.grid_2 { width: 150px; }
.grid_3 { width: 235px; }
.grid_4 { width: 320px; }
.grid_5 { width: 405px; }
.grid_6 { width: 490px; }
.grid_7 { width: 575px; }
.grid_8 { width: 660px; }
.grid_9 { width: 745px; }
.grid_10 { width: 830px; }
.grid_11 { width: 915px; }
.grid_12 { width: 1000px; }
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
margin: 0 20px 10px 0;
float: left;
display: block;
}
.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.container{
width: 1000px;
margin: auto;
}
.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}* html .clearfix,*:first-child+html .clearfix{zoom:1}
@MHM5000
Copy link

MHM5000 commented Nov 17, 2013

change your CSS Linking following this rule

<link rel="stylesheet" type="text/css" href="mystyle.css" media="screen">

@MHM5000
Copy link

MHM5000 commented Nov 17, 2013

also we have a <header> tag and a <head> tag. don't include an <img> in <head> ...
It's apples and oranges.
;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment