September 21, 201016 yr As you see from the image above i have a large gap which i can't seem to get shot of. This is at the bottom of my design, Ive tried changing codes etc.. but i either set the whole design of set or gets bigger. Heres the css: .container{ width: 950px; height: 300; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; -moz-border-radius-topleft: 30px; -moz-border-radius-topright: 30px; -moz-border-radius-bottomright: 30px; -webkit-border-top-left-radius: 30px; -webkit-border-top-right-radius: 30px; -webkit-border-bottom-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: -100px 0px ; padding: 10px 0px; } .content{ width: 900px; height: 300; border-radius: 10px ; -moz-border-radius: 10px ; -webkit-border-radius: 10px ; border: solid; color: #000000; background: #ffffff; margin: 0px auto; padding: 0px; } .copybox{ width: 400px; height: 40; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; -moz-border-radius-bottomright: 30px; -moz-border-radius-bottomleft: 30px; -moz-border-radius-topright: 30px; -webkit-border-bottom-right-radius: 30px; -webkit-border-bottom-left-radius: 30px; -webkit-border-top-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: 75px 0px; padding: 0px; } This is my very first design and would like to knock out the little edit. Thanks.
September 21, 201016 yr Can you post the HTML so we can see where it is? Also you need to add px to all your height values. .container{ width: 950px; height: 300px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; -moz-border-radius-topleft: 30px; -moz-border-radius-topright: 30px; -moz-border-radius-bottomright: 30px; -webkit-border-top-left-radius: 30px; -webkit-border-top-right-radius: 30px; -webkit-border-bottom-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: -100px 0px ; padding: 10px 0px; } .content{ width: 900px; height: 300px; border-radius: 10px ; -moz-border-radius: 10px ; -webkit-border-radius: 10px ; border: solid; color: #000000; background: #ffffff; margin: 0px auto; padding: 0px; } .copybox{ width: 400px; height: 40px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; -moz-border-radius-bottomright: 30px; -moz-border-radius-bottomleft: 30px; -moz-border-radius-topright: 30px; -webkit-border-bottom-right-radius: 30px; -webkit-border-bottom-left-radius: 30px; -webkit-border-top-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: 75px 0px; padding: 0px; } This might fix it. But if not post the HTML.
September 21, 201016 yr Author Seems to be still there? Heres both the html and css. You can also see a live demo at www.netslee.co.uk/netslee body { background-color: #666666; font-size: 15px; color: #564b47; padding: 150px; margin: 0px; text-align: center; } .logo{ width: 800px; height: auto; margin: 0px auto; padding: 0px; } .container{ width: 950px; height: 650px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; -moz-border-radius-topleft: 30px; -moz-border-radius-topright: 30px; -moz-border-radius-bottomright: 30px; -webkit-border-top-left-radius: 30px; -webkit-border-top-right-radius: 30px; -webkit-border-bottom-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: -100px 0px ; padding: 10px 0px; } .content{ width: 900px; height: 300px; border-radius: 10px ; -moz-border-radius: 10px ; -webkit-border-radius: 10px ; border: solid; color: #000000; background: #ffffff; margin: 0px auto; padding: 0px; } .copybox{ width: 400px; height: 40px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; -moz-border-radius-bottomright: 30px; -moz-border-radius-bottomleft: 30px; -moz-border-radius-topright: 30px; -webkit-border-bottom-right-radius: 30px; -webkit-border-bottom-left-radius: 30px; -webkit-border-top-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: 75px 0px; padding: 0px; } /* Font */ h1 { font-size: 26px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } h2 { font-size: 22px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } h3 { font-size: 18px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } p { font-size: 14px; font-style: drayton; color: #000000; margin: 10px 0px 15px 0px; padding: 0px; } <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>NetsLee - My Coummuinty Site</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <link href="style.css" rel="Stylesheet" type="text/css" media="screen" /> </head> <body> <div class="container"> <div class="logo"> <IMG SRC="images/logo.png" ALT="some text" WIDTH=800 HEIGHT=100> </div> <div class="clear"></div> <div class="content"> <p>Welcome to NetsLee my Genreal Discussion Forum with a Blog for interesting blog posts. Its 100% free to join the community and takes a matter of a few clicks to join and chat with others while commenting on the blog posts.</p> <p>NetsLee was setup so I could create a community for friends and close friends to come and have some banter. You will see no forum services, or adverts placed on NetsLee at any time.</p> <br /><br /><br /><br /><br /><br /><br /> </div> <p>I also run a private web hosting site. So if you like your own forum, blog or even website let me know or click the image below.</p> <center><A HREF="http://www.peeweehosting.co.uk"><IMG SRC="http://www.netslee.co.uk/images/hosting.png" ALT="Home"></A></center> <p>This website is best viewed in Chrome, Sarfari, FireFox.</p> <p>© <a href="index.html">NetsLee.co.uk</a></p> <a href="contact.html">Contact Me</a> </div> <div class="clear"></div> <div class="copybox"> <p>This Site Was Designed By Leigh Sullivan AKa About Lee</p> </div> </body> </html>
September 21, 201016 yr <div id="wrap"><!-- added wrapper --> <div class="container"> <div class="logo"> <img src="images/logo.png" alt="some text" width="800" height="100"> </div> <div class="clear"></div> <div class="content"> <p>Welcome to NetsLee my Genreal Discussion Forum with a Blog for interesting blog posts. Its 100% free to join the community and takes a matter of a few clicks to join and chat with others while commenting on the blog posts.</p> <p>NetsLee was setup so I could create a community for friends and close friends to come and have some banter. You will see no forum services, or adverts placed on NetsLee at any time.</p> <br><br><br><br><br><br><br> </div> <p>I also run a private web hosting site. So if you like your own forum, blog or even website let me know or click the image below.</p> <center><a href="http://www.peeweehosting.co.uk"><img src="http://www.netslee.co.uk/images/hosting.png" alt="Home"></a></center> <p>This website is best viewed in Chrome, Sarfari, FireFox.</p> <p>© <a href="index.html">NetsLee.co.uk</a></p> <a href="contact.html">Contact Me</a> </div> <div class="clear"></div> <div class="copybox"> <p>This Site Was Designed By Leigh Sullivan AKa About Lee</p> </div> </div><!-- close wrapper --> body { background-color: #666666; font-size: 15px; color: #564b47; /*padding: 150px; remove padding */ margin: 0px; text-align: center; } #wrap { /*added wrap rules to center site */ width:950px; margin:0 auto; } .logo{ width: 800px; height: auto; margin: 0px auto; padding: 0px; } .container{ width: 950px; height: 650px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; -moz-border-radius-topleft: 30px; -moz-border-radius-topright: 30px; -moz-border-radius-bottomright: 30px; -webkit-border-top-left-radius: 30px; -webkit-border-top-right-radius: 30px; -webkit-border-bottom-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; /* margin: -100px 0px ; remove margin */ padding: 10px 0px; } .content{ width: 900px; height: 300px; border-radius: 10px ; -moz-border-radius: 10px ; -webkit-border-radius: 10px ; border: solid; color: #000000; background: #ffffff; margin: 0px auto; padding: 0px; } .copybox{ width: 400px; height: 40px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; -moz-border-radius-bottomright: 30px; -moz-border-radius-bottomleft: 30px; -moz-border-radius-topright: 30px; -webkit-border-bottom-right-radius: 30px; -webkit-border-bottom-left-radius: 30px; -webkit-border-top-right-radius: 30px; border: solid; color: #ffffff; background: #7AA9DD; margin: -25px 0 0; /*changed margin*/ padding: 0px; } /* Font */ h1 { font-size: 26px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } h2 { font-size: 22px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } h3 { font-size: 18px; font-weight: lighter; color: #666666; margin: 0px 0px 20px 0px; padding: 0px; } p { font-size: 14px; font-style: drayton; color: #000000; margin: 10px 0px 15px 0px; padding: 0px; }
Create an account or sign in to comment