From: ProjetObjet <li...@pr...> - 2002-10-09 20:23:16
|
Hello developers, May I introduce myself in your css discussion. I like and appreciate so muc= h phpwebsite that I feel like I have to express myself concerning this specia= l development aspect. As a graphic designer, I feel very much concern about font-sizes. In my case I prefer going for absolute size in ".px" in theme design. If someone needs to scale the text size he/she can do it through the following browser View/Zoom options : ------------------ Under Windows OS:=20 Internet Explorer 6 Netscape 6=20 Mozilla 1.0 Opera 6.0 =20 ------------------ Under Mac OS: Internet Explorer 5 Netscape 6 Mozilla 1.0 I don't know for other=A0OSs. Could not test this. If someone could confirm for other Platforms...? When you need to work with absolute size for left and right colums and banners, the design always behave much better when used with absolute font sizes in ".px" From my experience on Mac and PC strictly regarding type, you need just two style sheets. One for all the browsers and one just for Netcape 4 under Windows. Absolute font sizes are ALWAYS smaller in Netcape 4 under Windows. A Java Script in the header would be better I think since the browser could cache the style sheet at least for the session. This one below is not doing the right job because it is an old script that calls for 3 different css but I guess someone familiar with Java could easily modify it to suit the need for two distinct css. Fist the script mus= t check for the the Platform (Win or Mac or Other...) then if it is Netscape = 4 or all the other ones. <script language=3D"JavaScript"><!-- var newNav=3Dnavigator.appName; var newPlatf=3Dnavigator.platform; var stringPlatf=3DnewPlatf.substring(0,3) if (stringPlatf=3D=3D"Win") { if (newNav=3D=3D"Microsoft Internet Explorer") { document.write('<link rel=3D"stylesheet" href=3D"http://phpwebsite/css_explorer_win.css">') } else { document.write('<link rel=3D"stylesheet" href=3D"http://phpwebsite/css_netscape_win.css">') } } else { document.write('<link rel=3D"stylesheet" href=3D"http://phpwebsite/css_mac.css">') } // --> </script> TYPE: I always call prefer and use Verdana over any other one because of this: See the designs for Arail/Verdana/Trebuchet at 100%: http://www.malouin.qc.ca/design/en/images/type/type_100.gif See the blocking and problematic red zones (zoom): http://www.malouin.qc.ca/design/en/images/type/type_zoominproblems.gif Another great font design for the Web is Georgia although the X-Height is BIG. It is a little more difficult to use but well designed. Am I off track with all this? Does these toughts are of any help to you great developers? Best Regards, Yves Malouin http://www.malouin.qc.ca le 2002/10/09 13:21, Bob T =E0 bo...@el... a =E9crit=A0: > Around about the topic of style sheets... >=20 > Most sites use fixed font sizes in style sheets. This over-rules the use= rs > ability to change the display size of the font, to make reading easier (f= or us > old guys)... >=20 > I just started learning about css and discovered to my delight that it do= es > not have to be this way!! >=20 > You can use: font-size:120% , font-size:90%, font-size:200% etc... >=20 > You get control over relative size and leave the user with the ability to > determine what size, for them, should be considered "normal" >=20 > I hope that theme creators will use relative instead of fixed sizes for f= onts. >=20 > Bob T >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >=20 >=20 |