Hello.I have problem with body width ! Here is my code so can you tell me what to do to fix it : HTML:
<!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"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Clean WebDesign Studio</title><link href="style.css" rel="stylesheet" type="text/css"/></head><body><div id="container"><div id="header"> </div> <!--KRAJ HEDERA --> <ul id="nav"> <li><a href="#" class="active">HOME</a></li> <li><a href="#">ABOUT</a></li> <li><a href="#">WORK</a></li> <li><a href="#">BLOG</a></li> <li><a href="#">CONTACT</a></li> </ul> <!--KRAJ NAVIGACIJE--><div id="content"></div> <!--KRAJ SADRZAJA --><div id="tekst1"></div> <!--KRAJ TEKST 1 --><div id="tekst2"></div> <!--KRAJ TEKST 2 --><div id="tekst3"></div> <!--KRAJ TEKST 3 --><div id="footer"></div> <!--KRAJ FOOTERA --> </div><!--KRAJ KONTEJNERA --> </body></html>
CSS:
/*######################*//*MY PORTFOLIO WEBSITE*//*######################*/html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}/*#################################*/ /*MAIN CSS OF MY WEBSITE*//*##############################*/ #container {background-image:url(images/background.jpg);width:1000px;height:800px;} /*#############################*//*NOT THAT MUCH IMPORTANT CSS*//*############################*/
EDIT: This is just my star of website because i dont wont to go forward with doing something other , because i wont to fix that background ! Thank you very much for your help and be fast please !