Advanced search  

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

Pages: [1]   Go Down

Author Topic: need help with height of table  (Read 2758 times)

0 Members and 1 Guest are viewing this topic.

alptraum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://alptraum.us
need help with height of table
« on: March 04, 2004, 10:45:45 pm »

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://forum.coppermine-gallery.net/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
Logged

Widi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
    • http://www.widi.tk
need help with height of table
« Reply #1 on: March 05, 2004, 02:02:06 am »

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  :?:
Logged

alptraum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://alptraum.us
need help with height of table
« Reply #2 on: March 05, 2004, 06:49:19 am »

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
Logged

alptraum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://alptraum.us
need help with height of table
« Reply #3 on: March 05, 2004, 07:27:33 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 18 queries.