Děkuju
Kód: Vybrat vše
<style type="text/css">
#infoboxleft_name {
background: #fafafa;
height: 20px;
float: left;
border-top: 1px solid #332af7;
border-bottom: 3px solid #332af7;
text-align: center;
font-weight: bold;
color: #003a6d;
width: 370px;
}
#infoboxright_name {
background: #fafafa;
height: 20px;
float: right;
border-top: 1px solid #332af7;
border-bottom: 3px solid #332af7;
text-align: center;
font-weight: bold;
color: #003a6d;
width: 370px;
}
#infoboxleft {
background: #e5ebf0;
height: 150px;
float: left;
border-right: 1px solid #d0dce6;
text-align: center;
width: 369px;
}
#news {
position: absolute;
left: 50%;
width: 369px;
margin-left: 1/2px;
top: 50%;
height: 150px;
margin-top: 75px;
}
#infoboxright {
background: #e5ebf0;
height: 150px;
float: right;
border-left: 1px solid #d0dce6;
padding-left: 10px;
width: 359px;
display: table;
}
#statistic {
display: table-cell;
vertical-align: middle;
text-align: center;
}
#all {
width: 740px;
}
</style>
</head>
<div id="all">
<div id="infoboxleft_name">
Nejnovější
</div>
<div id="infoboxright_name">
Statistika
</div>
<div id="infoboxleft">
<div class="news">
<img src="novinka.jpg" alt="novinka">
</div>
</div>
<div id="infoboxright">
<div id="statistic"><p>Název
<br>Statistika</div>
</div>
</div>
</body>