Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Main style stops at the end of the scrollable area...  (Read 3359 times)

0 Members and 1 Guest are viewing this topic.

joehaines

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Joe Haines .com
Main style stops at the end of the scrollable area...
« on: October 31, 2006, 03:07:52 pm »

Hi,

I have incorporated the great Tentacle theme into my website..basically i just stripped it out, included my own css file into the theme.php file and then whacked the beef of the template.html file into my own template - a hack i agree but it has worked on the last four versions of my website - except for this latest...

I have applied a repeating background image to my own container div that has the coppermine content within it (under the menu etc). Yet for some reason this repeating background image only repeats to the bottom of the scrollable area in FF, and then the width of the page is not correct in IE (although the background works, changing the width in the config it does not fix the problem).

Any help with this issue, or if anyone else has seen it before would be great.

It can be seen HERE

http://joehaines.com/CPA/index.php?theme=tentaclenew - take a look in FF & IE (the page does not yet center correctly in Safari, i'm considering fixing this... ;))

Thanks for anyones help in advance!

Joe
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Main style stops at the end of the scrollable area...
« Reply #1 on: October 31, 2006, 04:26:32 pm »

First thing I see in your style.css file is you have to margin-right selectors for #content:

Code: [Select]
#content {
padding: 1em;
margin-right: 17em;
text-align:justify;
width: 550px;
margin-right: -545px;
float: left;
padding-top: -10px;
}

Best if you zip up your theme and attach it here.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

joehaines

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Joe Haines .com
Re: Main style stops at the end of the scrollable area...
« Reply #2 on: October 31, 2006, 04:37:36 pm »

Thanks for spotting that one   :-\

Edited that, attached is the theme file in its current state...

Thanks for all your help!
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Main style stops at the end of the scrollable area...
« Reply #3 on: October 31, 2006, 05:14:16 pm »

I will have to say your opinion of "hack" is a bit off, a better word is "butchered".  ;)

Stramm isn't going to like what you've done to Tentacle but honestly, you need to go back to the beginning. You have <div>'s all over the place and giving many of them widths that shouldn't have. I know several of the id's aren't in the style.css sheet but please put them there and add the necessary properties. Take a look at some of the other themes and see if they don't lend themselves to better modding for what you want. If you've used this theme with other versions of Coppermine then follow the upgrade instructions in the sticky at the top of this board.

I'm willing to help but this is will require a lot of time which at the moment I've short of. Please look through the other themes and replace your background there and I think you'll be happy.

Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.