Twentyoneth Posted May 26, 2006 Share Posted May 26, 2006 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? Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/ Share on other sites More sharing options...
AndyB Posted May 26, 2006 Share Posted May 26, 2006 Do you mean it's on a site that you don't control and has hotlink protection? Or what? Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/#findComment-39256 Share on other sites More sharing options...
Twentyoneth Posted May 26, 2006 Author Share Posted May 26, 2006 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. Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/#findComment-39291 Share on other sites More sharing options...
nogray Posted May 26, 2006 Share Posted May 26, 2006 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] Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/#findComment-39318 Share on other sites More sharing options...
Twentyoneth Posted May 30, 2006 Author Share Posted May 30, 2006 it disabled the "@" sign...Does it need it? Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/#findComment-40351 Share on other sites More sharing options...
nogray Posted May 30, 2006 Share Posted May 30, 2006 yeah, you need the @ Link to comment https://forums.phpfreaks.com/topic/10527-linking-to-a-css-document/#findComment-40370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.