August 28, 201214 yr Hi i got the problem when i restoring down the firefox , my web site i squzzing up and nothing stays in place. I was trying everything i could but its just getting worse My web page is www.htmluj.ugu.pl Some pictures: My index.html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Learn Basic HTML,XHTML AND CSS</title> <link type="text/css" href="theme.css" rel="stylesheet" /> <link type="text/css" href="div.css" rel="stylesheet" /> </head> <body> <div id="page-wrap"> <div id="head"></div> <ul id="menu"> <li><a href="index.html">Strona Glowna </a></li> <li><a href="web/html.html">HTML </a></li> <li><a href="web/xhtml.html">XHTML </a></li> <li><a href="web/css.html">CSS </a></li> </ul> <div id="pup"><div id="cent"><h3>Naucz sie jak zrobic wlasna strone internetowa uzywajac jezykow Html, Xhtml, Css.</h3> <p>Witamy na stronie htmluj.ugu.pl!.</p> </div> </div> <div id="menuright"> <div id="news" title="News" ></div> <h1>Witamy</h1> <p>Witamy na nowej stronie <q>htmluj.ugu.pl</q></p> <p>Ta strona powstala dla poczatkujacych ktorzy chca poznac podstawy html, css oraz xhtml <a href="/web/witamy.html">(Wiecej...)</a></p> <p class="posted">Posted 28/08/2012 </p> <hr></hr> </div> <div id="menuleft"> </div> </div> </body> <div id="footer"> </div> </html> My divs #menuright { margin: 20px 10px 10px 10px; float: right; width:600px; height:800px; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; background-color:#000000; } #menuleft { margin: 20px 10px 10px 10px; float: left; width:300px; height:800px; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; background-color:#000000; } #footer { background-image: url(http://htmluj.ugu.pl/Images/stopka.jpg); background-position: bottom; height:40px; } #head { background: url(http://htmluj.ugu.pl/Images/images.jpg) repeat-y center top; width: 951px; height: 210px; -webkit-border-radius: 40px 40px 0px 0px; -moz-border-radius: 40px 40px 0px 0px; border-radius: 40px 40px 0px 0px; } #page-wrap { background: url(http://htmluj.ugu.pl/Images/bg-brown.jpg) repeat-y center top; height:2000px; margin-top: 3%; -webkit-border-radius: 40px 40px 0px 0px; -moz-border-radius: 40px 40px 0px 0px; border-radius: 40px 40px 0px 0px; } #cent { text-align: center; } #menu li { display: inline; list-style: none; padding: 0; } #menu li a { border: 1px solid black; padding: 25px 30px 25px 30px; text-decoration: none; color:white; margin-left: -5px; background-image: url('http://htmluj.ugu.pl/Images/nav.jpg'); background-position: LEFT; -webkit-transition: all 0.8s ease-in-out; -moz-transition: all 0.8s ease-in-out; -o-transition: all 0.8s ease-in-out; } #menu li a:hover { color: blue; background-position:right; } #news { width:107px; height:133px; background-image: url("http://htmluj.ugu.pl/Images/news.jpg"); float: left; margin: 30px 0px 15px 10px; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; } #menuinside { margin: 100px 10px 10px 10px; float: left; width:750px; height:300px; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; background-color:#000000; } #pup { margin-top: 5%; } And here is my another .css file body { background-image: url("Images/envn2.jpg"); background-repeat: no-repeat; background-position: top center; background-attachment: scroll; color: white; margin-right:25%; margin-left:25%; background-color:#000000; } p.cent { text-align: center; } ul{ list-style-type:none; margin:0; padding:0; margin-right:20%; margin-left:23%; } hr { border-bottom:dotted grey; } p.posted { color:grey; font:ariel; font-size: small; } p{ font: ariel; font-size: 14px; } Edited August 28, 201214 yr by dami822
August 28, 201214 yr Author Omg im so stupid everything i suppost to do is to put body{width:1900px; margin: 0;} cam moderator or admin delete this thread thank you and sorry for taking time
Create an account or sign in to comment