zander1983 Posted March 23, 2011 Share Posted March 23, 2011 due to mod_rewrite flaws, i have to give everything an absolute path. somehow though, the stylesheet's absolute path wont work. heres the code: <link href="C:/xampp/htdocs/lso/style.css" rel="stylesheet" type="text/css" /> the stylesheet is in the lso folder, yet somehow this wont work and no styles are loaded! Link to comment https://forums.phpfreaks.com/topic/231539-simple-stylesheet-absolute-path/ Share on other sites More sharing options...
MrXHellboy Posted March 23, 2011 Share Posted March 23, 2011 <link href="/htdocs/lso/style.css" rel="stylesheet" type="text/css" /> Link to comment https://forums.phpfreaks.com/topic/231539-simple-stylesheet-absolute-path/#findComment-1191485 Share on other sites More sharing options...
zander1983 Posted March 23, 2011 Author Share Posted March 23, 2011 thanks that worked. still doesnt load when i use a mod_rewrite though..but thats a different issue Link to comment https://forums.phpfreaks.com/topic/231539-simple-stylesheet-absolute-path/#findComment-1191488 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.