|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-02-01 22:02 UTC] 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
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>