am using Ubuntu OS and when i run my site in browser as an HTML file it displays the CSS but when i convert the site to a PHP file and run it using local host it doesn't display my CSS.i have attached some screenshots of the HTML and PHP views of the navigation bar.thank you for your timeHTML file view in browser
2条回答 默认 最新
- dongyou8087 2018-09-30 11:13关注
- First check your css file. Is it available or not.
- If that file is available then check the file directly wether you have access or not. For example, if the file in css directory. Try access it directly by url. Do you get any error?
- If you doesn't have access to directory probably htaccess configuration or directory issue (set the directory access to public or chmod 777) and try to give htaccess to allow all https://httpd.apache.org/docs/current/howto/htaccess.html
Order allow, deny Allow from all
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥30 关于#java#的问题,请各位专家解答!
- ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分 合并
- ¥20 pcf8563时钟芯片不启振
- ¥20 pip2.40更新pip2.43时报错
- ¥15 换yum源但仍然用不了httpd
- ¥50 C# 使用DEVMOD设置打印机首选项
- ¥15 麒麟V10 arm安装gdal
- ¥20 OPENVPN连接问题
- ¥15 flask实现搜索框访问数据库
- ¥15 mrk3399刷完安卓11后投屏调试只能显示一个设备