Click to See Complete Forum and Search --> : How to make nice bg in body?


toplisek
07-29-2009, 08:59 AM
I have code like:

* {
margin : 0;
padding : 0;
}
body {
margin : 7px 0 0 0;
/*background : #F3F3F3;*/
background : #FFFFFF url(bgforbody.jpg) repeat-x scroll top center;
}


How to make it nice as bg is interupted with vertical lines?

peachskittle
07-30-2009, 05:21 PM
your code is fine.

The image isn't. If you look at it zoomed way big, you can see that on either side of the image is the "vertical line" you see, at half width. When the image repeats, it repeats the lines too, double. If you can crop those edges out of your bkg, you will be fine.

toplisek
07-31-2009, 03:46 AM
I have zoomed 800x and do not see this as you posted. Maybe I have to zoom larger.
Why can be used line-height:140%; in body background CSS?

peachskittle
07-31-2009, 10:08 AM
Maybe you do.
I've attached a cropped image...

As for the line height question, I'm not sure what you are asking. Though I think I answered this in another thread yesterday, but I didn't know what you were asking for sure there either.