Page 1 of 1

CSS Issue

Posted: Mon 9. Nov 2009, 12:38
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

Re: CSS Issue

Posted: Mon 9. Nov 2009, 13:37
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)

Re: CSS Issue

Posted: Tue 10. Nov 2009, 11:55
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 :)