| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 6
|
Anti aliasing
Couldn't find anything on the topic, so here goes. I'm making this homepage and I use an H1 for the heading. The problem is jagged edges, even on web safe fonts like Verdana and Arial. I've seen some graphic designer sites that have have no jaggeds whatsoever, but I can't figure how to achieve that using CSS. Do i really have to use Photoshop, because I don't want to? My homepage must be plain, simple and quick. |
|
|
|
|
|
#2 (permalink) |
|
tech house dj
Join Date: May 2008
Location: riyadh, saudi arabia
Posts: 30
|
afaik it depends on three factors: browser support, user os settings, and the unit used for font size. i'm not 100% sure but if you are using px as a font size unit, try changing to ems or % (you should not be using px anyway) +edit+ i'm pretty sure there's no css attribute to define that; if that is what you were looking for |
|
|
|
#3 (permalink) |
|
#T1M3S!
Join Date: May 2008
Location: in an visionary world
Posts: 11
|
There is a great Flash project for this. It replaces the Headline tags with flash files that contain an font in any form or shape could be an font that the viewer doent have, and present it in Anti-ailising ones. If you dont have flash or javascript on than you see the normal Headline tags. project called Sifr. site: mikeindustries.com/blog/sifr/ |
|
|
|
#4 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 6
|
But won't the flash make it a little heavy? On my current homepage, all my images are in bytes. The point is, I want to make a highly customizable page with themes and other such effects, only through the use of CSS. Adding too many images spoils that. Check my current page at sid-deswal(dot)110mb(dot)com |
|
|
|
#7 (permalink) | |
|
#T1M3S!
Join Date: May 2008
Location: in an visionary world
Posts: 11
|
Quote:
well all the headlines are made Trough 1 flash file and not different files for every headline. And yes it makes it more heavy, but it solves the problem. |
|
|
|
|
#9 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 6
|
@djhektik 90% of the market is IE, and thats what the majority of my audience will be using, even though FF is much better. @Fjtu I guess if IE doesn't show it nice, I'll have to start using flash and then somehow create a lot of money to spend on bandwidth. |
|
|
|
#11 (permalink) | |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
Quote:
It's a user setting. No sense in worrying about it. Use sIFR if you want, but very sparingly. It's not too heavy in terms of bandwidth, but it is in terms of client-side processing. Why can't you just use plain old image replacement? A PNG or a GIF is easier to process (and more widely supported) than sIFR! Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
|
|
|
#12 (permalink) |
|
tech house dj
Join Date: May 2008
Location: riyadh, saudi arabia
Posts: 30
|
it is not locked to the user setting. the following screen is one of my sites on my w2k3 server, ie7, without changing any settings in the browser or os: ![]() you can see the text is antialiased, though its not as smooth as the previous example from macos. the following is the css code that styles the text on that site: Code:
so i guess it throws the unit idea out of the window. experiment and see what happens. personally though, i would not use flash or images for text, especially when the only reason is anti aliasing. |
|
|
|
#15 (permalink) | |
|
tech house dj
Join Date: May 2008
Location: riyadh, saudi arabia
Posts: 30
|
Quote:
the os will not affect this. screen resolution, as in pixels per inch is defined by the monitor specs and user setting. my macbook pro 15" screen runs at 1440x900, so assuming the screen measures 13.5 inches wide, that calculates to about 100 dpi. if i restart the computer in windows, the dpi value will be the same - the screen will still run at 1440x900 and the screen itself will still measure 13.5 or so inches wide. different screens will have different "real" resolutions, which is why a high resolution on a small screen makes everything on screen look small. |
|
|
![]() |