Solved

CCS fonts and smooth text

Posted on 2006-11-25
5
733 Views
Last Modified: 2013-12-03
Hi, is there anyway of using H1 with CSS and not have un-smooth text...The text look like pixel text, like when not adding a sharp, smooth effect to text in photoshop....I would rather try CSS than a graphic...:)
0
Comment
Question by:wood1e
5 Comments
 
LVL 30

Expert Comment

by:Steggs
ID: 18011332
Greetings wood1e,

There is no css property to control the smoothness of text.

One thing you can do is cover the h1 text with a graphic.

<h1><em></em>Title</h1>

h1
{position:relative;
width:585px;
height:105px;
overflow:hidden;
}
h1 em
{display:block;
width:585px;
height:105px;
background:url(image.jpg);
position:absolute;
top:0;
left:0;
}

Regards
0
 
LVL 30

Expert Comment

by:VirusMinus
ID: 18013217
This is the best solution available for smooth typography and use of non-standard fonts other than Arial, Verdana etc.

http://www.mikeindustries.com/sifr/

example usage:
0
 

Author Comment

by:wood1e
ID: 18013758
Hi have tried the background image and the text over the top....with veranda, but I can never align the text with the text of the graphic?
0
 
LVL 30

Accepted Solution

by:
Steggs earned 500 total points
ID: 18042302
Hello again,

The text is supposed to be covered by the graphic
0
 
LVL 16

Expert Comment

by:LeeKowalkowski
ID: 18145513
There's currently no supported CSS property for anti-aliasing fonts.  

In Windows, you can enable smooth fonts in the display properties ( http://www.worldstart.com/tips/tips.php/1213 ).  If your users have done this, they won't benefit very much from your efforts to smooth some of the text in your website on their behalf, because the text would have been smooth in the first place.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now