Skip to content

Instantly share code, notes, and snippets.

@jirick1
Last active August 29, 2015 14:14
Show Gist options
  • Save jirick1/318f8fad92cfceed7c30 to your computer and use it in GitHub Desktop.
Save jirick1/318f8fad92cfceed7c30 to your computer and use it in GitHub Desktop.
<html>
<head>
<style type="text/css">
.clear{
clear:both;
}
#grid{
width: 600px;
}
.grid-element{
width:200px;
float:left;
}
</style>
</head>
<body>
<div id="grid">
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
<div class="grid-element">
<img src="pic-x"/>
<span>Label</span>
</div>
</div>
<div class="clear"></div>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment