View Full Version : Font Sizes
05-11-2007, 01:33 PM
Can anyone help me to achieve this please?
Thanks in advance, and if I need to change anything, can you tell me because I am totally new to this coding thing.
05-11-2007, 02:01 PM
Hi again colster :), question... have you linux or windows hosting?
05-11-2007, 04:26 PM
well, I havent got any hosting as of yet, because I cannot afford, but I will be getting Windows Hosting.
05-11-2007, 04:34 PM
question... have you linux or windows hosting?
What does that have to do with anything?
05-11-2007, 04:43 PM
Ok, never mind.. But, I suggest you rather linux hosting, there will be running PHP and I think PHP is better / easier to learn .. And now about the font size.. do you use any CSS in your HTML? I mean.. external with something like this
<link rel="stylesheet" type="text/css" href="main.css">
or embedded something like this...
If you are using embedded, save it as css file and define the external definiton rather.. then name the css file after the font size what you want.. for example in
And then just link from all your sites to target definition file for example
<link rel="stylesheet" type="text/css" href="small.css"> or
<link rel="stylesheet" type="text/css" href="medium.css">
And that value small/medium/large will be read dynamically from cookie like this...
<?php if ($_COOKIE['fontsize']=='small') || ($_COOKIE['fontsize']=='medium') || ($_COOKIE['fontsize']=='large')
echo '<link rel="stylesheet" type="text/css" href="'.$_COOKIE['fontsize']'.css">';
else echo '<link rel="stylesheet" type="text/css" href="medium.css">';
05-11-2007, 05:29 PM
right, okay.. thanks for your help. When i get hosting, which should be around July/August, I will come back for help.
Thanks for all that came and helped me. Much apreciated.
05-11-2007, 06:29 PM
Here's a good article on dynamically resizing fonts: http://alistapart.com/articles/fontresizing
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.