|
|
|
|
Thread title: Smooth text using CSS? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
06-08-2006, 04:22 PM
|
#1
|
Status: Member
Join date: Mar 2005
Location:
Expertise:
Software:
Posts: 164
|
Smooth text using CSS?
Hi,
In photoshop you have the option to make text 'smooth' 'strong' or 'crisp'. Is there a way to create a similar effect using css? we use Trebuchet MS throughout all our sites so I want to remain consistent by keeping this font, but without the 'smooth' setting, as the text it looks pretty naff.
Thanks very much!
|
|
06-08-2006, 04:31 PM
|
#2
|
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
Posts: 1,026
|
Nope. You can set it in windows by using cleartype, though.
|
|
06-08-2006, 04:38 PM
|
#3
|
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
Posts: 2,694
|
Originally Posted by Subhan
Hi,
In photoshop you have the option to make text 'smooth' 'strong' or 'crisp'. Is there a way to create a similar effect using css? we use Trebuchet MS throughout all our sites so I want to remain consistent by keeping this font, but without the 'smooth' setting, as the text it looks pretty naff.
Thanks very much!
|
I believe if you use:
text-transform: uppercase;
font-weight: bold;
letter-spacing: -3px;
font-size: 24px;
Then it should be smooth.
|
|
06-08-2006, 04:39 PM
|
#4
|
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
Posts: 4,449
|
It generally depends on the browser and font size to my knowledge.
|
|
06-08-2006, 04:51 PM
|
#5
|
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
Posts: 2,694
|
And the systems amount of RAM.
|
|
06-08-2006, 04:54 PM
|
#6
|
Status: Member
Join date: Feb 2006
Location: Virginia
Expertise:
Software:
Posts: 143
|
Originally Posted by Subhan
Hi,
In photoshop you have the option to make text 'smooth' 'strong' or 'crisp'. Is there a way to create a similar effect using css? we use Trebuchet MS throughout all our sites so I want to remain consistent by keeping this font, but without the 'smooth' setting, as the text it looks pretty naff.
Thanks very much!
|
No, or else the majority of the sites out there wouldn't be using the generic system fonts... but anyway for large amounts of text I recommend using Verdana, and changing the line-height, and other properties.
|
|
06-08-2006, 05:18 PM
|
#7
|
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
Posts: 1,026
|
Originally Posted by Garrett
And the systems amount of RAM.
|
What does RAM have to do with the way browsers render text? It depends completely on the versatility of the font (or user settings).
|
|
06-08-2006, 05:19 PM
|
#8
|
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
Posts: 2,297
|
You can't change the text smoothing with CSS, as it gets rendered by Windows and not the browser. You could try to use fonts that don't have smoothing, like the Windows System font, but that's horrible.
|
|
06-08-2006, 05:22 PM
|
#9
|
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
Posts: 2,694
|
Originally Posted by freedom
What does RAM have to do with the way browsers render text? It depends completely on the versatility of the font (or user settings).
|
I thought it was the amount of RAM that it took so it could render the text in AA? Because I tested this on my dads CPU with 256, and it got no anti-alias. And on my 1.5 gig, it got it. Same browser and version same font.
|
|
06-08-2006, 05:23 PM
|
#10
|
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
Posts: 1,026
|
Originally Posted by Garrett
I thought it was the amount of RAM that it took so it could render the text in AA? Because I tested this on my dads CPU with 256, and it got no anti-alias. And on my 1.5 gig, it got it. Same browser and version same font.
|
It might have had cleartype. Ram doesn't have to do with font-rendering .. especially in a browser. I'm not sure on the effect it has on the windows ui.
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|