That "kewl" script : To CSS or not to CSS
| From: | Ashley M. Kirchner | Date: | Sat, 29 Sep 2001 19:35:28 +0000 |
| Subject: | That "kewl" script : To CSS or not to CSS | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69311@lists.php.net to get a copy of this message | ||
I'm not sure going to CSS is worth much...in terms of speed. Sure you may
generate less HTML, but the rendering speed in the browser gets drastically cut
down. At least, in every environment and machines that I have, it did. Using
the (now depreciated)<font> tag was by far the fastest, but as soon as I switch
to CSS, whether at the top of the document, or in the HTML itself, the rendering
time just crawled.
I realize this has nothing to do with how fats the script generates the
HTML, or how much of it gets generated, but still. Having some very slow
rendition of an image in text isn't going to appeal to anyone, I don't think.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303,
U.S.A.