Forked from joshprice/IE6 and 7 header float bug [FIXED]
Created
October 22, 2009 05:51
-
-
Save lachlanhardy/215775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<style> | |
.wrapper { border: 1px solid black; } | |
.wrapper h3 a { float: right; width: auto; } | |
</style> | |
<!--[if lte IE 7]> | |
<style> | |
.wrapper h3 a {margin: -1em 0 0 0; } | |
</style> | |
<![endif]--> | |
</head> | |
<body> | |
<div class="wrapper"> | |
<h3>Contact Details | |
<a href="#" class="action button">Update</a> | |
</h3> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment