Module talk:Sidebar/Archive 2: Difference between revisions

Content deleted Content added
m center table cells with table cell markup
m Replaced deprecated <source> tags with <syntaxhighlight> (via WP:JWB)
 
Line 443:
:::::Well, this may be only a semantic (rather than substantive) distinction, but more strictly speaking, there is no "<nowiki>{{·}}</nowiki>" or "'''·'''" link separator in the right template above, only <nowiki>*</nowiki> link separators that end up looking like bullets. So I'm not sure that the above applies. But, suppose that someone asserts otherwise, ''presenting a replicable basis of verification''. That would be of interest, especially with a description of what the compromise in accessibility looks like to the affected person from use of <nowiki><br/></nowiki>. My thanks. --[[User:Thomasmeeks|Thomasmeeks]] ([[User talk:Thomasmeeks|talk]]) 20:26, 4 December 2012 (UTC)
::::::I don't know how much you know about [[cascading style sheets]], but [[MediaWiki:Common.css]] contains a number of stylings specific to the class <code>hlist</code>. The two chunks to particularly observe are this:
<sourcesyntaxhighlight lang=css>
/* Display list items inline and make them nowrap */
.hlist dd,
Line 452:
white-space: nowrap;
}
</syntaxhighlight>
</source>
::::::and this:
<sourcesyntaxhighlight lang=css>
.hlist dd:after,
.hlist li:after {
Line 460:
font-weight: bold;
}
</syntaxhighlight>
</source>
::::::Essentially, when the <code>hlist</code> class is applied to a bulleted list, the first chunk of code above eliminates the newlines which normally occur between list items; and the second chunk alters the bullets that ''would'' have appeared at the start of the line so that they are displayed them as a boldface <code>&amp;middot;</code> We can demonstrate that quite simply - if I put the following wikicode:
&lt;div class=hlist&gt;