Jump to content

Archived

This topic is now archived and is closed to further replies.

Twentyoneth

linking to a css document

Recommended Posts

I am trying to link to a css document uploaded on the internet somewhere, but the <link method has been disabled, does anyone know of another way to link to it?

Share this post


Link to post
Share on other sites
Do you mean it's on a site that you don't control and has hotlink protection? Or what?

Share this post


Link to post
Share on other sites
the site allows you to change the css, but the <link rel function in html is disabled, probably for harmful scripts, but I am just wanting to link to a css page, so I was wondering if there was another way.

Share this post


Link to post
Share on other sites
You can use the import rule in css, but if the site stops the link tag, they might stop the import as well
[code]
<style>
@import url("mystyle.css");
</style>
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.