Possible solution for using HTML5 placeholder for input in older browsers (IE)
http://stackoverflow.com/a/8004107/517457
Visar inlägg med etikett html5. Visa alla inlägg
Visar inlägg med etikett html5. Visa alla inlägg
torsdag 12 juli 2012
söndag 1 juli 2012
Styling links within links in divs
Just a quickie to horisontally align links in divs inside a li element
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
li{
list-style: none;
}
div.my-spaced-links{
display: inline;
margin-left: 10px;
padding: 10px;
}
</style>
</head>
<body>
<ul>
<li><a href="#">Första</a></li>
<li><span><div class="my-spaced-links"><a href="#">Två1</a></div><div
class="my-spaced-links"><a href="#">Två2</a></div></span>
</li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
li{
list-style: none;
}
div.my-spaced-links{
display: inline;
margin-left: 10px;
padding: 10px;
}
</style>
</head>
<body>
<ul>
<li><a href="#">Första</a></li>
<li><span><div class="my-spaced-links"><a href="#">Två1</a></div><div
class="my-spaced-links"><a href="#">Två2</a></div></span>
</ul>
</body>
</html>
Wrap anchor tag around other tags
How to succesfully wrap an anchor tag around other tags, in HTML5
http://davidwalsh.name/html5-elements-links
http://davidwalsh.name/html5-elements-links
Prenumerera på:
Inlägg (Atom)