January 3, 201115 yr I'm an idiot. My footer wont stretch horizontally ( leaves gaps at sides and at bottom of page). I know it's probably something simple but for the life of me I cant figure it out. Any help is greatly appreciated, Link below. http://rzza.atspace.com/ Edited January 3, 201115 yr by Ryan_Belfast
January 3, 201115 yr Just for info, you have the stylesheet being loaded twice in the header. Also, I don't think you need to have two footers. You seem to have one inside of another. Just stick with one. #footer { width: 100%; height: 50px; margin: 0px; padding: 0px;
January 3, 201115 yr Author Hey, appreciate the reply but your suggested changes do not do anything, at least for me, it actually pushes the image further up the page.
January 3, 201115 yr I've just been looking at the HTML, and you have a load of paragraph tags that are unclosed as well as the footer problem. To resolve the footer problem, you need to add the following to your body tag: margin:0; padding:0; Cheers, Stu
January 3, 201115 yr The reason for your borders are because you haven't reduced the added browser padding and margins. Add the following to your body margin:0; padding:0; Your footer code can be streamlined and fixed by changing to: #footer { width:100%; height:50px; clear:both; background: url("./bg.jpg") repeat-x scroll 0 0 transparent; }
Create an account or sign in to comment