Background question

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Zuke

Background question

Post by Zuke »

I am trying to figure out where to put a background tab in my layout template. 

http://www.infinitegeekonline.com/cms/index.php

The binary you see is a background image.  I don't want it in the area with the text, I want it outside in the "null" space.  Any ideas?

IIS, PHP5, MySQL5, CMS-M-S 11.2

Thanks
westis

Re: Background question

Post by westis »

Move background: url(uploads/images/binary.jpg);  to the body element in the Colours stylesheet. In the Colours stylesheet, also make sure that the background for div#page is set to #ffffff (or just #fff) or whatever colour you wish for the page (it is now #fff fff, which is not valid CSS as it has a space in there).

That should do the trick!

:D
Zuke

Re: Background question

Post by Zuke »

Awesome!  Thank you very much!
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am
Location: Southern France

Re: Background question

Post by fredt »

You also can use this:
background-attachment: fixed; so it won't move anymore,
and (not so useful here) background-position:  center; or background-position:  Xpx Ypx;  to set it's position

http://www.w3schools.com/css/css_background.asp has more details and allows to test online!

FredT
Zuke

Re: Background question

Post by Zuke »

That's good to know too!  The background I have needs to be tiled, so no need to have it attached or anchored anywhere, but I might need it in the future.

Anyone have any ideas on the flash question in my other post?
Locked

Return to “Layout and Design (CSS & HTML)”