![]() |
Save bandwidth with CSS.
This modification will save you tons of bandwidth. What it dose is point all the <font> tags to one source.
Basicly This: Code:
<font face="verdana, arial, helvetica, sans-serif" size="2"> Code:
<font class="nf"> |
don't forget to add the large font sizes as well (if you use it).
i've got a bunch of stuff css'ed as well to save bandwidth. grabbed all of the css headerinclude and put it into it's own stylesheet along with all of my others (include the font size), and then linked it instead. Quote:
|
Very nice, Anime-loo.
I am currently using this already, but it's a good Mod. |
Just to clarify, i dident make this myself. I belive it came out of the hints and tips forum at vbulletin.com.
|
http://www.vbulletin.com/forum/showt...threadid=17943 , specifically.
I for one don't use it because I sometimes do things like <normalfont style="padding:3px"> and this would confuse the browser. :) |
Ahh, thats smart! Nice work. :)
|
At last I found it.
It's miserable, it's fu2#$@#$ that by default vb2 did not used css all over the templates, because it's such a headache without them and all the serious browser support them for years ... |
Thanks, I for one am a 56k user, and I could immeditaly (badd speler, can't u tel?) see the difference.
|
anime loo you have helped me loads of times :)
thanks very much for this mod, all mods that save bandwidth are top mods :) |
I used this, couldn't use the smaller font which looks a bit more stylish though because it's hard for big reso's to see it.
|
Thank you god! I've always wondered how certain sites kept people from changing the size of the font... now it stays the same size no matter what their browser setting is... WEEE!! :D
|
Why the hell would you want to stop people from changing the font sizes? To DECREASE the accessibility of your page for people with vision troubles, etc? That is contrary to what we all learned in webdesign 101. While it might make your site look cool, it's a bad precedent.
|
realy i dont understand this bit
Now go to the Styles section of the admin cp and click modify, then pick the style you wish to edit and click [fonts/colors/etc]. Under Larg Font and Normalfont leave the face and size options blank (if they are already filled deleate their contants) Under the class feild add: nf Do the same for small font but under the class feild add this insted of nf: sf can anyone help me |
Quote:
Quote:
I want to create a new style the members can chose if they do not desire to see all the hoppla. |
Is there no interest in replying to this message? I am running vB 3.51?
Oh crap, I just realized this is a mod for vB2. How stupid am I......LOL Is this doable in vB.51? |
All times are GMT. The time now is 05:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|