TinyPortal

Development => Support => Topic started by: knat on May 23, 2007, 09:21:52 AM

Title: How can a language file change font size ? Help needed !
Post by: knat on May 23, 2007, 09:21:52 AM
Look at example images.. English language looks good.. Danish language looks enlarged ??

How can this happen ?? Can it have something to do with Danish language being UTF-8 ?

I really like the english text size better so i really need some help on this issue..

English (looking good)  :)


(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpixfarm.net%2Fupload%2F2%2Foriginals%2F89%2F89d569725cc06f7f95f15857745e0c9c.jpg&hash=82767df60895fcaeae0574e3686e0c6dc4eae767)




Danish (looking bad)  :-\


(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpixfarm.net%2Fupload%2F1%2Foriginals%2Ffa%2Ffadd9092f5f87b8ad2571c3cfa5596eb.jpg&hash=8d84028848b8b51a94aed5e6f8b3dd63eee6b276)


Title: Re: How can a language file change font size ? Help needed !
Post by: IchBin on May 24, 2007, 12:20:18 AM
That is very weird! I've never seen that happen before. That would be my only guess on the UTF8, but I don't know how or why it would cause that. Is this in a block or article?
Title: Re: How can a language file change font size ? Help needed !
Post by: knat on May 24, 2007, 04:40:21 AM
No this is hardcoded into post.template.php


echo '<tr>
<td align="center" colspan="2"><img src="/images/uploader.gif" align="absmiddle">',$txt[upload],' <a href="http://www.pixfarm.net" target=_blank>PixFarm.net</a>  |  <a href="http://pix.nofrag.com/" target=_blank>Pix.NoFrag.com</a> ',$txt[upload2],'<hr> <img src="http://www.gapeindex.dk/Themes/default/images/post/rapidshare2.gif" align="absmiddle"> <a href="http://rapidshare.com/en/checkfiles.html" target=_blank>',$txt[rapidshare],'</a></td>
</tr>';


But there are other places where the same thing happens..  ::)

Like where it says subject and message icon.. the same thing happens.. looks good in english.. looks strange in Danish  :o it's veri wierd "

Ps. i forgot to mantion.. this is only in IE.. firefox shows normal  :P