Created
August 29, 2014 23:21
-
-
Save mvargasmoran/457702e3dcbba7fb5728 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/rediti/1
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> | |
<head> | |
<title></title> | |
<style id="jsbin-css"> | |
.std { | |
width: 200px; | |
border: solid 1px green; | |
height: 50px; | |
} | |
.std a { | |
display: inline-block; | |
height:100%; width:100%; | |
} | |
.std a:hover { | |
background-color: yellow; | |
} | |
</style> | |
</head> | |
<body> | |
<table> | |
<tbody> | |
<tr> | |
<td class="std"> | |
<a href="http://www.google.com/">Cell 1<br> | |
second line</a> | |
</td> | |
<td class="std"> | |
<a href="http://www.google.com/">Cell 2</a> | |
</td> | |
<td class="std"> | |
<a href="http://www.google.com/">Cell 3</a> | |
</td> | |
<td class="std"> | |
<a href="http://www.google.com/">Cell 4</a> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
<script id="jsbin-source-css" type="text/css"> | |
.std { | |
width: 200px; | |
border: solid 1px green; | |
height: 50px; | |
} | |
.std a { | |
display: inline-block; | |
height:100%; width:100%; | |
} | |
.std a:hover { | |
background-color: yellow; | |
} | |
</script> | |
</body> | |
</html> |
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
.std { | |
width: 200px; | |
border: solid 1px green; | |
height: 50px; | |
} | |
.std a { | |
display: inline-block; | |
height:100%; width:100%; | |
} | |
.std a:hover { | |
background-color: yellow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment