coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: deanosrs on July 16, 2005, 04:45:49 AM

Title: 800px wide tables in login and view image - how to get rid?
Post by: deanosrs on July 16, 2005, 04:45:49 AM
The title says it all really...
I'm trying to skin coppermine to fit my website (www.sheps.ft6.com) but on the view image php file and when you click on the login buttons, those pages have 800 pixel wide tables on them generated by coppermine, ruining my design. You can see what I mean here http://www.sheps.ft6.com/photos/displayimage.php?album=49&pos=12 (http://www.sheps.ft6.com/photos/displayimage.php?album=49&pos=12). The source says it here:
Quote...          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="center" valign="top"> 
<!-- Start standard table -->
<table align="center" width="800" cellspacing="1" cellpadding="0" class="maintable">

        <tr>
                <td class="tableh1" colspan="1"><h2>Error</h2></td>
        </tr>

        <tr>
                <td class="tableb" height="300" align="center">
                        <font size="3"><b>You are already logged in !</b></font>


                        <br /><br />...

I've searched every single file in the whole of the coppermine folder for the letters "800" but this hasn't helped. I can only guess it's being generated and outputted by a variable, but I can't make out where so I can change it.

If anyone can solve this issue I shall personally declare them my hero on the blog on my site!
Thanks,
Sheps/Deano
Title: Re: 800px wide tables in login and view image - how to get rid?
Post by: Nibbler on July 16, 2005, 04:59:38 AM
Width of tables is an option on the config page. (Width of the main table (pixels or %))
Title: Re: 800px wide tables in login and view image - how to get rid?
Post by: deanosrs on July 16, 2005, 05:08:34 AM
Um, wow. That was an embarrassingly simple solution. Thanks x1000!
Title: Re: 800px wide tables in login and view image - how to get rid?
Post by: Nibbler on July 16, 2005, 05:11:42 AM
:)