Background question - level 2 !

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"
Post Reply
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Background question - level 2 !

Post by fredt »

Is there a way to use some kind of background: url(uploads/images/binary.jpg); background-attachment: fixed; in "Layout" css, in div#main ?

I'd like to have a background image in the Main (content) section (that's OK with Background) - but it shouldn't move with the page !   Any z dimension trick for this ?

TIA
Fred
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Background question - level 2 !

Post by fredt »

Well, yes & no.... :-\

I mean, I want to achieve such an effect - but W3Schools example only works because it applies the background to . If we change their code into , it fails.

I'd like to apply this background to CMSMS's "div#main" css: but it moves with the text (under IE - It doesn't appear in Firefox).

I created a test page at http://www.cabinet-cilex.com/index.php?page=Test ...
image 1 applies to (like in the sample) : works fine
image 2 (my choice) applies to div#main : appears only in IE, but it moves... I'd like it NOT to move!

Any idea ?
Post Reply

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