I am a beginner at web design and I am in the process of developing my own website. I tried creating a background behind the website for the first time and was successful, but for some reason on the very ends of the page there is still a white border. Here is my website : http://stream4sports.com
Is there way to make it automatically connect to all sides? if that made any sense haha. Any help would be greatly appreciated, thank you.
10-29-2012, 05:48 PM
cbVision
I don't see the white border, but you may want to be sure you set the margin and padding to zero on the body and html elements.
Code:
html, body {margin: 0; padding: 0;}
Also, you are setting width to 1080. You need to specify px, %, em, etc.
10-29-2012, 06:15 PM
mafai44
Thank you, I ended up finding the answer on search.. for anyone that has a similar problem I just used this in my CSS code and it stretched my background behind the site out.