[Solved]: reducing size of tableh1_compact to optimize tab display [Solved]: reducing size of tableh1_compact to optimize tab display
 

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

[Solved]: reducing size of tableh1_compact to optimize tab display

Started by dwo, May 21, 2008, 11:28:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwo

Hello.

I removed the Text before the tabs in thumbnail view with using the theme.php

// Template used for tabbed display
if (!isset($template_tab_display)) { //{THEMES}
$template_tab_display = array('left_text' => '<td width="100%%" align="right" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b></b></td>' . "\n",
    'tab_header' => '',
    'tab_trailer' => '',
    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
);
}
}  //{THEMES}


Now, I have only the tabs displayed, to the left.

As I have the tabs on top of the page, I want to reduce the width of the small table which covers the tabs to the size of the tabs to the left.

I have found out, that the table is called "tableh1_compact" in the CSS.

I can change the color etc. but I cannot change the size.

Could anyone help me? Thank You.

Regards, Dietmar

Joachim Müller


dwo

#2
Hi.

solved, (at least for me)

I did simply change the color of table1 and the color of the border of the maintable in the css.

I am sorry that I cannot post the enitre gallery, because it is work in progress, not online yet and the one who pays me doesnt want to see it online now. I hope you understand.

Here is a glimpse of it. The thumbnail view. The thumb squares on which the thumbs are, are seperated through the same color.

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

Thank you for supporting me.

Joachim Müller

Well, as you solved your issue I don't care for the missing link, but if you need help again, post a link with your support request.