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
#185873 - 06/06/07 08:36 PM Re: Hi all,Font Resizing [Re: NLR]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
okay the style sheet.

Category/Forum Properties
.threadtotal

Add

font-size:12pt;

should do it ;\)
_________________________
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
#185874 - 06/06/07 08:37 PM Re: Hi all,Font Resizing [Re: Mark S]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: Mark S
So font sizes are constant across browsers?


thats a loaded question! \:D

answer: no ..

there are some caveats (that can be worked around, if you know what's happening -- and you don't accommodate really OLD browsers)

also, it's good to note that a 1em verdana X is different than a 1em Arial in size. so size + font matters.

Perty good explanation
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#185876 - 06/06/07 08:39 PM Re: Hi all,Font Resizing [Re: Mark S]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
And the same with the

.posttotal

font-size:1em;

em works like a percentage.
But if you want to standerdise what it looks like
use pt or px ;\)
_________________________
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
#185877 - 06/06/07 08:43 PM Re: Hi all,Font Resizing [Re: Mark S]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
That's why on my web pages i'm using the yahoo hack
to attempt to standardise font sizes across browsers. ;\)

IE7 & FF2

Ive noticed a difference and there now the same ;\)

I'm not fussed about the older browsers,
too much time and hassel, while i'm learning.
_________________________
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
#185880 - 06/06/07 08:53 PM Re: Hi all,Font Resizing [Re: Mark S]
NLR Offline
stranger
Registered: 06/06/07
Posts: 3
legend! Thanks \:\)
Top
#185881 - 06/06/07 08:56 PM Re: Hi all,Font Resizing [Re: Mark S]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: Mark S
But if you want to standerdise what it looks like
use pt or px ;\)


well, i almost agree with you with one thing to add though.

px will vary in actual measured size by whatever resolution the user has for their monitor, while pt = 1/72inch which is absolute.

so, if you really want to be EXACT same size on any monitor, you use pt over px.

ps: it's between the 1st and 2nd period of the hockey game, so i HAD to come back ! \:D
Top
#185893 - 06/07/07 03:23 AM Re: Hi all,Font Resizing [Re: NLR]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
fyi, users can adjust font sizes through their browser, making them smaller or larger based on their preferances; this is available through most modern browsers and is generally found under "view" as "font size".

I use it here all the time
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#185937 - 06/07/07 02:52 PM Re: Hi all,Font Resizing [Re: SD]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
 Originally Posted By: Sirdude
while pt = 1/72inch which is absolute.

so, if you really want to be EXACT same size on any monitor, you use pt over px.


Sorry to disagree but I believe that EM is the way to go to allow the user to change font size based on their own eyesight/preference. Using one of the fixed methods does not lend itself to WAI conformance.

I could be wrong but this site should have more information on the subject.

http://www.w3.org/WAI/
Top
#185950 - 06/07/07 08:44 PM Re: Hi all,Font Resizing [Re: ntdoc]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i was only referring to exact size, and NOT my preference (which as i stated is em)

;\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#185975 - 06/08/07 06:20 AM Re: Hi all,Font Resizing [Re: SD]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
I'm learning like everyone else but i can share my findings.
which i found to be helpful.

Web Accessibility Initiative - that's what i was saying earlier, that to create such a site there are side effects, one i mentioned earlier is that to get the WAI Badge if you like the site is so basic in construction its not practical to try, as the results will be disappointing.

Ive like many done alot of reading on the internet about the correct way to go, a base line to get things on a standard road for presentation purposes. And to me there is a war of words on the internet about the best practices. Nothing is definitive in the right way.

I draw my conclusions from the magazines i have delivered and the so called expert columns, with that practising the results too.

Sir Dude your right about the pt (I do get confused with the million options in CSS)

So following and reading the advice over the net and my magazines and testing PERSONALLY i have found that by setting a BASE this can standardise the font size results.

Different browsers - have display different sizes for (em)

So when working towards a WAI site,
its always going to look different per browser.
If that's okay for you then that's fine ;\)

I like things to stay the same, so i wont go down a totally em road, i have proven to myself a pt / pix base then em up from there will standardise the font output.

My 25 cents worth lol

p.s. i'm no expert its only my understanding.
_________________________
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
#185985 - 06/08/07 07:17 AM Re: Hi all,Font Resizing [Re: Mark S]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
 Originally Posted By: Mark S


My 25 cents worth lol


Euros or Dollars?
Top
#185994 - 06/08/07 09:20 AM Re: Hi all,Font Resizing [Re: Ian]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
go for dollars
_________________________
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
#186275 - 06/10/07 02:43 PM Re: Hi all,Font Resizing [Re: Mark S]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Go for Dollars means it's is weaker these days \:\(

No doubt, each designer has to make his/her own decisions. There are some that have or want a specific artistic look that just will not look good if you're not running in the size and browser they want and they're fine with it.

Even WAI is not in agreement on some of their requests and is ongoing in recommendations.

I try to use some of it but I'm not going to go crazy over it unless I have a valid request to do so.
Top
#186297 - 06/10/07 06:47 PM Re: Hi all,Font Resizing [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
 Originally Posted By: ntdoc
I try to use some of it but I'm not going to go crazy over it unless I have a valid request to do so.
agreed
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
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