Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Fonts Way to Large

Aloittaja DJ Rg, marraskuu 23, 2011, 03:14:36 IP

« edellinen - seuraava »

DJ Rg

Hi

If you look at my main forum page ..the "Categories and Descriptions" Fonts are way to Large ..also on Topics pages

http://www.tinroofalleypoets.org/poetry_boards/index.php

I uninstalled all my mods at no success (I reinstalled a minimum back)

When I validate the XHTML:
I get 1 warning = Byte-Order Mark found in UTF-8 File. < how do I change that?
and 1 error = character "" not allowed in prolog

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www....

in my "index template" its written as.. echo' <!DOCTYPE..

and if I take the echo ' out ..I get a parsing error at forums

This happen in Firefox, Chrome and IE

How can I fix the large Font?

Thank you!

Illori

try opening your themes index.template.php file in a decent text editor [like notepad++] and change the encoding to utf-8 without bom and see if that helps.

DJ Rg

Thanks for fast reply..

This is how that is written..

echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8', $context['character_set'], '" />


How should I rewrite that?

Illori

that has nothing to do with what i requested you do first, one step at a time...

DJ Rg

OK ..sorry misunderstood you..

using Notepad++ I am now getting a parse error = syntax error, unexpected T_STRING

Illori

you just changed the encoding and nothing else?

DJ Rg


Illori

can you attach your index.template.php file to your next post?

DJ Rg


Illori

try the attached file.

and i would recommend upgrading to 2.0.1

DJ Rg

this is odd ..when i save your file ..it changes to ..index.php instead of index.template.php

so i edit its name in notepad++ and i get the parsing error


Illori

there are some parts of http://www.simplemachines.org/community/index.php?topic=454734.0 that have not been fixed here. try using another browser

DJ Rg

wheeew ..its a little better now ..seems i successfully got it to load with utf-8 without the bom

but the font is still to large, better, but not normal

when i validate ..i only get a "bom" warning ..if i uploaded the index.template w/o the bom ..how am i suppose to know where a file with bom is?

Advertisement: