Album mod: Background images disappear with friendly URLs

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
skypanther

Album mod: Background images disappear with friendly URLs

Post by skypanther »

I'm building http://wendycannon.com/

The two background images are set with styles on the html and body tags. These work fine on all the pages except in the galleries. For example, check http://wendycannon.com/gallery/murals_a ... rooms.html

But, if I access the same page without the friendly URL, the background images show up:

http://wendycannon.com/index.php?page=m ... en_s_rooms

I'm using the built-in friendly url feature of v0.13 with mod_rewrite enabled. I'm using Album 0.5 to create the galleries.

The friendly URL is made to look as if it's loading from the gallery directory. So, references to the background images will be off--they're actually in the /images folder not the /gallery/images folder. Is there perhaps a mod_rewrite rule I need to add? Or is there another fix?

Thanks,
Tim
skypanther

Re: Album mod: Background images disappear with friendly URLs

Post by skypanther »

Nevermind, I was making it too complex. All I needed to do was use absolute paths in my css rules that applied the background images. All set. Now, if I could just get IE to honor the background-attachment:fixed attribute on that right graphic!

Tim
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album mod: Background images disappear with friendly URLs

Post by Dr.CSS »

IE ha dream on...
Locked

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