w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
CSS doesn't work when I add slash (/) at the end of my url

Try this add code to your html head:

<link rel="stylesheet" href="<?php echo
site_url('css/style.css');?>" type="text/css"/>

or

<link rel="stylesheet" href="<?php echo
base_url();?>css/style.css" type="text/css"/>




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.