Hi there.
So basically my div #slidershadow has a background image wich is 1400px wide. But the div only strecthes to around 960px and not 100% when I apply it to it.
What am I doing wrong?
HTML:
Code:<!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>AirWipp</title> <link href="css/styles.css" rel='stylesheet' type='text/css'> <link href="css/reset.css" rel='stylesheet' type='text/css'> </head> <body> <div id="background1"> <div id="content"> <div id="upper"> <img id="logo" src="images/logo.PNG" width="301" height="47" /> <div id="meny"> <img id="button" src="images/Meny1.png" width="71" height="31" /> </div> <div id="herocontainer"> <div id="slidershadow"> <img id="slider" src="images/Slidertest.jpg" height="400" /> </div> </div> <div id="smenu"> </div> </div> </div> </div> </body> </html>
CSS:
Code:body {background-image:url(../images/dirtTextureBgTile.png)} #background1 { margin: 0 auto; background-image:url(../images/Undermitter.png); min-height:1000px; } #content { background-image:url(../images/headerHomeBgTile.png); repeat-x; height:435px; border-bottom:solid 5px #000} #upper {width:960px; height:80px; margin:0 auto; padding-top:50px; } #logo {float:left; } #meny {float:right; height:80px; width:500px; background-image:url(../images/tapeTopnavBg.png); background-repeat:no-repeat} #slider { } #slidershadow {padding: 35px 0 112px 0; background-image:url(../images/heroLightingBg.png); background-repeat:no-repeat; background-position: top center; height:400px; width:100%; } #herocontainer { margin-top: 70px; } #button {margin-top:15px; } #smenu {width:960px; height:80px; background-color:#99FF33; margin:0 auto;}



Reply With Quote

.


. Think I'm here for the long haul though.
. Fixing other designers problems, and they get work, lol.
Bookmarks