Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1509 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Smooth text using CSS?

Thread title: Smooth text using CSS?
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
06-08-2006, 04:22 PM
#1
Subhan is offline Subhan
Status: Member
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 164
iTrader: 0 / 0%
 

Subhan is on a distinguished road

  Old  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
freedom is offline freedom
freedom's Avatar
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
 
Posts: 1,026
iTrader: 0 / 0%
 

freedom is on a distinguished road

  Old

Nope. You can set it in windows by using cleartype, though.

06-08-2006, 04:38 PM
#3
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

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
Jeff Andersen is offline Jeff Andersen
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 4,449
iTrader: 10 / 100%
 

Jeff Andersen is on a distinguished road

  Old

It generally depends on the browser and font size to my knowledge.

06-08-2006, 04:51 PM
#5
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

And the systems amount of RAM.

06-08-2006, 04:54 PM
#6
itmpls is offline itmpls
itmpls's Avatar
Status: Member
Join date: Feb 2006
Location: Virginia
Expertise:
Software:
 
Posts: 143
iTrader: 0 / 0%
 

itmpls is on a distinguished road

Send a message via AIM to itmpls

  Old

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
freedom is offline freedom
freedom's Avatar
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
 
Posts: 1,026
iTrader: 0 / 0%
 

freedom is on a distinguished road

  Old

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
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

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
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

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
freedom is offline freedom
freedom's Avatar
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
 
Posts: 1,026
iTrader: 0 / 0%
 

freedom is on a distinguished road

  Old

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.

Closed Thread  
Page 1 of 2 1 2 >


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed