vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   TRICK! Absolute Text Sizes. (https://vborg.vbsupport.ru/showthread.php?t=35560)

snyx 03-01-2002 02:24 PM

TRICK! Absolute Text Sizes.
 
Okay, well I had gotten fed up with text sizes always being able to be made bigger or smaller through IE (by going "View > Text Size") so I changed all my <smallfont> and <normalfont> to work with a style allowing me to set what I want the font to be, and the point size of it. UNCHANGABLE! hahahaha, I don't know if anyone is going to use this, but im going to post it anyhow.

Step 1
-Login to your vB control panel

Step 2
-Go Templates > Modify > Expand List

Step 3
-Find the "headerinclude" template and click [edit] then scroll down the template and find </style> just above that tag add this and Save Changes
Code:

.f1 {
        FONT-SIZE: 10pt; FONT-FAMILY:
verdana,arial,helvetica,sans-serif
}
.f2 {
        FONT-SIZE: 8pt; FONT-FAMILY:
verdana,arial,helvetica,sans-serif
}

Step 4
-Go Replacements > Modify > Expand List

Step 5
-Find "<normalfont" and click [edit] replace the "Code to Insert" with this <FONT class=f1 and click Save Changes

Step 6
-Find "<smallfont" and click [edit] replace the "Code to Insert" with this <FONT class=f2 and click Save Changes

Thats it, now play with that code to entered to get the size, and font you like, and done. Hope somepeople find it useful! Sorry if its rushed, I gotta get out the door!

-Myles

snyx 03-02-2002 07:43 PM

nobody used this? geez...

DjSap 03-02-2002 07:56 PM

well its a nice trick, but the resize thing is there for people with bad eyevision so that they can enlarge the font if they think its too small, and since the default on IE is medium then only people who need bigger fonts will use that option and only they will get a worse looking design.

futureal 03-27-2002 10:08 PM

This is actually exactly what I was looking for.

People with vision problems will likely have their screen resolution increased as it is. Plus, they are going to be in the minority. I would much rather be able to control the way my forums look for the majority of my users, without having to worry about differences in browser settings.


All times are GMT. The time now is 10:04 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
  • Page Generation 0.00947 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete