Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html XAMPP环境中的样式表不工作_Html_Css_Responsive Design_Xampp - Fatal编程技术网

Html XAMPP环境中的样式表不工作

Html XAMPP环境中的样式表不工作,html,css,responsive-design,xampp,Html,Css,Responsive Design,Xampp,我使用XAMPP构建了一个web应用程序 如果我在网络中的其他设备上访问它,则样式表不起作用: <link rel="stylesheet" type="text/css" href="http://localhost/LeadCapt/Res/style.css"> 我想我必须有其他链接,不是localhost…而是哪些链接?尝试使用相对url链接而不是绝对url链接 或者,在浏览器URL中复制粘贴CSS的href,以检查它是否存在并且是否在该位置可用

我使用XAMPP构建了一个web应用程序

如果我在网络中的其他设备上访问它,则样式表不起作用:

<link rel="stylesheet" type="text/css" href="http://localhost/LeadCapt/Res/style.css">


我想我必须有其他链接,不是localhost…而是哪些链接?

尝试使用相对url链接而不是绝对url链接

或者,在浏览器URL中复制粘贴CSS的href,以检查它是否存在并且是否在该位置可用