[ewiki] Resend: Stupid IE glitch -- fixed

  • From: Andy Fundinger <andy@xxxxxxxxxxx>
  • To: "'ewiki@xxxxxxxxxxxxx'" <ewiki@xxxxxxxxxxxxx>
  • Date: Thu, 30 Oct 2003 18:30:01 -0500

This may have gotten lost in the list switch over, can we make this change?

Andy

-----Original Message-----
From: Andy Fundinger [mailto:andy@xxxxxxxxxxx] 
Sent: None
To: ErfurtWiki development
Subject: Stupid IE glitch -- fixed


IE has a glitch wherein a hr cannot be adjacent to the opening tag of a div
(noshade may or may not be involved).  In some cases this will cause
sections of text to not be drawn until they are redrawn by a scroll or
highlight.  We encounter this in ewiki_control_links() but can fix it by
moving a <BR>.  Current code:

   $o = "\n<br>\n" .
        '<div align="right" class="action-links control-links"><hr
noshade>'."\n";

Suggested code: 

   $o = '<div align="right" class="action-links control-links"><br>'."\n".
        '<hr noshade>'."\n";

We could also put <BR>s before and after the div or use some other kind of
invisible tag.

-Andy

Other related posts: