MediaWiki talk:Common.css: Difference between revisions

\n
(some details)
(\n)
Line 9:
::: What, specifically, are you looking for? --[[User:Short Circuit|Short Circuit]] 19:23, 29 January 2009 (UTC)
::::What I've seen is that a newline is highlighted as having a light green background (something like #66FF99). It looks like it highlighted a space at the end of the line. --[[User:Mwn3d|Mwn3d]] 19:40, 29 January 2009 (UTC)
:::::There's two things going on there. First, GeshiCodeTag converts \ns in GeSHi's output to <nowiki><br/></nowiki> tags, regardless of language, because HTML ignores \n as far as formatting is concerned. Second, I'm pretty sure <nowiki><br></nowiki> isn't supposed to have any logical width, so actually seeing a background color there is most likely a rendering bug in your browser. The best thing I can think of for visibility is to leave the existing behavior there, but remove the background color for that element so as not to confuse it with a space. Or insert an image, but that could make copying and pasting difficult. --[[User:Short Circuit|Short Circuit]] 15:37, 30 January 2009 (UTC)