如何使用style.css制作网页?
我已经在服务器上上传了我的网页,但是如果我从浏览器中保存我的网页,并且当我打开网页时,style.css不会激活。。。如何将active style.css导入我的网站? 我用这个,如何使用style.css制作网页?,css,Css,我已经在服务器上上传了我的网页,但是如果我从浏览器中保存我的网页,并且当我打开网页时,style.css不会激活。。。如何将active style.css导入我的网站? 我用这个, 使用Firefox扩展FireBug调试代码并定义问题 如果这不起作用,请告诉我们您的样式表的文件夹结构。查看此内容并检查您的路径 案例1 |-style.css |-index.html <link rel="stylesheet" href="style.css" type="text/c
使用Firefox扩展FireBug调试代码并定义问题
如果这不起作用,请告诉我们您的样式表的文件夹结构。查看此内容并检查您的路径 案例1
|-style.css
|-index.html
<link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
|-style.css
|-index.html
案例2
|-style.css
|-folder
|-index.html
<link rel="stylesheet" href="../style.css" type="text/css" media="screen"/>
|-style.css
|-文件夹
|-index.html
案例3
|-css
|-style.css
|-folder
|-index.html
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen"/>
|-css
|-style.css
|-文件夹
|-index.html
你知道这是什么意思。/style.css是指它在当前文件夹的父文件夹中。你的html文件和style.css文件在哪里?
|-css
|-style.css
|-folder
|-index.html
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen"/>