View Poll Results: Best way to specify type size
ems 28 65.12%
points 2 4.65%
pixels 12 27.91%
% 10 23.26%
Multiple Choice Poll. Voters: 43. You may not vote on this poll

Reply LinkBack Thread Tools Search this Thread
Old 09-02-2007, 11:35   #1 (permalink)
chazthetic
Fucking Awesome
 
chazthetic's Avatar
 
Join Date: Feb 2007
Location: Orlando, Fl
Posts: 491
Send a message via AIM to chazthetic Send a message via Skype™ to chazthetic
poll: Best way to specify type size?

there are countless ways to.
given the pros and cons, which do you use?
  Reply With Quote
Old 09-02-2007, 12:00   #2 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
I voted ems and %.

body { font-size: 62.5%; } sets fonts to 10px in most browsers. Then you can use ems or % to scale up and down from the new default.

1.1em = 11px
1.2em = 12px
150% = 15px

But don't forget inheritance.
  Reply With Quote
Old 10-02-2007, 08:49   #3 (permalink)
Spooky
Senior Member
 
Join Date: Mar 2006
Posts: 205
What pgo said.
  Reply With Quote
Old 10-02-2007, 08:53   #4 (permalink)
RaelRode
Designers are strange :)
 
RaelRode's Avatar
 
Join Date: Jan 2007
Location: Shrewsbury, UK
Posts: 1,735
Send a message via ICQ to RaelRode Send a message via AIM to RaelRode Send a message via MSN to RaelRode Send a message via Yahoo to RaelRode Send a message via Skype™ to RaelRode
I use pixels Justb how i do it lol
  Reply With Quote
Old 10-02-2007, 10:25   #5 (permalink)
mattp
Registered User
 
Join Date: Dec 2006
Posts: 73
I agree, ems and % seem like the best method, not just for making a cool design, but also for making it easier for the user.
  Reply With Quote
Old 10-02-2007, 11:37   #6 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
Quote:
Originally Posted by RaelRode
I use pixels Justb how i do it lol
IE can't resize text that's sized in pixels.
  Reply With Quote
Old 11-02-2007, 08:10   #7 (permalink)
ttk_2k
Registered User
 
ttk_2k's Avatar
 
Join Date: Feb 2007
Location: Earth ^^"
Posts: 16
em is good, but mostly used for non-commercial sites I believe.
  Reply With Quote
Old 12-02-2007, 08:56   #8 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,615
Quote:
Originally Posted by ttk_2k
but mostly used for non-commercial sites I believe.

and why would you believe that?
__________________
  Reply With Quote
Old 12-02-2007, 09:58   #9 (permalink)
djeglin
goober :-)
 
djeglin's Avatar
 
Join Date: Dec 2006
Location: Birmingham, UK
Posts: 524
Send a message via MSN to djeglin
% and ems are by far the most popular method... especially on commercial sites, as it is those sites that have to worry about losing customers. You have to have resizable text, and thats the best way to go about it

Incidentally, nobody should ever, ever use points, unless you're styling for a print stylesheet - Point sizes were designed for print, so thats what you use them for.
  Reply With Quote
Old 15-02-2007, 12:20   #10 (permalink)
coxy
Pixel Pusher
 
coxy's Avatar
 
Join Date: Feb 2007
Location: Manchester, UK
Posts: 18
Send a message via AIM to coxy Send a message via MSN to coxy Send a message via Yahoo to coxy Send a message via Skype™ to coxy
I should use ems, and I keep telling myself to do so; but so often find myself using pixels in practice.

Old habit.
  Reply With Quote
Old 17-02-2007, 11:11   #11 (permalink)
Mandy Moo
Senior Member
 
Mandy Moo's Avatar
 
Join Date: Feb 2007
Location: Stoke on Trent
Posts: 493
Points of course!! Didn't think anyone use anything but points to specify type size.
  Reply With Quote
Old 17-02-2007, 11:25   #12 (permalink)
Larixk
Senior Member
 
Larixk's Avatar
 
Join Date: Sep 2006
Location: Utrecht, Netherlands
Posts: 986
Send a message via MSN to Larixk
haha, look two posts above yours.

em's I guess.
  Reply With Quote
Old 17-02-2007, 12:01   #13 (permalink)
zaheto
Registered User
 
zaheto's Avatar
 
Join Date: Feb 2007
Location: Bulgaria Sofia
Posts: 19
I use pixels
  Reply With Quote
Old 19-02-2007, 02:02   #14 (permalink)
benbailey
Registered User
 
Join Date: May 2004
Location: Melbourne
Posts: 2
62.5 and ems
  Reply With Quote
Old 19-02-2007, 02:21   #15 (permalink)
Herr Kurm
bloody peasant
 
Herr Kurm's Avatar
 
Join Date: Dec 2006
Location: Tallinn, Estonia
Posts: 2,665
even I know that ems are the way to go
  Reply With Quote
Old 05-03-2007, 04:07   #16 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,076
Quote:
Originally Posted by benbailey
62.5 and ems

ditto
  Reply With Quote
Old 05-03-2007, 04:54   #17 (permalink)
d*d
Senior Member
 
d*d's Avatar
 
Join Date: Oct 2004
Location: Bristol
Posts: 3,155
ems and percentage is the best way.
  Reply With Quote
Old 05-03-2007, 06:21   #18 (permalink)
weldo
now with added beard
 
weldo's Avatar
 
Join Date: Mar 2004
Location: Liverpool
Posts: 5,273
Quote:
Originally Posted by pgo
IE can't resize text that's sized in pixels.
... but now that IE7 uses a zoom method - will font sizes matter so much in the future ?? will we need to do the 62.5 thing ??

discuss.
__________________
fuck signatures
  Reply With Quote
Old 05-03-2007, 08:30   #19 (permalink)
John Good
+
 
John Good's Avatar
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,389
can't believe that thread comes again.
can't believe there are still posts after pgo's.
can't believe I'm posting.
__________________
Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
  Reply With Quote
Old 05-03-2007, 23:59   #20 (permalink)
hawken
Cornish Pasty
 
hawken's Avatar
 
Join Date: Nov 2003
Location: Tokyo, Japan
Posts: 2,462
Send a message via MSN to hawken
Quote:
Originally Posted by pgo
I voted ems and %.

body { font-size: 62.5%; } sets fonts to 10px in most browsers. Then you can use ems or % to scale up and down from the new default.

1.1em = 11px
1.2em = 12px
150% = 15px

But don't forget inheritance.

100% is 16px, so I don't see how 150% could be 15px

I voted for %
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8