Hey Leute ich habe erst vor wenigen Tagen mit html und CSS angefangen.
Ich habe hier ein kleines Layout erstellt, solange ich mich bei 100% zoom im Mozilla Browser befinde (Windows 7, 1920x1080) funktioniert das auch genau so wie ich es mir vorstelle, die Container will ich dann übrigens mit Bildern füllen, die als Navigationslinks fungieren sollen.
Wenn ich jetzt jedoch raus, bzw. heranzoome verschieben sich die Container, bzw. für mich sieht es so aus als würden die border an manchen stellen größer werden. dadurch verzieht sich dann alles.
Wie gesagt ich bin blutiger anfänger, wenn ihr irgendwelche tipps zum grundlegenden aufbau meiner dokumente habt oder ihr fehler entdeckt (z.b. in der semantik) helft mir gerne!
Hier die Codes
[HTML]
BJJ <div id="breadcrumb">
</div>
<div id="nav_wrapper">
<div id="about">
</div>
<div id="forum">
</div>
<div id="shoutbox">
</div>
<div id="video_material">
</div>
<div id="shop">
</div>
<div id="competition">
</div>
</div>
<footer>
</footer>
</div>
[/HTML]
[CODE]*{
}
body{
width: 1000px;
margin: 0 auto;
background-color:#FFF;
}
#wrapper{
height:auto;
min-height: 800px;
width: 1000px;
margin:0 auto;
float:left;
}
#banner{
background-color: grey;
margin-top: 20px;
height: 200px;
width: 1000px;
float:left;
}
#breadcrumb{
background-color: lightblue;
height: 10px;
margin-top: 50px;
margin-bottom: 30px;
width: 1000px;
float:left;
}
#about{
background-color: rgba(200,200,200, 0.5);
border-right: 1px solid white;
width: 349px;
height: 150px;
float: left;
}
#forum{
background-color: rgba(200,200,200, 0.5);
height: 150px;
width: 650px;
float: left;
}
#shoutbox{
border-top: 1px solid white;
border-right: 1px solid white;
background-color: rgba(200,200,200, 0.5);
height: 149px;
width: 99px;
float: left;
}
#video_material{
border-top: 1px solid white;
border-right: 1px solid white;
background-color:rgba(200,200,200, 0.5);
height: 149px;
width: 499px;
float: left;
}
#shop{
border-top: 1px solid white;
background-color: rgba(200,200,200, 0.5);
height: 299px;
width: 400px;
float: right;
}
#competition{
border-top: 1px solid white;
border-right: 1px solid white;
background-color: rgba(200,200,200, 0.5);
height: 149px;
width: 599px;
float: left;
}
footer{
background-color: rgba(200,200,200, 0.5);
height: 40px;
width: 1000px;
margin-top: 20px;
float:left;
}[/CODE]