
Okay Harry I don't mind teaching you something new,

Right take my above code, if I was going to do it TBH I would do it via a PHP session, that way it should work if cookies are disabled. But I could add a cookie version just for you Harry if you so wish, you just let me know fella if you want help with it.
So at the top of the page above everything else lets start the session.
So ~
<?php session_start()?>
Next we bring in the code I wrote with 2 added if's and a couple of extra lines of code.
<link style="css/main.css"...
<?php if(isset($_SESSION['style'])){
if($_SESSION['style']=="arial" || $_SESSION['style']=="verdana" || $_SESSION['style']==...){?>
<link style="css/<?php echo $_SESSION['style']?>.css"...
<?php }
}else{
if(isset($_GET['font'])){?>
<meta name="robots" content="noindex, follow" />
<?php If($_GET['font']=="arial"){
$_SESSION['style']="arial"?>
?>
<link style="css/arial.css"...
<?php }elseif($_GET['font']=="verdana"){
$_SESSION['style']="verdana"?>
?>
<link style="css/verdana.css"...
<?php }else(....)
$_SESSION['style']="....?>
<link style="css/...
<?php }
}
}?>
I don't think I have made a syntax error, but without testing I cant tell If I made a mistake changing the code for sure, if you get 1 let me know but you shouldn't it looks fine.
Basically, this is for Harry's benefit,

, lets explain the changes. lol.
<?php session_start()?>
This starts PHP session function, this needs to be at the top of all the pages using this.
<?php if(isset($_SESSION['style'])){
if($_SESSION['style']==arial" || $_SESSION['style']=="verdana" || $_SESSION['style']==...){?>
<link style="css/<?php echo $_SESSION['style']?>.css"...
<?php }else{
We then test to see if a session is set, if it is we add a security test to see if it is something we set it to. We then echo it out to the newly created CSS sheet. I don't think the meta robots should be needed as it would have been set on the page you set the session on and thus not needed on any secondary pages.
If it's not set it's the first time it's being initiated so we add the first section of code in an else statement.
Then once we have worked out which get variable it is we set the session to contain that font so we can then use it in the first if statement. Easy and still hugely reduced code Harry.

Note: If you are going to have lots of fonts I would take out the security test via an if statement and instead add the security test via a PHP switch statement TBH, much more effective then, but that would depend on the amount of fonts you want to check.
Is there anything else I can help you with today Harry or is that it for today? lol
Jaz
Key:
Blue ~ XHTML
Red ~ PHP