coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Loïc on October 01, 2006, 11:55:27 AM

Title: [kaki] not centered with Netscape and Firefox
Post by: Loïc 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://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?
Title: Re: [kaki] not centered with Netscape and Firefox
Post by: Joachim Müller 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.
Title: Re: [kaki] not centered with Netscape and Firefox
Post by: Loïc on October 01, 2006, 01:27:57 PM
http://presquile.crozon.free.fr/coppermine/index.php  ;)
Title: Re: [kaki] not centered with Netscape and Firefox
Post by: Joachim Müller 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 (http://validator.w3.org/check?uri=http%3A%2F%2Fpresquile.crozon.free.fr%2Fcoppermine%2F&charset=utf-8&doctype=Inline&ss=1) to check.
Title: Re: [kaki] not centered with Netscape and Firefox
Post by: Loïc 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 (http://coppermine-gallery.net/demo/cpg14x/index.php?4x=&theme=kaki)
Title: Re: [kaki] not centered with Netscape and Firefox
Post by: Loïc on October 01, 2006, 02:48:22 PM
Ok, accoring to that message (http://forum.coppermine-gallery.net/index.php?topic=9696.msg64609#msg64609), 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?