// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
<tr>
<td class="tableh1" width="80%"><b>{CATEGORY}</b></td>
<td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
<td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
</tr>
<!-- END header -->
i want to set image background for the whole row
how
Add your CSS class to the style sheet. Then change <tr> to <tr class="classname">. Look in style.css for tableh1 to see how it's properly done.
there is set just a colour for background
how i can set image for background via css?
nevermind, i found it :>
just in case someone else needs it
.tableh1 {
background-image:
url('http://domain.com/thepathtotheimage.gif');
background-repeat: repeat-x
color : #FFFFFF;
padding-top: 3px;
padding-right: 10px;
padding-bottom: 3px;
padding-left: 10px;
}
I have a similar question - regarding the current theme I am modding a bit.
I want the category list table to match the rest of the theme a bit better. I am using singapore.
The main table is a simple grey background and I would like it to be the graphic layout that is part of the rest of the theme
The gallery is [url http://www.griffhome.com/photos] here.[/url]
When viewing the individual albums, the resulting table style is how I want to see the main table on the first gallery page. Also, the slideshow is the same bland grey - it would be cool to get the slideshow to also be the graphic backround. hmmm
It seems this is a very simple thing.... but after looking at the css... the php and the html template as well as the docs and faqs... I'm still looking :-) :o
Any help ? Thanks!