Marie-Ange Demeulemeester wrote:
According this spec http://developer.android.com/design/style/typography.html , I've defined my font-size in sp (scale-independent pixels): body{font-family:Roboto,Helvetica,Arial,sans-serif; font-size:14sp; } p.size20 {font-size:20sp; font-size:larger} Or in dp (Density-independent Pixels): body{font-family:Roboto,Helvetica,Arial,sans-serif; font-size:14dp; } p.size20 {font-size:20dp; }
To what DTD or Schema are you coding your pages, Marie-Ange ? As far as I can tell, neither scale-independent pixels nor density-independent pixels occur in any W3C specification at all. Philip Taylor ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/