CSS Issue

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
vinchenzison
Posts: 13
Joined: Sun 30. Aug 2009, 12:21
Location: Nuremberg, Germany / Hertfordshire, UK

CSS Issue

Post by vinchenzison »

Hi,

Just back from a little Swiss holiday and my brain is too relaxed and isn't in gear yet so am asking for help.

I have an issue with the background image of a div scrolling in IE. Have a look at the following page **Fixed** and you'll see that scrolling works as it should in Firefox (background not scrolling). Using IE causes the background to scroll which is not the desired result. I have tried adding background-attachment: fixed; on the #bgright div but this just breaks it and causes the background image to be positioned up and left. Maybe my understanding of background-attachment isn't right.. :?:
Any pointers/help is much appreciated.


Thanks for your time

Regards
James
Last edited by vinchenzison on Tue 10. Nov 2009, 13:55, edited 1 time in total.
User avatar
swisscheese
Posts: 138
Joined: Mon 19. Feb 2007, 16:37
Location: Solothurn, Schweiz

Re: CSS Issue

Post by swisscheese »

Hi James

Try to fix the missing </div> on html output line 107 (there's a <div> instead). Perhaps this will fix the issue...

Gerd

btw: hope you enjoyed swiss holiday 8)
vinchenzison
Posts: 13
Joined: Sun 30. Aug 2009, 12:21
Location: Nuremberg, Germany / Hertfordshire, UK

Re: CSS Issue

Post by vinchenzison »

Thanks for the pointer. On my HTML output the div is opened then closed straight after so not thinking it's that.
I've sorted the issue now anyway by adding
* html #bgright {
background-attachment:fixed;
background-position:376 119;
}

....but, I seem to have the issue with the guestbook page now!

Thun was very nice thanks :)
Post Reply