Welcome Guest, Not a member yet? Register   Sign In
CSS won't load
#1

[eluser]Friedebarth[/eluser]
I just got started again with CodeIgniter and decided to transfer the default CSS from /application/views/welcome_message.php into an external stylesheet at /assets/styles/style.css

So, I removed the style from the header and replaced it with this:

Code:
<link rel="stylesheet" href="<?php echo base_url();?>assets/styles/style.css" type="text/css" media="screen" />

However, that just completely breaks the page. As in, I don't even get any unstyled content, the page just turns up blank. If I try just entering the URL normally (http://localhost/ci/assets/styles/style.css), I do get the content, but the style is ignored. What's going on here?


Messages In This Thread
CSS won't load - by El Forum - 12-26-2013, 06:38 AM
CSS won't load - by El Forum - 12-26-2013, 11:35 AM
CSS won't load - by El Forum - 12-26-2013, 02:34 PM
CSS won't load - by El Forum - 01-06-2014, 09:04 AM
CSS won't load - by El Forum - 01-06-2014, 10:04 AM
CSS won't load - by El Forum - 01-06-2014, 10:41 AM
CSS won't load - by El Forum - 01-06-2014, 11:05 AM
CSS won't load - by El Forum - 03-06-2014, 08:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB