On 3/4/06, Carl Youngblood <[EMAIL PROTECTED]> wrote:
> I don't think they're doing that either.  I don't think it's javascript
> though.  It's so hard to even figure out what they're doing with all the
> iframes they're using.  Actually, come to think of it, they are probably
> using a resizeable iframe to accomplish it.

Why wouldn't it be Javascript, if Gmail is a massive Javascript
application? All they have to do is count the number of characters and
append an ellipsis when they reach the threshold number. I'm pretty
sure it counts the number of characters according to your screen
resolution too, (not the viewport size), which would explain why the
ellipsis doesn't move.

Besides, if you are doing an application that requires Javascript, why
not do everything with Javascript? Especially when your company
doesn't hire anyone who knows anything about CSS.

To prove my point, you can always switch to "Basic HTML" by clicking
the link at the bottom of the screen. If you view the inbox in Basic
HTML, it's just a table. The CSS is:

-----------
body, td{font-family:arial,sans-serif;font-size:80%}
pre 
{white-space:pre-wrap;white-space:-moz-pre-wrap;word-wrap:break-word;white-space:-pre-wrap;white-space:-o-pre-wrap;}
a:link, a:active, a:visited{color:#0000CC}
img{border:0}
.p{vertical-align:middle;float:right;}
.ar{vertical-align:middle;float:right;width:8}
.lb a:link, .lb a:active, .lb a:visited{font-size:85%}
.r{padding-top:6px}
.h{padding:5px 0}
.ft{margin-top:20px}
.msg{padding:10px}
.ac img{vertical-align:middle}
.u{text-decoration:underline}
.nu{text-decoration:none}
.n{color:#777777}
.bn{margin-bottom:6px}
form{margin:0}
-----------

The "pre" tag has a whole lot of word-wrap/break-word, but it isn't
used at all in the source.

Bottom line: if Gmail was using CSS for this, it would be used in the
Basic HTML page too.

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to