Skip to content

Instantly share code, notes, and snippets.

@macasek
Created June 1, 2010 14:22
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 macasek/420998 to your computer and use it in GitHub Desktop.
Save macasek/420998 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
.clearfix:after {
content: "\0020";
display:block;
height:0;
clear:both;
visibility:hidden;
overflow:hidden;
}
.clearfix {
display:block;
}
</style>
</head>
<body>
<div class="clearfix">
<!-- no this is not a joke, the root issue was spaces and newlines after the image tags. -->
<img height="16" src="http://cdn.oneforty.com/ext/images/v1/full_star.gif" border="0" width="16" /><img height="16" src="http://cdn.oneforty.com/ext/images/v1/full_star.gif" border="0" width="16" /><img height="16" src="http://cdn.oneforty.com/ext/images/v1/full_star.gif" border="0" width="16" /><img height="16" src="http://cdn.oneforty.com/ext/images/v1/full_star.gif" border="0" width="16" /><img height="16" src="http://cdn.oneforty.com/ext/images/v1/empty_star.gif" border="0" width="16" />
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment