Tag,
ich weiß nicht mehr weiter wie ich es beheben kann. Ich habe einen Article der 20% Breit ist und auf Fixed ist. Ebenso (auf Left:0 Fixiert). Das Problem ist wenn ich daneben eine Section machen möchte (Zur hauptseite) dann verschiebt es sich auf den Article.
Hier ein Vorschau Bild:
HTML:
CSS:
Code
html {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
font-size:100%;
margin:0;
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
p {
font-family:'Roboto',sans-serif;
line-height:1.7;
}
a {
text-decoration:none;
}
ul {
margin:0;
padding:0;
}
li {
list-style:none;
}
img {
max-width:100%;
height:auto;
}
hr {
border:1px solid #72727d;
width:83%;
}
body {
margin:0;
background:#eee;
}
#nav_fixed {
position:fixed;
display:block;
background:#23232c;
top:0;
left:0;
bottom:0;
width:20%;
}
#titelbild {
display:block;
width:100%;
}
#titelbild img {
width:100%;
height:200px;
}
#profilbild {
display:block;
width:100%;
}
#profilbild img {
position:absolute; // Habe ich nur als Test gemacht damit man es sieht //
width:200px;
height:200px;
}
Alles anzeigen
Lg & Danke im vorraus
€: & PS: Das Titelbild fängt ebenso an wo das Profilbild auch ist.