Wrox Programmer Forums
|
BOOK: Beginning Web Programming with HTML, XHTML, and CSS This forum is for discussing Jon Duckett's book Beginning Web Programming with HTML, XHTML, and CSS.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Web Programming with HTML, XHTML, and CSS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2004, 03:17 PM
Registered User
 
Join Date: Sep 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to TheNinthPlayer Send a message via MSN to TheNinthPlayer
Default Great Book!

I purchased this book the day it came out and was very excited to see a detailed book on HTML thats not over 3 years old. To date Ive read 4 diffrent books on HTML\CSS and this is the best one yet. But there was one thing I was disappointed in not seeing.

John Duckett went into good detail on the FONTS properties in CSS. But he failed to mention that diffrent computers Macs, PC, Unix have diffrent fonts and that users should pick a common font from each system that they like. While I dont own a mac and cant know for sure I have been told that fonts like Arial, Verdana, Tahoma are not standard mac system fonts.

 
Old October 26th, 2004, 11:44 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Those aren't Mac fonts. A similar Mac font is Helvetica.

So you'd declare your font as:
body {
    font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
}

If you don't have access to all three platforms, then generic fonts are your best bet. Though given all the *nix variants, one *nix platform may not have the same available fonts as another. From my own experience, they've been consistent. Generic fonts are always available though (provided the browser supports them, many do).

sans-serif (Arial, Helvetica)
serif (Times, Times New Roman)
monospace (Courier, Courier New)
cursive
fantasy

http://www.w3.org/TR/CSS21/fonts.html#font-family-prop

In my own research I've found serif, sans-serif and monospace to be the most consistent.

HTH!


Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old April 7th, 2010, 01:14 PM
Registered User
 
Join Date: Apr 2010
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

That's why you should always put a generic font at the end of each CSS font code.
In his more recent book, Beginning HTML, XHTML, CSS, and Javascript, he does explain that.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0 with C# - Great book! PorlyP Wrox Book Feedback 0 August 6th, 2007 07:58 AM
Great book saniamirza BOOK: Accessible XHTML and CSS Web Sites: Problem Design Solution 1 March 1st, 2007 09:57 AM
Great book, a little sloppy PatFrank BOOK: Beginning ASP.NET 2.0 and Databases 0 September 27th, 2006 02:20 PM
This Book - Great Disappointment mhardiman BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 2 August 4th, 2006 05:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.