@charset "utf-8";
/* CSS Document */
body {
margin: 0px;
padding: 0;
background: #4e1f31;
font-family: verdana, sans-serif;
font-size: 0.75em
}
img {
border: none
}
#wrapper {
margin: 0 auto;
width: 100%
}
#gora{
background: #2D2D2D;
width: 100%;
height:50px;
}
#gora1{
background:#4e1f31;
height: 150px;
border-bottom-style:groove
}
#logo {
float: left;
margin: 10px 0;
margin-left: 10px;
}
#gora2{
background:#4e1f31;
width: 500px;
height:350px;
}
/* Polprzezroczysty div */
#box{
background:#CCC;
width: 400px;
height: 300px;
margin-left: 50px;
margin-top: 13px;
-moz-opacity : 0.3;
opacity : 0.3;
filter : alpha(opacity=70);
}
#box1{
background:#CCC;
float:right;
width: 400px;
height: 300px;
-moz-opacity : 0.3;
opacity : 0.3;
filter : alpha(opacity=70);
}
#stopka{
background:#242424;
height:150px;
border-top-style:groove
}
ul, ul li {
margin:0px;
margin-left: 88px;
display: block;
list-style: none;
padding: 0;
}
ul {
float: none;
background-color: #2D2D2D;
padding: 1px 0 1px 1px;
}
ul li {
float: left;
}
ul a:link, ul a:visited {
text-decoration: none;
display: block;
background: #2D2D2D repeat-x center;
color: #fff;
padding: 16px 20px;
}
ul a:hover {
background-color: #800;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="Stylesheet" type="text/css" href="style.css" />
<li><a href="http://kurs.browsehappy.pl/Kurs/Spis#Main" title="O nas">O NAS
</a></li> <li class="offer"><a href="http://cufon.shoqolate.com/generate/" title="Portfolio">PORTFOLIO
</a></li> <li><a href="http://www.iconfinder.net/" title="Oferta">OFERTA
</a></li> <li class="contact"><a href="http://centrumpsd.pl/" title="Kontakt">KONTAKT
</a></li>
<a id="logo" href="index.html" title="WebDesign"> <img src="logo.png" alt="WebDesign" />
<div id="gora2"> dwaaaa dwaaa dwaaaa
<div id="box">afklgsdlgksdlgklsdgklsdk;gsdg
</div> <div id="box1">gasgsdgsdgsdagads
</div>
<div id="stopka">stopkaa stoopkasdfasdfgasdg
</div>
Zrobiłem tak jak mówiłeś, box ustawiony jest tak jak chciałem ale box1 chciałbym ustawić po prawej stronie i wtedy zrobić margines od prawej ponieważ teraz rozwala mi stronę