[SOLVED] View losing CSS Style after login validation fails. |
[eluser]cdonate[/eluser]
So, this is the header of my login_view.php. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> My controller have this code in it: Code: <?php http://localhost/code/index.php/ the page is displayed without problem, the CSS Style and images are linked. But, if I just click on Login, without typing my credentials the page loses all its styles and images. After the failed authentication my browser points to: http://localhost/code/index.php/login/va...redentials I gess that that has something to do with it. My base_url is set to http://localhost/code/, that is pointing to C:\wamp\www\code. My css and img files are inside C:\wamp\www\code\css and C:\wamp\www\code\img. Thanks for the help, guys!
[eluser]Unknown[/eluser]
I made an account on here just to say THANK YOU! ![]() |
Welcome Guest, Not a member yet? Register Sign In |