Linking css from another website

Permalink
Hi I would like to include a css file in my header from another host is it possible?
Now the code is :
<link rel="stylesheet" href="<?php echo $this->getThemePath()?>/style.css" type="text/css" />

and everything is working but I'd like to do something like :
<link rel="stylesheet" href="http://www.anotherwebsite.com/style.css" type="text/css" />

is it possible?

 
jaredquinn replied on at Permalink Reply
jaredquinn
You can add this to the elements/header.php file located within the theme that is currently active.
thessdd replied on at Permalink Reply
I did it but it seems not to load the css file the syntax of the second code is it correct right?
jaredquinn replied on at Permalink Reply
jaredquinn
Looks okay to me.

Can you view source on your page and see that it did actually get loaded (ie you've added it to the correct theme)

Also, check the URL that you're referencing is correct and that you can open it in your browser (should show you CSS)..

I'm assuming you control the site you're loading it from - otherwise perhaps it's set up to disallow foreign referrers?

Jared