[Haskell-cafe] Rendering of <hask> in new wiki (MSIE6)
ok at cs.otago.ac.nz
Thu Dec 16 00:17:07 CET 2010
On 16/12/2010, at 3:31 AM, Ross Paterson wrote:
> On Wed, Dec 15, 2010 at 09:01:49AM -0500, Dimitry Golubovsky wrote:
>> HTML (a small piece of it):
>> provides the classes <div class="inline-code"><div dir="ltr"
>> style="text-align: left;"><div class="source-haskell"
>> style="font-family: monospace;">MonadTrans</div></div></div>
>> Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags.
>> They show up in monospace, each starting a new line. Is this only
>> MSIE6, or this is how it is supposed to render?
> They're inline in FireFox. That text-align: seems unnecessary.
One normally expects <div> elements to be *block-level*; that's
what <div> is for. Inline stuff should use <span>, that's what
<span> is for.
More information about the Haskell-Cafe