![]() |
Styles @import vs link <div>I've been reading this: http://www.stevesouders.com/blog/200...nt-use-import/ And I thought I would do some tests. What I'm aiming for is to make pages that initially download for guests faster, and also feel more snappy to regular users. What I've found is that if I edit adminfunctions_template.php and add this around line 812: PHP Code: // HACK : START : CSS AS LINK if ($vbulletin->options['storecssasfile']) { $fullcsstext = ''; } // HACK : END : CSS AS LINK Which is just after this: <div style="margin:20px; margin-top:5px"> PHP Code: <div class="alt2"> <div dir="ltr" style="text-align:left;"> <span style="color: #000000">if ($vbulletin->options['storecssasfile']) { $css = process_replacement_vars($css, array('styleid' => $styleid, 'replacements' => serialize($replacements))); $css = preg_replace(<span style="color: #DD0000">'#(? |
| الساعة الآن 11:31 AM |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir