need help with height of table need help with height of table
 

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

need help with height of table

Started by alptraum, March 04, 2004, 10:45:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alptraum

hi,
i'm pretty new to the whole html/css thing. Somehow managed (for the most part) to adapt the gallery to my site, but need help with the following:

Been trying to figure out where to reduce the height of the table where the final picture is diaplayed. The width is fine, perfect fit for horizontal images. but the height has too much padding for both horizontal and vertical images. By reducing the height, I'm just trying to squash the page a bit so no scrollbar pops up. Any help would be greatly appreciated!

Here's what I mean:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Falptraum.us%2Fcopperhlp.jpg&hash=e03d85bd0fca3d3dd4ea03d57a4b6cc7a1b54207)[/img]

Also, am I correct in assuming if I remove the (hard to see up there) black table border around the image that the border will also disappear in the thumbnail tables? Those tables seem to share same border settings. Is there any way to do them seperately? I'd like to eliminate the border above, but want to keep the border in thumbnail tables. Yeah, I can get picky lol.

sorry, lotsa Q's on this end  :roll: would be cool if anyone could help me fix this stuff though  :D

Widi

it's in your theme.php

find this line

Quote// HTML template for intermediate image display
$template_display_picture = <<<EOT
        <tr>
                <td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;">

Values in Red need to be changed.
in my theme.php iets around line 510.

don't know about the border setting.... someone else  :?:

alptraum

sweet! thanks, bud.

as to my other question, you pointed me in the right direction. I noticed the intermediate image display in theme.php was pointed at class "tableb" so i looked it up in the css file and it was grouped together with some other tables - giving all the same settings. I took it out of the group and added a new line for that table giving it the parameters I wanted.

although doing so didn't work for the border, it did give it an individual background.

thanks  :D

alptraum

ok, lol... i think the border-issue can be solved the same way - by ungrouping. i want to keep the border for the thumbnails, but trying to get rid of it for the intermediate pic / navmenu.

If i remove border from "maintable" in css, BOTH borders (from thumbs + intermediate) disappear. How can I ungroup these or fix the problem? :(

Anyone? Please? lol