Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.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 Drupal查看股票代码模块CSS_Html_Css_Drupal_Views_Block - Fatal编程技术网

Html Drupal查看股票代码模块CSS

Html Drupal查看股票代码模块CSS,html,css,drupal,views,block,Html,Css,Drupal,Views,Block,我似乎无法正确编辑包含Views Ticker模块内容的块的CSS 以下是我所拥有的: #block-views-rotating-news-block{ border:#F00 thin dotted; float:left; left:0%; width:30%; } 内容应该在块中 如果我不使用width变量: #block-views-rotating-news-block{ border:#F00 thin dotted; float:lef

我似乎无法正确编辑包含Views Ticker模块内容的块的CSS

以下是我所拥有的:

#block-views-rotating-news-block{
border:#F00 thin dotted;
float:left;
    left:0%;
        width:30%;

}
内容应该在块中

如果我不使用width变量:

#block-views-rotating-news-block{
    border:#F00 thin dotted;
    float:left;
        left:0%;

}
我明白了:


这是我正在寻找的,但我想确保块更小,我可以设置宽度。基本上我想定义宽度,但不能没有区块看起来疯狂。有什么建议吗?

想好了。我需要更改的宽度是views.ticker.scroller样式表I的views ticker模块。难怪我不能覆盖宽度。

所以你想让内容根据文本自动设置宽度?或者您有一个默认的给定值?。另外,请给出链接样式的代码。