changing language file is causing incorrect display of my graphic theme changing language file is causing incorrect display of my graphic theme
 

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

changing language file is causing incorrect display of my graphic theme

Started by santoro, December 04, 2007, 05:38:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

santoro

I have this really weird problem. When I change (or only save) specific language file (in my case czech), than the graphic theme on my gallery is not displayed correctly in Internet Explorer (however in Firefox it is still ok).
Link to my gallery in english (with correct display of theme Oranje in IE):
http://santoro.ic.cz/index.php?lang=english (in
Link to my gallery in czech (with incorrect display of theme Oranje in IE):
http://santoro.ic.cz/index.php?lang=czech
See what happens in attached jpg.
Does anybody have some eplanation for this? Thanks!

santoro

Ingor the advertising stripe on the top (it's not mine - the free webhoster implements it on my page automatically).

santoro


Nibbler

If you want consistent results then use valid HTML in the first place.


Nibbler

Dumping this above the <html> tag is not valid. It needs to go somewhere *inside* the page.


<!-- add search box -->
<div style="position:absolute; top:40px; right:150px">
<form method="get" action="thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="text" style="width: 150px" name="search" maxlength="255" value="" class="textinput">
<input type="submit" value="HLEDEJ">
</form>
</div>

santoro


santoro



Nibbler

Probably the BOM:

Warning Byte-Order Mark found in UTF-8 File.

      The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.


Make sure you make your edits with something that doesnt create a BOM when editing UTF-8 files.

santoro

I see. Thanks Nibbler.
I was using Windows Commander notepad to edit the language file. Can you recommend me some another, more proper editor?


Joachim Müller