Re: [css-d] Odd background image behavior, mystery margin
> http://www.pixelmech.com/ (site) > http://www.pixelmech.com/wp-content/themes/orangey/style.css (css) > > You'll note the "pixelmech" logotype has a gradation behind it, and that > it is spaced some > distance down from the top of the page html, body {margin: 0;padding: 0;} > the bg image will jump down 100px or so. I don't know why this happens, > nor why the border "fixes" > it. Any suggestions would be great. Might be the collapsing margins we've been seeing a lot on the list. :) http://css-discuss.incutio.com/?page=CollapsingMargin Add "padding: 1px 0;" to #base and you an safely take out your border. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Odd background image behavior, mystery margin (solved)
--- CJ Larson <[EMAIL PROTECTED]> wrote: > html, body {margin: 0;padding: 0;} Aaugh..how in the world did I miss that one. I was playing around with default styles so I didn't set it. Thanks for pointing that out. > Might be the collapsing margins we've been seeing a lot on the list. :) > > http://css-discuss.incutio.com/?page=CollapsingMargin > > Add "padding: 1px 0;" to #base and you an safely take out your border. Great, that indeed did fix the problem. I'll have to look more into that when I have time! Tom http://www.pixelmech.com/ "I was in a convenience store reading a magazine and the clerk came up to me and said "This is not a library". so I said, "All right, I will talk louder then!" __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/