[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-devel
Subject:    Re: Vedr. Re: [SM-DEVEL] SM 1.4.6 CVS + Javascript error?
From:       Paul Lesneiwski <paul () squirrelmail ! org>
Date:       2006-01-26 9:50:17
Message-ID: 58191e420601260150p20056e3x51a43cd27dfc769 () mail ! gmail ! com
[Download RAW message or body]

> > avoid stupid IE6 bug with frames and scrollbars
> > 
> > 
> > http://cvs.sourceforge.net/viewcvs.py/squirrelmail/squirrelmail/functions
> > /page_header.php?r1=1.137&r2=1.138
> > 
> > 
> > Marc.
> > 
> 
> More info about which bug we are talking about:
> 
> From http://www.howtocreate.co.uk/ie6pita.html
> 
> --------------
> Pages in framesets are laid out assuming there is no vertical scrollbar.
> When the page is long enough for there to be a vertical scrollbar, the
> pages are laid out behind the scrollbar. So that you can see the whole
> page, a horizontal scrollbar is also shown - unsightly and usually
> unwanted.
> 
> This bug can be removed using a complicated CSS technique, using only one
> line of CSS. The way it works is to firstly use a CSS parsing bug in IE <
> 6 to prevent them seeing the rest of the CSS:
> voice-family: "\"}\"";
> The first \ escapes the quotes but IE versions less than 6 will view it as
> end of quotes. Therefore, they read the } as end of style declaration. The
> following \"" will be ignored. Browsers that do not suffer from the
> parsing bug (Gecko, Konqueror, etc.) will have their voice reset to normal
> in the next declaration.
> The proprietary expression( ) is only understood by IE so only IE will
> adjust its width to remove the frameset problem.
> 
> <style style="text/css"><!--
> body { voice-family: "\"}\""; voice-family: inherit; width:
> expression(document.documentElement.clientWidth - 20); }
> --></style>
> 
> Keep this CSS separate from other CSS stylesheets in your document, and
> make sure it is the last stylesheet in your document.
> 
> I have read reports that <td> tags align center not left as usual, but I
> cannnot replicate this. It may be due to a <doctype ...> declaration that
> I did not test.
> 
> -------------
> 
> In other words, i think the code is there for a reason and it probably is
> a mistake to remove it because it is not compliant css.

OK, I'll buy that (although I hope this FF thing doesn't become an
issue)... .but I'd advocate for some notation in the code as to why
that is there.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd--
squirrelmail-devel mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-devel@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?groupList Archives: \
http://sourceforge.net/mailarchive/forum.php?forum_idq39 List Info: \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic