PDA

View Full Version : Style.css help



thepriceoflust
Feb 21st, 2010, 06:14 PM
I have this code... Trying to make the image transparent. Also there is a little sliver at the bottom of the page that this background doesn't cover. Is there a way to repeat it or something?



**
* Main design
*/

body {
background:#d9d9d9 url(./images/BG.jpg) repeat-x 0 0;
font-family:Arial, Helvetica, Verdana, sans-serif;
font-size:13px;
line-height:normal;
}

VIPStephan
Feb 21st, 2010, 06:53 PM
What happens if you add:


margin: 0;
padding: 0;

?

thepriceoflust
Feb 21st, 2010, 07:04 PM
nothing at all

VIPStephan
Feb 22nd, 2010, 09:59 AM
Well, then you won’t get around showing us your page because one CSS rule doesn’t tell us anything about how your image looks and how you have structured your HTML.