css: basics, snipets 
* {margin: 0px;}

.top {
background: blue;
padding: 10px;
}

.m15 {
margin: 15px;}

.master {
background: gray;
margin-top: 0px;
padding: 50px;
text-align: center;
}

.menu {
background: red;
padding: 15px;
margin-bottom: 0px;
}

.menu:hover {
background: orange;
}

.odkaz {
text-decoration: undeline;
}

.odkaz:hover {
text-decoration: none;
font-weight: bold;
}

.content {
background: yellow;
width: 100px;
margin: auto;
padding: 10px;
text-align: left;
}


<html>
<head>
<link href="css2.css" rel="stylesheet">
</head>
<body>
<div class="top">text
</div>
<div class="m15 menu">menu
</div>
<div class="m15 master">
<div class="content"><a href="/" class="odkaz">odkaz</a>
</div>
</div>
</body>
</html>


[ add comment ] ( 7 views )   |  [ 0 trackbacks ]   |  permalink  |  related link

<<First <Back | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | Next> Last>>