Req #3354 [Opn]: Triple size reducing makes manual code snippets and bug reports unreadable

From: Date: Mon, 21 Feb 2005 02:06:58 +0000
Subject: Req #3354 [Opn]: Triple size reducing makes manual code snippets and bug reports unreadable
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3879@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=3354&edit=1 ID: 3354 User updated by: plyrvt at mail dot ru -Summary: Opera-win32 do not handle properly CSS font-size in % Reported By: plyrvt at mail dot ru Status: Open Type: Feature/Change Request Package: Web Site -Operating System: Opera 7/8 +Operating System: win32 PHP Version: Irrelevant New Comment: I've cut PEAR manual design to this lines to highlight where is the bug (also it can be seen with Firefox 1.0) "Some text" is very small (72%=0.9*0.9*0.9) because of triple (!) overlapping of CSS's size reduce <html> <head> <style> body { font-size: 90%; } code, pre, tt { font-size: 90%; } </style> </head> <body> <pre><code>Some Text Some Text Some Text </code></pre> </body> </html> Previous Comments: ------------------------------------------------------------------------ [2005-02-01 22:02:37] plyrvt at mail dot ru Description: ------------ CSS styles used at website are not properly hanled by Opera browser (7 and 8beta versions under win32). This is due to Opera do not work correctly with .css {font-size: nn%} sizes in percents. All text inside <pre> tags (at code listings in manual and text in bug reports) becomes too small and hard-readable. Reproduce code: --------------- Here is screenshot how it looks normally in IE/FireFox (below) and hard-readable in Opera7/8-win32 (top) http://rv.uar.net/~yp/opera.jpg Expected result: ---------------- The easiest way to fix opera-related problem is to set in http://pear.php.net/css/style.css code, pre, tt { ... font-size: 90%; } to code, pre, tt { ... font-size: 93%; } For other browsers there won't be impact, but Opera will render code as expected. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=3354&edit=1

« previous php.pear.webmaster (#3879) next »