Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.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 为CSS背景图像创建图像映射_Html_Css_Imagemap - Fatal编程技术网

Html 为CSS背景图像创建图像映射

Html 为CSS背景图像创建图像映射,html,css,imagemap,Html,Css,Imagemap,我在html页面上设置了一个背景图像,其中包含以下CSS代码: html{ 背景:url(“assets/Untitled-2.gif”)无重复中心固定; 背景尺寸:封面; 身高:100%; }可能重复@EternalHour不,我的问题不同。我现在无法添加地图,因为我的图像是通过CSS包含在文件中的,而不是按照惯例使用html标记。因此,我不知道如何将标记与背景图像关联。否。无法将图像贴图添加到背景图像。只有内联图像。@Paulie\u这正是我害怕的。谢谢你!可能的副本

我在html页面上设置了一个背景图像,其中包含以下CSS代码:

html{
背景:url(“assets/Untitled-2.gif”)无重复中心固定;
背景尺寸:封面;
身高:100%;

}
可能重复@EternalHour不,我的问题不同。我现在无法添加地图,因为我的图像是通过CSS包含在文件中的,而不是按照惯例使用
html标记。因此,我不知道如何将
标记与背景图像关联。否。无法将图像贴图添加到背景图像。只有内联图像。@Paulie\u这正是我害怕的。谢谢你!可能的副本