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: [kaki] not centered with Netscape and Firefox  (Read 3671 times)

0 Members and 1 Guest are viewing this topic.

Loïc

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 165
[kaki] not centered with Netscape and Firefox
« on: October 01, 2006, 11:55:27 am »

Hi folks,

I use the Kaki theme and there's two problems:

- with netscape and firefox the tables are not centred but left aligned:

ie (ok) :

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg371.imageshack.us%2Fimg371%2F3867%2Fiemz2.jpg&hash=478407b7c9ab7e1e7838f557e873e3d65f16f42b)

netscape and firefox (problem) :

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg435.imageshack.us%2Fimg435%2F5092%2Fnetscapesy5.jpg&hash=b33b8e1cc1dd5a4a8a3cdc35943420d3bd4e6e3a)

- I inserted a 800 pixels wide pict and the theme "follows" it with ie but not with Netscape or Firefox:

ie (ok) :

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg527.imageshack.us%2Fimg527%2F4116%2Fieav8.jpg&hash=807c7d0ad80159017854caff4f2b9b82c0f85f13)

netscape and firefox (problem) :

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg527.imageshack.us%2Fimg527%2F303%2Ffirefoxfc8.jpg&hash=e4b4a1977f2c2973f230f881c296ee7b7ce73715)

Does anybody know what has to be modified to fix that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [kaki] not centered with Netscape and Firefox
« Reply #1 on: October 01, 2006, 01:24:50 pm »

Kaki is a user-contributed theme that goes mostly unsupported. Post a link to your gallery for a start.
Logged

Loïc

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 165
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [kaki] not centered with Netscape and Firefox
« Reply #3 on: October 01, 2006, 01:39:43 pm »

You hard-coded that section into the theme, as the classic theme (http://presquile.crozon.free.fr/coppermine/index.php?theme=classic) doesn't show that content at all.

You have nested your table cells improperly (judging from a cursorily check of http://presquile.crozon.free.fr/coppermine/themes/kaki/template.html at least one <tr> tag is missing). IE is much more tolerant against improper HTML markup than FF. This is plain HTML, you could use the W3C-validator to check.
Logged

Loïc

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 165
Re: [kaki] not centered with Netscape and Firefox
« Reply #4 on: October 01, 2006, 01:47:24 pm »

Thanx! I'll check that code...

But I'm not sure it's really the cause of the problem since this occurs too in the coppermine demo
Logged

Loïc

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 165
Re: [kaki] not centered with Netscape and Firefox
« Reply #5 on: October 01, 2006, 02:48:22 pm »

Ok, accoring to that message, it's a long time problem...

I cheked the html code and I found
Code: [Select]
align="center" at line 18. Isn't that supposed to do the job?
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 16 queries.