Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/91.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 如何制作网站多平台设备?_Html_Css_Dreamweaver - Fatal编程技术网

Html 如何制作网站多平台设备?

Html 如何制作网站多平台设备?,html,css,dreamweaver,Html,Css,Dreamweaver,我正在与Macrowave Dreamweaver 8合作。我需要为所有设备显示我的网站。我有一个包含桌面样式的index.css,还有一个index\u mobile.css,它是移动设备的样式表 我在index\u mobile.css中使用了display:none到所有div,这些在移动版本中没有使用。而不是在我的index.htmi设置中: @import url (LAYOUT/index.css); @import url(LAYOUT/index_mobile.css); 但这

我正在与Macrowave Dreamweaver 8合作。我需要为所有设备显示我的网站。我有一个包含桌面样式的
index.css
,还有一个
index\u mobile.css
,它是移动设备的样式表

我在
index\u mobile.css
中使用了
display:none
到所有
div
,这些在移动版本中没有使用。而不是在我的
index.htm
i设置中:

@import url (LAYOUT/index.css);
@import url(LAYOUT/index_mobile.css);

但这并没有改变什么。我错过了什么?

最简单、最好的方法是使用。查看
容器
。Bootstrap非常易于使用,它将为您节省很多时间,它还附带了一些组件,您可以通过使用自己的CSS覆盖Bootstrap CSS轻松地设置样式

使用bootstrap 3或最新的bootstrap 4测试版


试试bootstrap 3我会先读一些关于的东西,你可以试试像或@GianlucaCaliendo这样的东西,在这种情况下试着使用
@import url(“LAYOUT/index.css”)
你错过了“.欲了解更多信息,请阅读@GianlucaCaliendo,我想你需要这样的内容:
请阅读请帮助我删除你的答案,删除这个问题