[kaki] not centered with Netscape and Firefox [kaki] not centered with Netscape and Firefox
 

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

Main Menu

[kaki] not centered with Netscape and Firefox

Started by Loïc, October 01, 2006, 11:55:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Loïc

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg371.imageshack.us%2Fimg371%2F3867%2Fiemz2.jpg&hash=478407b7c9ab7e1e7838f557e873e3d65f16f42b)

netscape and firefox (problem) :

(https://coppermine-gallery.com/forum/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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg527.imageshack.us%2Fimg527%2F4116%2Fieav8.jpg&hash=807c7d0ad80159017854caff4f2b9b82c0f85f13)

netscape and firefox (problem) :

(https://coppermine-gallery.com/forum/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?

Joachim Müller

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


Joachim Müller

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.

Loïc

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

Loïc

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

I cheked the html code and I found align="center" at line 18. Isn't that supposed to do the job?