Attaching style sheets - which way? [resolved]
I use:
<link href='orange.css' rel="stylesheet" type='text/css' title='default' />
But I know you can also use:
@import url (orange.css);
Now, I would like to go over using the second way, but I have JS on my page which stores in cookies which style sheet the user has activated and displays the correct one. How can I do this with the new way of importing style sheets?
It's the title bit that the script reads, so that's what I need to keep. If it's very tricky, I'll use PHP instead, and use its cookies instead.