Hi All!
I have just started using CSS, and I must say; I wish I started using it earlier, it is a great time saver and excellent for creating a standard.
I just want to know if it is possible to send a variable to a CSS script so I can use a different font size. For example by passing the variable like so:
<link rel="stylesheet" type="text/css" href="../scripts/common.css?size=$size">
$size is a variable in my perl cgi script. It can have a value of 10,11, or 12.
What do I write in the CSS script to handle the catching of this variable and then implimenting it as well. A brief example would be much appreciated.
Enkosi Kakhule!
Sean.
I have just started using CSS, and I must say; I wish I started using it earlier, it is a great time saver and excellent for creating a standard.
I just want to know if it is possible to send a variable to a CSS script so I can use a different font size. For example by passing the variable like so:
<link rel="stylesheet" type="text/css" href="../scripts/common.css?size=$size">
$size is a variable in my perl cgi script. It can have a value of 10,11, or 12.
What do I write in the CSS script to handle the catching of this variable and then implimenting it as well. A brief example would be much appreciated.
Enkosi Kakhule!
Sean.