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
Html 如何将字幕插件拉伸到100%宽度?_Html_Css_Width_Marquee - Fatal编程技术网

Html 如何将字幕插件拉伸到100%宽度?

Html 如何将字幕插件拉伸到100%宽度?,html,css,width,marquee,Html,Css,Width,Marquee,我在我的网站上有一个类似字幕的东西,我不能把它拉伸到100%的宽度。我想我肯定错过了什么。 以下是HTML: <div id="marquee"> <div> <span>programmation festival des blocs 6/1</span> <span>programmation festival des blocs 6/1</span> <span>

我在我的网站上有一个类似字幕的东西,我不能把它拉伸到100%的宽度。我想我肯定错过了什么。 以下是HTML:

<div id="marquee">
    <div>
      <span>programmation festival des blocs 6/1</span>
      <span>programmation festival des blocs 6/1</span>
      <span>programmation festival des blocs 6/1</span>
      <span>programmation festival des blocs 6/1</span>
    </div>
  </div>

集团节目节6/1
集团节目节6/1
集团节目节6/1
集团节目节6/1
这里您还可以看到带有CSS的JSFIDLE:

非常感谢你的帮助


马可

您必须删除正文的
边距


您的小提琴所显示的内容似乎已经覆盖了整个宽度…?(也许您只是想消除应用于body的默认边距?)