maxudaskin Posted August 18, 2011 Share Posted August 18, 2011 I have this snippit of code to get the CSS from the public folder (rather than the framework folder), but Chrome is making it all too complicated. <link rel="stylesheet" type="text/css" href="{$base}assets/css/style.css" title="style" /> The template system changes {$base} to http://localhost/fuel/public/ but the source comes out as <link rel="stylesheet" type="text/css" href="C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fuel\fuel\app\rain/tpl/http://localhost/fuel/public/assets/css/style.css" title="style" /> Does anyone have any ideas why this may happen? Link to comment https://forums.phpfreaks.com/topic/245139-css-absolute-location-coming-out-as-relative/ Share on other sites More sharing options...
requinix Posted August 18, 2011 Share Posted August 18, 2011 If that's the actual HTML output, and not what Chrome's Inspector says it is (and maybe even if it is), then the template system is at fault... Link to comment https://forums.phpfreaks.com/topic/245139-css-absolute-location-coming-out-as-relative/#findComment-1259146 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.