Background image - width

Need help with your forum? Ask away. Remember though that there's always http://www.phpbb.com/community

Moderator: Experts

Post Reply
Hardcore_Shad
Posts: 15
Joined: Mon Mar 22, 2010 7:06 am

Background image - width

Post by Hardcore_Shad »

Hi guys!

This might sound like a very easy question but I haven't got the answers even with a few hours of trial and error and research. Any inputs would be most appreciated.

What I need: to be able to resize the background image in subsilver / prosilver to the resolution of the viewer.
Scenario: I am using a subsilver based style which uses a css .body, # wrapheader, # wrapmenu, # wrapbody, # wrapfooter ID's
My code in CSS:

Code: Select all

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
    background-image: url('http://www.zerosightaccessories.com/padyakph_forum/images/forum_images/pph_fbg_slogan2.jpg');
	background-attachment: fixed;
     	background-repeat: repeat;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #323D4F;
	background-color: #BFCBDD;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
}
Question: How do I isolate the width: 100% and height: 100% of the image above without taking out the narrow-width properties of the forum, which I have already set in the #wrap* properties? (adjusting the body width and height would affect overall width and height of the forum)

Thanks much!
Post Reply