Changing the Table Header Backgrounds to Images Changing the Table Header Backgrounds to Images
 

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]

Main Menu

Changing the Table Header Backgrounds to Images

Started by lucyw1986, March 11, 2008, 09:36:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lucyw1986

Here's my gallery:

http://www.sophia-b.org/gallery

As you can see I've managed to changed the some of the table headers so that they have an image as a background, but I can't seem to do it for the album titles, as shown here:

http://www.sophia-b.org/gallery/index.php?cat=48

I've tried changing the coding to this, but it doesn't seem to work:

.tableh1 {
        background-color: #D5D5D5;
        background-image: url(images/header_bg2.jpg);
        color : #51657F;
        padding-top: 3px;
        padding-right: 3px;
        padding-bottom: 3px;
        padding-left: 3px;
        border-bottom:#75808F solid 1px;

}

.tableh1_compact {
background-color: #D5D5D5;
        background-image: url(images/header_bg2.jpg);
        color : #51657F;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
        border-bottom:#75808F solid 1px;
}

.tableh2 {
        background-color: #D3D3D3;
        background-image: url(images/header_bg3.jpg)
        color : #858585;
        padding-top: 3px;
        padding-right: 3px;
        padding-bottom: 3px;
        padding-left: 3px;
}

.tableh2_compact {
        background-color: #D3D3D3;
        background-image: url(images/header_bg3.jpg)
        color : #858585;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}


Any help would be much appreciated

VEGA

background-image: url(images/header_bg2.jpg);




try it

background-image: url(themes/mytheme/images/header_bg2.jpg);

steveeh131047

Semicolon needed at the end of the background-image CSS lines.

Your images work fine for me when I edit your CSS using Firebug.

Steve