July 21, 200818 yr Hiya, Please please please tell me what I'm doing wrong...Layout is stacked but I've just been looking at it for toooooooo long and my computer is in serious danger of being beaten up, yes thats right its not me being dumb, its my BLOODY computer!!! ARGH (honest) 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>Untitled Document</title> <link href="style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { background-color: #000000; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .style1 { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: medium; font-weight: bold; } .style7 {color: #FFFFFF} --> </style> <script type="text/javascript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body onload="MM_preloadImages('images/Homeover.png','images/AboutUsover.png','images/Services.png','images/Contactusover.png')"> <div class="wrapper"> <div class="banner"><img src="images/banner.png" alt="C. O'Dell Dry Lining Banner" width="1200" height="215" border="0" usemap="#Map" /> <map name="Map" id="Map"> <area shape="poly" coords="44,91,189,53,208,122,63,161" href="www.senco.com" alt="Senco Tools" /> <area shape="rect" coords="588,193,791,211" href="#" alt="Call Cambridge " /> </map></div> <div class="home"><img src="images/Home.png" width="293" height="102" id="Image1" onmouseover="MM_swapImage('Image1','','images/Homeover.png',1)" onmouseout="MM_swapImgRestore()" /></div> <div class="aboutus"><img src="images/AboutUs.png" width="301" height="102" id="Image2" onmouseover="MM_swapImage('Image2','','images/AboutUsover.png',1)" onmouseout="MM_swapImgRestore()" /></div> <div class="services"><img src="images/Services.png" width="281" height="102" id="Image3" onmouseover="MM_swapImage('Image3','','images/Servicesover.png',1)" onmouseout="MM_swapImgRestore()" /></div> <div class="contactus"><img src="images/Contactus.png" width="325" height="102" id="Image4" onmouseover="MM_swapImage('Image4','','images/Contactusover.png',1)" onmouseout="MM_swapImgRestore()" /></div> <div class="middleleft"> <div align="left"> <p class="style1"><strong><span class="style1">Welcome to C. O'Dell Dry Lining</p> <p align="center" class="style1">C. O'Dell are specialists in drylining, offering attractive and affordable solutions for both residential and commercial interior building design requirements<br /> <br /> We constantly strive to maintain the highest standards of quality, health and safety. The proof of our ability to succeed in this goal is demonstrated over and over by our satisfied clients.</p> <p> </p> <p> </p> <p> </p> </div> <div class="middleright"><img src="images/middleright.png" /></div></div> <div class="undermiddleleft"><img src="images/undermiddleleft.png" /></div> <div class="undermiddlemiddle"><img src="images/undermiddlemiddle.png" /></div> <div class="undermiddleright"><img src="images/undermiddleright.png" /></div> <div class="undermiddlefarright"><img src="images/middleright-12.png" /></div> <div class="abovebottomleft"><img src="images/abovebottomleft.png" /></div> <div class="abovebottommiddle"><img src="images/abovebottommiddle.png" /></div> <div class="abovebottomright"><img src="images/abovebottomright.png" width="419" height="287" /></div> <div class="abovebottomfarright"><img src="images/abovebottomfarright.png" /></div> <div class="lefttoscroller"><img src="images/lefttoscroller.png" width="308" height="84" /></div> <div class="slider"><img src="images/Slider.png" width="474" height="84"/></div> <div class="righttoscroller"><img src="images/righttoscroller.png" width="419" height="84" /></div> <div class="leftfooter"><img src="images/footerleft.png" /></div> <div class="footerright"><img src="images/footerright.png" border="0" usemap="#footerdesigned" /> <map name="footerdesigned" id="footerdesigned"><area shape="rect" coords="365,35,783,54" href="www.styledwebdesign.co.uk" alt="designed by styled" /> </map></div> </div> </body> </html> CSS .wrapper { height: 1100px; width: 1200px;position: relative; margin:0 auto; }.banner { height: 215px; width: 1200px;}.home { float: left; height: 102px; width: 293px;}.services { float: left; height: 102px; width: 281px;}.contactus { height: 102px; width: 325px; float: left;}.middleleft { float: left; height: 244px; width: 533px; padding-left: 150px; background-image: url(images/Middleleft.png);}.middleright { float: left; height: 244px; width: 517px;}.undermiddleleft { float: left; height: 107px; width: 152px;}.undermiddlemiddle { float: left; height: 107px; width: 528px;}.undermiddleright { float: left; height: 107px; width: 421px;}.undermiddlefarright { float: left; height: 107px; width: 98px;}.abovebottomleft { float: left; height: 287px; width: 152px;}.abovebottommiddle { float: left; height: 287px; width: 529px; display: block;}.abovebottomright { float: left; height: 287px; width: 419px;}.abovebottomfarright { float: left; height: 287px; width: 100px;}.lefttoscroller { float: left; height: 84px; width: 308px;}.slider { float: left; height: 84px; width: 474px;}.righttoscroller { float: left; height: 84px; width: 415px;}.aboutus { float: left; height: 102px; width: 301px;}.leftfooter { float: left; height: 61px; width: 307px;}.footerright { float: left; height: 61px; width: 893px;}.contactleft { float: left; height: 463px; width: 861px; background-image: url(images/Contactleft.png);}.contactright { float: left; height: 463px; width: 339px;}.contactmiddle { background-image: url(images/Contactbottomleft.png); float: left; height: 259px; width: 1200px;}.contactfooter { height: 61px; width: 1200px; float: left;} I haven't used photoshop for a loyout before not sure if I like it....
Create an account or sign in to comment