800px wide tables in login and view image - how to get rid? 800px wide tables in login and view image - how to get rid?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

800px wide tables in login and view image - how to get rid?

Started by deanosrs, July 16, 2005, 04:45:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deanosrs

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. 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

Nibbler

Width of tables is an option on the config page. (Width of the main table (pixels or %))

deanosrs

Um, wow. That was an embarrassingly simple solution. Thanks x1000!