RSprinkel Posted November 21, 2007 Share Posted November 21, 2007 Hi all, Ok here is my problem. I am using a page that calls a .css file for all the text and stuff and it also has an include statement to call a head.htm file for the links and the logo. What I want to do is display a background image in the header section (head.htm) and a grey background in the main area. When I try to include the image in the header and and the grey background color in the main page I get the background image from the header all the way down the page. How can I do this with out having either an all grey page or a page with the header image all the way down the page? Thanks much in advance. RSprinkel Quote Link to comment https://forums.phpfreaks.com/topic/78327-header-help/ Share on other sites More sharing options...
phpQuestioner Posted November 22, 2007 Share Posted November 22, 2007 too stop the background image from repeating; do this: background:url('headerImageName.jpg') no-repeat and if you set an objects background color; it will continuously fill that object. the only way around this is to create a background image for your main area with a graduate fill. Quote Link to comment https://forums.phpfreaks.com/topic/78327-header-help/#findComment-396406 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.