Misplaced Pages

File:TT, PRE and CODE bug.png: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 09:59, 28 June 2010 editBotMultichill (talk | contribs)Bots310,824 editsm Adding timestamp to PD-self based on first upload date← Previous edit Revision as of 07:26, 5 September 2011 edit undoFbot (talk | contribs)960,904 edits BOT: Flagging orphaned free fileNext edit →
Line 1: Line 1:
== Summary == == Summary ==
{{Information {{Information
|Description = Screen shot of ], done with a Safari 3.2.1 on Windows XP, showing the &lt;tt>, &lt;code>, &lt;pre> and &lt;source> tag bug. |Description = Screen shot of ], done with a Safari 3.2.1 on Windows XP, showing the <tt>, <code>, <pre> and <source> tag bug.


Some browsers on some operating systems show &lt;tt>, &lt;code>, &lt;pre> and &lt;source> tagged text in a too small font. At the time I write this (26 October 2009) we have applied the code below to ], which fixes the &lt;tt> text in those browsers, and causes no problems in the rest of the browsers. As can be seen in the image above, the &lt;tt> text looks okay, while the &lt;code> text still is too small. Some browsers on some operating systems show <tt>, <code>, <pre> and <source> tagged text in a too small font. At the time I write this (26 October 2009) we have applied the code below to ], which fixes the <tt> text in those browsers, and causes no problems in the rest of the browsers. As can be seen in the image above, the <tt> text looks okay, while the <code> text still is too small.


We intend to deploy the same fix for the other tags, one at a time some day apart, to minimize the damage if it causes any problems. If it works well for the English Misplaced Pages, then we will deploy the fix for all Wikimedia projects. We intend to deploy the same fix for the other tags, one at a time some day apart, to minimize the damage if it causes any problems. If it works well for the English Misplaced Pages, then we will deploy the fix for all Wikimedia projects.
Line 25: Line 25:
== Licensing == == Licensing ==
{{PD-self|date=October 2009}} {{PD-self|date=October 2009}}

{{Orphan image}}

Revision as of 07:26, 5 September 2011

Summary

File information
Description Screen shot of User:Davidgothberg/Test59, done with a Safari 3.2.1 on Windows XP, showing the , ,
 and 
 tag bug.
Some browsers on some operating systems show <tt>, <code>, <pre> and <source> tagged text in a too small font. At the time I write this (26 October 2009) we have applied the code below to ], which fixes the <tt> text in those browsers, and causes no problems in the rest of the browsers. As can be seen in the image above, the <tt> text looks okay, while the <code> text still is too small.
We intend to deploy the same fix for the other tags, one at a time some day apart, to minimize the damage if it causes any problems. If it works well for the English Misplaced Pages, then we will deploy the fix for all Wikimedia projects. 
<source lang="css">
/* Fix so <tt> tags get normal text size also in some
   versions of Firefox, Safari, Konqueror, Chrome etc. */
tt {
    font-family: monospace, sans-serif;
}
See discussion at MediaWiki talk:Common.css#Teletype style fix for Chrome.
Source I (David Göthberg (talk)) created this work entirely by myself.
Date 13:14, 26 October 2009 (UTC)
Author David Göthberg (talk)
Permission
(Reusing this file)
See below.

Licensing

I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.
If this is not legally possible:
I grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law. PD Public domain false false
This media file is either in the public domain or published under a free license, and contains no inbound file links. If this media file is useful, then it should be transferred to the Wikimedia Commons. If this media is not useful, then please propose it for deletion or list it at files for discussion.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:49, 26 October 2009Thumbnail for version as of 13:49, 26 October 2009534 × 1,132 (119 KB)Davidgothberg (talk | contribs)Added a little paragraph space between the different groups of examples, for clarity.
13:14, 26 October 2009Thumbnail for version as of 13:14, 26 October 2009534 × 1,100 (118 KB)Davidgothberg (talk | contribs){{Information |Description = Screen shot of a Safari 3.2.1 on Windows XP showing the TT, PRE, CODE and SOURCE tag bug. |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = ~~~ |other_versions =

You cannot overwrite this file.

File usage

The following 2 pages use this file:

Categories: