[Phpmyadmin-devel] font size question
Marc Delisle
Marc.Delisle at cegepsherbrooke.qc.ca
Thu Jul 19 18:52:09 CEST 2007
Marc Delisle a écrit :
> Sebastian Mendel a écrit :
>> Marc Delisle schrieb:
>>> Sebastian Mendel a écrit :
>>>> Marc Delisle schrieb:
>>>>> Hi,
>>>>>
>>>>> I would like to educate myself about this subject :)
>>>>> I know that we have decided to use the default browser's font size, but
>>>>> I just made a test:
>>>>>
>>>>> <!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" xml:lang="en" lang="en"
>>>>> dir="ltr">
>>>>> <body>
>>>>> <p>Rename table to</p>
>>>>> </body>
>>>>> </html>
>>>>>
>>>>> and when I display that in FF 2.0.0.5, the text looks larger than the
>>>>> same text as seen on the Operations panel from PMA 2.10.2.
>>>>> In fact, I have to choose a font size of 80% to obtain the same size as
>>>>> in my test.
>>>> 'your' test is larger than in PMA and you have to reduce to 80% in PMA to
>>>> get same size as in your test? how does this work?
>>> Sorry, the text looks larger in PMA. In my test, it looks OK. It looks
>>> too large in PMA, as mentionned by Florian on the users list.
>>>
>>>>> Why? Is my simple test flawed?
>>>> i cannot see any difference
>>> Did you try my test page and compare it with PMA's output?
>> yes, did you missed my attachments?
>> (english your test page output, german original pma)
>>
>>
>>>> did you tried adding html {font-size: 100%;} ?
>> <html ...>
>> <head>
>> ...
>> <style type="text/css">
>> html {font-size: 100%;}
>> </style>
>> </head>
>> ...
>>
>> you should also try to set the font to the same type as in pma
>
> That's it!
> With this test:
>
> <!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" xml:lang="en" lang="en"
> dir="ltr">
> <head>
> <style type="text/css">
> html {font-size: 100%;}
> body {font-family: sans-serif;}
> </style>
> </head>
> <body>
> <p>Rename table to</p>
> </body>
> </html>
>
> I see the same size for the text as in PMA (which still seems too big).
> In my browser, the default font is Times New Roman and the default size
> is 16.
>
> I just made a quick test: in my browser, set the default size to 14. Now
> PMA 2.10.2 displays as the same size as PMA 2.6.0.
I should say "as the same size as PMA 2.6.0 when my browser's default
font size is 16".
>
>> or just include the whole css from pma and cut out by trial and error all
>> till it changes to what you see now
>>
>>
>>> Sorry, I don't know where to add this. Modify the <html> tag?
>>>> what tells you page information about view mode? standard compliance both?
>>> If I do right-click/page information, it says "mode de respect strict
>>> des standards" (strict standard mode).
>> yes, this is how it should be
More information about the Developers
mailing list