Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2011-04-11, 08:23 PM   #1
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,788
Send a message via ICQ to Greenguy
Font Size - Point or Pixel?

This may be a dumb question, but what do you use for font size when you're building a page? Point or Pixel?

My editor (Namo) defaults to Point, so that's what I've used for the most part. But looking around the the source code for a lot of sityes, I see more & more using Pixel.

So is one better than the other? Are there actually pros & cons for this?

I know - I worry about silly things
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2011-04-11, 08:35 PM   #2
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
point is relative to the parent container
pixel is relative to the screen resolution

iThink
pc is offline   Reply With Quote
Old 2011-04-11, 09:01 PM   #3
ArtWilliams
You can now put whatever you want in this space :)
 
ArtWilliams's Avatar
 
Join Date: Sep 2004
Location: Toronto, Canada
Posts: 6,244
Send a message via ICQ to ArtWilliams
I find this page very useful for figuring that stuff out:

http://net.jasonpearce.com/tools/cssfontsizes.html
ArtWilliams is offline   Reply With Quote
Old 2011-04-11, 09:46 PM   #4
dunc
You can now put whatever you want in this space :)
 
dunc's Avatar
 
Join Date: Feb 2007
Location: Australia
Posts: 658
I use pixels cos I can't figure out that relative stuff with ems, points and so on - pixels work for me
__________________
Good, Cheap Wordpress Themes
dunc is offline   Reply With Quote
Old 2011-04-12, 06:24 AM   #5
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
My take on this is that unless you're creating a stylesheet that will be called when someone wants to print your page there's no good reason to use points.

Point sizes are for print medium.

Pixels are for display on a screen.

(There are also percentages and ems for sizing, but unless you're designing a "liquid layout" there's not much reason to use those.)

My suggestion is to use pixel sizes in most cases.

HTH
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2011-04-12, 07:11 AM   #6
flowersgone
Are you sure you're an accredited and honored pornographer?
 
Join Date: Sep 2008
Posts: 67
There seems to be a preference by those with a bent for css to prefer the 'em's and they are a recommended 'best practice' by w3.org (http://en.wikipedia.org/wiki/Em_(typography) and http://www.w3.org/WAI/GL/css2em.htm).

I have gotten comfortable with 'em's and fwiw at this point I find them convenient for describing font related sizes like font-size and line-height and font proportional padding/margins.

I found two more interesting links discussing the matter here http://css-tricks.com/css-font-size/ and here http://www.w3.org/Style/Examples/007/units.en.html.

The line of business connected to this forum has, how should one say (?), an emphasis on image presentation and web image sizes are described in px. This may more often make px a more intuitive measure here...
__________________
Thank you for checking out my:
Portfolio and Tech Services
flowersgone is offline   Reply With Quote
Old 2011-04-12, 07:20 AM   #7
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Coming from print I was use to using points and ems but doing static web pages I find it easier to use pixels since my images are measured in pixels but on blog templates and other fluid pages ems are the way to go.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2011-04-12, 09:04 AM   #8
Voltar
Ahhh ... sweet pity. Where would my love life be without it?
 
Voltar's Avatar
 
Join Date: Jul 2010
Location: 5 minutes from the Golden Dome
Posts: 208
I use pixels, long time back use to use size 3 as standard, but nowdays size 4 and 5 are standard for me..with larger ones for impact...also a few well placed headline tags can do wonders sprinkled in..and SEs base codes all started with headline codes being super important and given a bit more weight...and i find they still are..if used correctly..
__________________
Great, Cheap, and Reliable Hosting Get $25 credit when you join M3Server HERE!
Voltar is offline   Reply With Quote
Old 2011-04-12, 09:38 AM   #9
LD
wtfwjd?
 
LD's Avatar
 
Join Date: May 2007
Posts: 2,103
I can't get pages to work right when there is text and images unless I use pixels. With relative sizes, some combination of screen resolution and browser always gets screwed up. Switching to pixels makes it right.

This seems to go against what people who write css reference books recommend...oh well.
__________________
Artisteer Wordpress Theme Generator Create Custom Themes!
My Little Network
LD is offline   Reply With Quote
Old 2011-04-12, 10:43 AM   #10
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
This seems to go against what people who write css reference books recommend
Yeah, one day someone should do an ebook "CSS+XHTML for Porn Pages"

... because there's a lot that applies to mainstream design that just doesn't work for what most of us do here.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2011-04-12, 11:37 AM   #11
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Whichever way you choose, be consistent.
Toby is offline   Reply With Quote
Old 2011-04-12, 12:24 PM   #12
spookyx
Kodak Ghosts Run Amok
 
spookyx's Avatar
 
Join Date: Apr 2003
Location: Hobbs End
Posts: 1,718
Quote:
Originally Posted by Simon View Post
My take on this is that unless you're creating a stylesheet that will be called when someone wants to print your page there's no good reason to use points.

Point sizes are for print medium.

Pixels are for display on a screen.

(There are also percentages and ems for sizing, but unless you're designing a "liquid layout" there's not much reason to use those.)

My suggestion is to use pixel sizes in most cases.

HTH
what simon says
spookyx is offline   Reply With Quote
Old 2011-04-15, 02:25 PM   #13
GigglesWorld
If something's hard to do, then it's not worth doing
 
Join Date: Apr 2011
Posts: 244
I generally prefer to use pixels.
GigglesWorld is offline   Reply With Quote
Old 2011-04-25, 04:05 PM   #14
housekeeper
Oh! I haven't changed since high school and suddenly I am uncool
 
housekeeper's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 250
Send a message via ICQ to housekeeper
Quote:
Originally Posted by Simon View Post
there's a lot that applies to mainstream design that just doesn't work for what most of us do here.
ain't it da truth, ain't it da truth...

px seem to be the most common and easy to work with
__________________
Trans-Glam Productions
photography - design - video production
twitter
housekeeper is offline   Reply With Quote
Old 2011-04-26, 04:09 PM   #15
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
Quote:
Point or Pixel?
No! It's none of your business how many pixels my screen has, nor how
big I need it in order to see it clearly. Your business is to emphasize or
de-emphasize text by making one part larger or smaller.

Any of the following CSS size codes are appropriate for a designer.
For example on a copyright notice "smaller", "small" or "x-small" might be
good, but it's none of your business how many pixels is "x-small" to me:

Code:
x-small 	Sets the font-size to an extra small size
small 	Sets the font-size to a small size
medium 	Sets the font-size to a medium size. This is default
large 	Sets the font-size to a large size
x-large 	Sets the font-size to an extra large size
xx-large 	Sets the font-size to an xx-large size
smaller 	Sets the font-size to a smaller size than the parent element
larger 	Sets the font-size to a larger size than the parent element
Also a percentage size such as "125%" might make sense, or maybe "70%".
That let's you say you want this text a bit bigger or smaller than the rest,
without making it invisible through my coke bottle glasses. This is especially
important with the recent rise of mobile, though we've seen the same thing
in prior years with WebTV, Playstation, etc. 20 pixels on a TV is 8% of the screen.
20 pixels on most monitors is closer to 2%, so on the TV it's four times times as tall.
On my "dumb" phone, you have no idea what 20 pixels is, but you know that
"larger" will be exactly that - larger than normal.

While writing this, I was on the phone with a guy who has his browser to set
about 32point font by default, because he doesn't see well. If you set either
a point size or a pixel size you'll lose him.

See also:
http://www.w3schools.com/css/pr_font_font-size.asp
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote
Old 2011-04-27, 08:32 PM   #16
davion
Trying is the first step towards failure
 
davion's Avatar
 
Join Date: Feb 2010
Posts: 126
For me choose the pixel as what they say depends on the screen resolution. Cheers.
davion is offline   Reply With Quote
Old 2011-04-27, 08:45 PM   #17
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
Quote:
Originally Posted by pc View Post
point is relative to the parent container
pixel is relative to the screen resolution

iThink
Point is NOT relative to the parent. "larger" and "smaller" are relative to the parent.
Point is a number of pixels which varies by system.


Quote:
(There are also percentages and ems for sizing, but unless you're designing a "liquid layout" there's not much reason to use those.)
Where "liquid layout" means "a site that works on your customer's screen as well as your own.
Agreed, there's not much reason to use percentages or ems if you are the only one viewing the site.
On the other hand, if have, or want to have customers, and want your site
to look good for potential customers, that when you want ems or percentages.
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote
Old 2011-04-27, 08:53 PM   #18
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
My images are in pixels so I make my fonts in pixels so that they will be relative to the images.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2011-04-27, 09:34 PM   #19
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
Quote:
Originally Posted by raymor View Post
..........

While writing this, I was on the phone with a guy who has his browser to set
about 32point font by default, because he doesn't see well. If you set either
a point size or a pixel size you'll lose him.

See also:
http://www.w3schools.com/css/pr_font_font-size.asp
combination of ctrl and + should do the trick in most cases
pc is offline   Reply With Quote
Old 2011-04-27, 09:41 PM   #20
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by raymor View Post
While writing this, I was on the phone with a guy who has his browser to set about 32point font by default, because he doesn't see well. If you set either a point size or a pixel size you'll lose him.
Yes, that would be true IF we were selling something technical or complex that required some explanation. But we're not.

We're selling porn. Pics and vids of tits, ass and pussy. The text is there to enhance the pics and for SE spiders, not as the main content.
Toby is offline   Reply With Quote
Old 2011-04-27, 10:38 PM   #21
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
Quote:
Originally Posted by Toby View Post
Yes, that would be true IF we were selling something technical or complex that required some explanation. But we're not.

We're selling porn. Pics and vids of tits, ass and pussy. The text is there to enhance the pics and for SE spiders, not as the main content.
or if there is any use to having the text in the first place.
Whether the text is there as the primary content or to enhance the pics,
it should be readable, or it should be gone.
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote
Old 2011-04-28, 03:25 AM   #22
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by raymor View Post
or if there is any use to having the text in the first place.
Whether the text is there as the primary content or to enhance the pics,
it should be readable, or it should be gone.
I'll trust my 50+ year old eyes to be a pretty good judge of whether the text on my pages is readable or not for the overwhelming majority of my visitors.
Toby is offline   Reply With Quote
Old 2011-04-28, 06:20 AM   #23
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,788
Send a message via ICQ to Greenguy
I don't understand this "none of your business" part of this - plus why would I want to limit myself to 6 font sizes? When building my sites, I use anywhere from 10 pixels to 50 pixels.
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2011-05-11, 11:54 AM   #24
Sable
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Aug 2007
Posts: 33
I used point a while ago, but changed it to pixels because there is a flaw in Firefox. When setting the font size in windows to 125% or more. IE scales the font based on windows settings, while Firefox ignores the windows settings and displays the font with the point size defined.

To get a consistent layout regardless of browser and windows settings it's better to use pixels.

Haven't tested it for Firefox 4.x yet, but there are still so many ppl using older Firefox versions, I think it will not change soon.

Sable
__________________
The Pussy Well Blog
Sable is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:54 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc