Ani za boha neviem dat ten aside zarovno toho článku a zbaviť sa tej medzery. Dík za pomoc chaloši. Posielam screen jak to vyzerá a posielam aj kód.
https://ctrlv.cz/k3Y7
HMTL -
Spoiler
Kód: Vybrať všetko
<aside>
<div id="sponsors">
<header id="s_header">
<h1>SPONZORI</h1>
</header>
<img id="main_sponsors" src="images/wd.png" alt="wd" title="wd">
<img src="images/dell.png" alt="dell" title="dell">
<img src="images/intel.png" alt="dell" title="intel">
</div>
</aside>
Spoiler
Kód: Vybrať všetko
#nazov{
width: 50%;
height: 3vw;
background: red;
clear: both;
line-height: 3vw;
text-align: center;
font-family: arial;
font-size: 20px;
color: white;
}
#clanoktext {
color: white;
background-color: black;
width: 50%;
}
nav {
background: black;
height: 3vw;
padding: 0;
}
nav a {
text-decoration: none;
}
nav ul.menu {
height: 100%;
width: 80%;
font-size: 0;
margin-left: 100px;
}
nav ul.menu li {
border-right: 1px solid #464939;
color: rgb(255,255,255);
display: inline-block;
line-height: 3vw;
width: 24%;
text-align: center;
font-size: 1.2vw;
font-family: Arial Rounted MT, Arial, Tahoma, Verdana;
position: relative;
}
nav ul.menu li:first-child {
border-left: 1px solid #464939;
}
nav ul.menu li:hover {
background-color: red;
}
nav ul.menu li:hover ul.hover_menu {
display: list-item;
z-index: 1;
}
a {
font-weight: bold;
}
a:link, a:visited {
text-decoration: none;
color: #333;
}
a:hover, a:active {
color: #FFFFFF;
}
/* container */
#container {
width: 80%;
margin: 0 auto;
padding: 0.5vw 0 0.5vw 0;
}
/* sponzori */
aside {
width: 29%;
float: right;
margin: 0 0 1vw 0;
}
#sponsors {
width: 50%;
text-align: center;
border: 0.1vw solid red;
border-top: none;
display: block;
float:right;
}
#sponsors img{
height: 2vw;
padding: 0.3vw 0 0.3vw 0;
border: 1px solid red;
margin: 0 0.2vw 0 0.2vw;
}
#sponsors header#s_header {
background-color: red;
margin: 1vw 0 1vw 0;
}
#sponsors header#s_header h1{
padding: 0.6vw 0 0.6vw 0;
text-align: center;
font-size: 1.2vw;
color: #FFFFFF;
text-transform: uppercase;
font-family: Arial Rounted MT, Arial, Tahoma, Verdana;
}
footer{
width:68%;
height: 3vw;
background: red;
margin: 0 auto;
text-align: center;
line-height: 3vw;
clear: both;
}
footer p{
color: white;
font-family: arial;
}