Log in

View Full Version : Center BG Image - Make Header Clear


OC Construction
01-04-2015, 05:09 PM
I have two questions please... pulling my hair out.

1) I want to add a bg image and have it centered, NOT full page. Center and repeat downward.

2) I need the header to be clear/transparent and to be able to have it resize vertically as I add a new header image.

Thanks for any help. I have tried so many codes, none have worked. I am using VB5

Replicant
01-05-2015, 01:01 AM
Site looks good (footer needs a little tweak), but the forum link is broken. throws a 404 page.

OC Construction
01-05-2015, 01:24 AM
Thanks for the compliment, but that site link in my signature line is not the site I am speaking about. Also, that is not VB.

katuri747
01-05-2015, 09:30 AM
use these css properties for the html body:

background-image: url('smiley.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;

I did the same for one my railway forum.