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: Width screwed up in album view  (Read 4155 times)

0 Members and 1 Guest are viewing this topic.

Emsan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Width screwed up in album view
« on: August 08, 2009, 03:25:52 pm »

I have a tiny little problem.
The width and tables look perfect everywhere besides in the album view. The width is screwed up and moved to the left on Firefox, on IE7 the album view is screwed up but not the things under it called "slumpmässiga filer". So help, what can I do to fix this?
Oh and by the way, the width is screwed up in the "groups" option too, but I don't bother it much, it's nothing that the users will see.

These are the links to my files:
http://lucyandreneehq.celebfans.net/gallery/themes/lucyandreneehq/style.css
http://lucyandreneehq.celebfans.net/gallery/themes/lucyandreneehq/theme.php
http://lucyandreneehq.celebfans.net/gallery/themes/lucyandreneehq/template.html

And here are some images, first one is Firefox:
http://i25.tinypic.com/jhuj4z.jpg

And here's what it looks like in IE7:
http://i32.tinypic.com/21nkv15.jpg

And here's the link to the problem area:
http://lucyandreneehq.celebfans.net/gallery/index.php?cat=3

I hope someone can help me :)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Width screwed up in album view
« Reply #1 on: August 08, 2009, 04:17:51 pm »

A very quick look at your site in Firefox and using the Firebug plugin ( https://addons.mozilla.org/en-US/firefox/addon/1843 ) allowed me to see that you have set a fixed width for one of your tables to 800px. Removing that width sorts out your problems.

I have not got the time right now to look at your theme and edit it but look for something along the lines of

Code: [Select]
<td colspan="3" class="tableb">
<table cellspacing="1" cellpadding="0" align="center" width="800" class="maintable">

And change that width setting.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Emsan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Width screwed up in album view
« Reply #2 on: August 08, 2009, 04:25:46 pm »

I have removed all the width's in tables I could find in the template.html file now but nothing happens.
I have firebug too and I see which width you are talking about, I can't find it anywhere though. It's like it's built in and not in my template or something.
Maybe I'm stupid but help lol.
Logged

Emsan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Width screwed up in album view
« Reply #3 on: August 08, 2009, 04:34:28 pm »

I changed the values in the options panel to 100% and now it looks fine. But what if I want it to look the same but be 800px?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Width screwed up in album view
« Reply #4 on: August 08, 2009, 04:44:48 pm »

The widths we are talking about are in theme.php.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Emsan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Width screwed up in album view
« Reply #5 on: August 08, 2009, 04:48:28 pm »

Okay I really wish I knew how to edit posts here.
Anyway, I fixed the width now and everything looks so perfect on Firefox, but IE7 is a pain.
http://lucyandreneehq.celebfans.net/gallery/index.php open that link in IE and you will see the huge space before the categories starts. What's up with that? It's like it's centered and in FF it isn't.
Logged

Emsan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Width screwed up in album view
« Reply #6 on: August 08, 2009, 04:50:06 pm »

Hm okay but in my theme.php it just says this:

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2008 Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3
  as published by the Free Software Foundation.
  
  ********************************************
  Coppermine version: 1.4.18
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/theme.php $
  $Revision: 4380 $
  $Author: gaugau $
  $Date: 2008-04-12 12:00:19 +0200 (Sa, 12 Apr 2008) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);

// HTML template for title row of the thumbnail view (album title + sort options)
$template_thumb_view_title_row = <<<EOT

                        <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
                        </tr>
                        </table>

EOT;
?>

And the last thing is to remove the sorting options.

Anyway the width is solved, but the alignment of the categories in IE7 isn't. Please help with that.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Width screwed up in album view
« Reply #7 on: August 09, 2009, 10:14:02 am »

We have a strict "one issue per thread" policy that you agreed to respect when signing up. Additionally, you already have tagged this thread as "solved". Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.