Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (id242), 24 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/23/08
Posts: 10
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#185846 - 06/06/07 06:46 PM Hi all,Font Resizing
NLR Offline
stranger
Registered: 06/06/07
Posts: 3
Hi all,
Just moved across to new v7. Have had a few users ask for larger font size and one even ask if they, the users, can control their own font sizing.

Is this possible or at least to change the default font size?

Thanks in advance.

Nic
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#185853 - 06/06/07 07:11 PM Re: Hi all,Font Resizing [Re: NLR]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
its controlled in your style sheet.

Modify your style sheet

General Style Sheet Properties :
body :

And increase

font-size: 10pt;

to 12 or something.

I dont think its possible to control there font size
due to the forums being in tables and pinned down with
pt and not em << That's just css not need to panic.

If there using IE they can Zoom

CTRL + use the mouse scroll wheel ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#185861 - 06/06/07 07:52 PM Re: Hi all,Font Resizing [Re: Mark S]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i suggest using em for the body tag, then everything else (that uses em) will be relative to whatever value you choose there. don't use pt or px (just my preference, only ;\) )

this will allow zoom and ALL will zoom proportionally.

eg: 'body' @ 0.85em/1.1em and oh say 'small' at .75 em.

since small is inside of body, it would NOT be .75 em, but instead it would be .75*0.85em(from body - essentially small is 3/4ths the size of whatever the body font size is).

that way, you can change just ONE em (body one) and all change relatively to it. this allows you to essentially clone an existing theme (say it's called 'mytheme-normalfonts' to another theme called 'mytheme-hugefonts' and just change the body css to a bigger em value and voila!) you don't have to hunt down all those specific pt values and change them.
Top
#185862 - 06/06/07 07:57 PM Re: Hi all,Font Resizing [Re: SD]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
I may be wrong, but ive been reading that you need a fixed size for the em to work from?

Give the body a fixed pt and then em has a reference to work from.

If you dont give it a base you can get mixed results.

Its working for me on my websites.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#185863 - 06/06/07 07:59 PM Re: Hi all,Font Resizing [Re: Mark S]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i use em exclusively in all my ubbt 711 styles and the classes inside of the body follow with relative sizes determined by the body's em value.

eric meyer has some excellent examples of 100% em solutions and why to use them. An example that's an old one, but it still applies. he mentions the 'containing div' . well the body is the ultimate containing div, so it causes all to follow.

once again, it's STILL a personal choice and i only offer it as what i prefer.

using pt and px work too. it's just more work from where i see it.

ps: i'm not 100% em. just only for fonts. i use px where size matters and for absolute/relative positioning and width,height etc.
Top
#185865 - 06/06/07 08:08 PM Re: Hi all,Font Resizing [Re: SD]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
yehh been to his sites, he knows his stuff.

If found unless i set a px / pt as a base, i get inconsistency's.

I read and read and read, got confused, read some more
and followed this advice and that advice.

In the end, i found as explained above to be my
best solution.

How come? I was trying to make a politically correct CSS site
you know the disabled stuff etc..

And the common word seems to be, forget it,
you can do it but it will look so poo.

CSS and Browsers just haven't settled enough for this to be
a practical road to take just yet.

I know i'm going to be proved wrong now lol
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#185867 - 06/06/07 08:12 PM Re: Hi all,Font Resizing [Re: Mark S]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
hehe, no you won't be proven wrong \:\)

they KEY is that you got it to work for your site and that is a good thing.

there are just different ways to do things and the nice thing is that every day the browsers get their sh*t together (cough IE cough) to finally start adhering to standards.

would be nice if we didn't have to put in IE hack or NS6 or whatever hacks, just for browsers that don't adhere to w3c or like to have their own DOM definition(s). \:\(
Top
#185868 - 06/06/07 08:15 PM Re: Hi all,Font Resizing [Re: SD]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Have you seen the Yahoo hack for the cross browser
and font stabilisation ??

So font sizes are constant across browsers?

If not i shall dig a link out
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#185870 - 06/06/07 08:22 PM Re: Hi all,Font Resizing [Re: Mark S]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Here we go ;\)

May come in handy for others too Yahoo Hack

Then click on YUI Library CSS Tools:

CSS Grids http://developer.yahoo.com/yui/grids/
CSS Fonts http://developer.yahoo.com/yui/fonts/
CSS Reset http://developer.yahoo.com/yui/reset/
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#185871 - 06/06/07 08:22 PM Re: Hi all,Font Resizing [Re: Mark S]
NLR Offline
stranger
Registered: 06/06/07
Posts: 3
Thanks all.

I seem to amended most. Can't get a grip of Thread Number or Post Number?


Edited by NLR (06/06/07 08:25 PM)
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
Today at 12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image