Main style stops at the end of the scrollable area... Main style stops at the end of the scrollable area...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Main style stops at the end of the scrollable area...

Started by joehaines, October 31, 2006, 03:07:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joehaines

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

Gizmo

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

#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.
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

Thanks for spotting that one   :-\

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

Thanks for all your help!

Gizmo

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.

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