Fonts For Your Web SiteGet Web Design Tips and Tricks on mps-web-design.com. Fonts For Your Web Site topic will increase your understanding on Web Design Tips and Tricks. We at mps-web-design.com only provide news, articles, information in Web Design Tips and Tricks. Web Design Tips and Tricks at mps-web-design.com provides the most up to date news and articles. If you have questions please do not hesitate to contact us.
you must standardize your font selection. You must also limit the fonts that you use to those that probably will be installed on most of your target systems. The reason for this is simple: fonts within web pages are only displayed properly if the font is installed within the viewers computer system. You might think your web page looks great with the 'Oreo Bazooka Joe' font, but since I don't have that installed my system will substitute my default font. The problem is especially apparent for those Windows designers with many different fonts installed. It looks great on their system, right? Some web sites solve this problem by allowing their visitors to download and install the fonts which they display. I've seen this most often in 'Halloween' sites with their strange, gothic fonts. Have I ever downloaded and installed those fonts? Nope. This method has the same problem that plug-ins introduce: visitors usually don't want to install special things to view your web site. Requiring them to install a new font just gives people one more reason to leave fast. Microsoft has helped by creating a series of 'web fonts' - a core of fonts which are by default installed on any system that runs Internet Explorer. These fonts are the same for both Windows and Macintosh. These fonts include 'Verdana', 'Arial', 'Trebuchet MS'. 'Georgia' and 'Comic Sans MS'. Generally, when you specify a font in a web page you should indicate a primary font and a secondary font. This gives the system a choice as to which fonts to use. The tag is styled as shown below. This tag says to use Comic Sans MS if it is available. If not, then Arial is to be used. The advantage of using this method is that you can ensure that your web pages work properly even if your visitors do not have exactly the right fonts installed.
This post was originally published on May 13th, 2004. As others are writing about the topic, I thought bringing it out of the archives would be worthwhile. A little recapThe idea of placing multiple states of buttons and other elements that are used in background images took its roots, I believe, from Pixy's Fast Rollovers. The CSS Zen Master extended this to another purpose in CSS Sprites: Image Slicing’s Kiss of Death. Didier Hilhorst came up with a nice application of this method, and I worked it backwards in Responsible CSS - Recycle your background images. The idea behind the 'sprites' method can obviously be extended to any html element, and there are tangible benefits for doing this, just as long as the designer does his or her usual homework. Benfits of using the 'sprites' methodWhat are the possible the benefits of using this method? Essentially it lies in faster download times for your web content. Readers of Andy Kings book, Speed Up Your Site: Web Site Optimization will notice that this method reduces http requests and makes more efficient use of the data packets used to transfer files to the users computer, and that that is a good thing. Packet size and http requestsFrom Web Page Design and Download Time, by Jing Zhi of Keynote Systems (seen here - pdf), cited in Andy's book:
They also found that it was the number of packets and not necessarily the overall size of the page that was important. If a packet could hold 1460 bytes (the figure given in the article) and your object was 1600 bytes, it would require two packets. They found that this object would transfer at the same speed as another object that was greater in size but still fit in two packets. Potential payoffThe potential payoff for using this method versus individual images, then, is a faster download time due to reduced number of packets and fewer http requests. Reducing http requests is easy. One file instead of two or three etc. is simple. But packet requests? That depends... An exampleThe number of packets sent will depend on the size of the file and the users internet connection. As an example, lets look at the fiftyfoureleven.com logo at the top of the page. When this design was first being coded, that link consisted of two 3.34kb images, one for the link state and one for the hover state. Now, by using one image that contains both states and simply bumping it back and forth depending on the hover state, that has been reduced to one 5.35 kb image. Right there is a savings of 1.33 kb. Good news. Now, for arguments sake lets say that a packet can hold 1460 bytes (packet size for connections greater than 128kb/s = 1500 bytes -40bytes for tcp/ip headers). The two image method used 6 packets, 3 for each image (3.34/1.46, rounded up). The single image method uses 4 packets (5.34/1.46, rounded up). Things are looking good. How to optimizeIn his alistapart article, Dave refers to the image that holds all of the sprites as his 'master image'. The key to benefitting from this method is to ensure that the file size of your master image isn't a bloated equivalent versus the sum of its pieces. ConclusionGreat benefits can be realized when combining a master image from slices that fall well below the size of one packet, as that unused packet space goes wasted. After doing a little more research, it seems that packet size can vary depending on the connection rate. That being said, it may be rather difficult to come up with a firm rule here. To play it smart and safe, try and:
This isn't exactly groundbreaking advice, however having seen the results acheived with the logo on this page, it can be seen that using the sprite method versus individual images at minimum does reduce http requests and even further it can reduce file size which in turn can reduce the number of packets sent. Article Index: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 |
More Articles:1. Web Site Accessibility By Christopher Smith Making your site accessible means making it available to be used by all. It's too easy to think that what looks ok to you will do for all. Unfortunately, things aren't that simple.Websites are no longer just looked at by people sitting down in front of a PC. Today, websites are viewed on PCs, laptops, palmtops, all manner of mobile devices, digital TV, they are viewed by non-human automated systems or robots and are read aloud by special software to the visually impaired. If your site cannot b… 2. 6 Steps to Professional Logo Design By Barrett Phillips -Use a color scheme. If you use too many colors, typically your designs will begin to look tacky and unprofessional. This does somewhat depend on the business type, however. If you're creating a logo for a toy store, this would be an exception. But you'd definitely want to stick to only a couple colors if you're designing for an insurance firm, for instance.-Keep it simple. Try creating logos that convey as much information as possible while also being as simple as possible. This is the… 3. The Truth about How to make Website More Attractive In the physical world you can easily sell a product by your interacting behavior and your marketing tactics. But in the e-world where there is no face to face interaction and all marketing is totally a game of your site's interaction with your visitor which may desperate them to turn into your healthy customers. While designing your site you must know who your target people are and what are their needs and will your website turns to be beneficial for them. A website's form and content is w… 4. Why Autoresponders Are an Essential Tool for Every Internet Business I admit it -- when I'm on the Internet, I want everythinginstantly. And I know I'm not alone; in our high-speedworld we expect to get what we want with the click-of-a-mouse.To help fulfill this desire for everything 'now, now, now!',many Internet businesses make use of autoresponders. Theseprograms automatically return a prewritten message toanyone who sends a message to the autoresponder's emailaddress. They usually allow for several follow-upmessages as well.Autoresponders are a real blessing … |
||||