在IE中,fieldset的背景颜色超出边框(The fieldset’s background color gets out of border in IE)
在IE中,fieldset的背景颜色超出边框。 我有一个表格,背景颜色设置为蓝色,字段集的背景颜色设置为白色。 我怎样才能在IE中解决这个问题?
我的CSS:
fieldset {margin:10px;} fieldset legend {font-size: 14px; font-style:normal;}
我正在动态创建fieldset。
newFieldset = document.createElement('fieldset'); newLegend = document.createElement('legend'); newLegend.innerHTML = 'Claimant Information'; newFieldset.appendChild(newLegend); OverdueReportsSummaryDetailsTableDiv.appendChild(newFieldset);
请看附件(点击放大)
谢谢
The fieldset’s background color gets out of border in IE. I have a table with background color set to blue and the fieldset’s background color set to white. How can I fix this in IE?
My CSS :
fieldset {margin:10px;} fieldset legend {font-size: 14px; font-style:normal;}
I am creating fieldset dynamically.
newFieldset = document.createElement('fieldset'); newLegend = document.createElement('legend'); newLegend.innerHTML = 'Claimant Information'; newFieldset.appendChild(newLegend); OverdueReportsSummaryDetailsTableDiv.appendChild(newFieldset);
Please see attachment (click to enlarge)
Thanks
原文:https://stackoverflow.com/questions/5667259
最满意答案
你有没有用CSS隐藏另一个CCK字段?
听起来像CSS规则是为了隐藏另一个CCK字段,但不够具体,现在意外地隐藏了你想要看到的字段。
例如,如果您有一个CSS规则:
div.field { display: none; }
意思是隐藏不同的字段,它将隐藏所有CCK字段。 (当然可能不是
div.field
)Have you used CSS to hide another CCK field somewhere?
It sounds like a CSS rule was meant to hide another CCK field but was not specific enough and is now accidentally hiding fields you want to see.
For example, if you have a CSS rule of:
div.field { display: none; }
meaning to hide a different field, it will hide all your CCK fields. (it may not be
div.field
of course)
相关问答
更多-
每个CCK字段都有自己的权限。 每次添加字段时,如果您希望未登录的用户能够看到该字段,则需要转至/ admin / user /权限,并为匿名用户创建该字段。 [通过] Each CCK field has its own permissions. Each time you add a field you need to go to /admin/user/permissions and make the field viewable for anonymous users if you want peo ...
-
这是一个在drupal世界中非常有见识和争论的问题。 这个功能被称为cck“multigroup”,它看起来很难实现。 drupal论坛上有很多关于此的帖子,我建议你从这里开始: http://drupal.org/node/494100 这是cck模块中的一种“隐藏”功能。 查看模块目录,您可以在此处找到说明: CCK /模块/ content_multigroup /的README.txt 编辑:多组模块上正在进行的工作已转移到实验CCK 3.0分支。 同时你可以尝试使用flexifield模块来处理它 ...
-
Drupal 7 CCK安装(Drupal 7 CCK installation)[2023-01-28]
在Drupal 7中,CCK是Core的一部分,所以你不需要单独安装它(你也不能,因为它没有7.x版本)。 In Drupal 7 CCK is part of the Core, so you don't need to install it separately (and you neither can, since it has no 7.x release). -
禁用“节点位置”和“位置添加另一个”模块。 他们与“CCK位置”冲突。 如果它没有帮助,请在您正在使用的模块的问题队列中进行搜索。 90%的时间你会发现有人报告的问题与你的相同。 http://drupal.org/project/issues/location?status=All&categories=All Disable "Node Locations" and "Location Add Another" module. They're conflict with "Location CCK". ...
-
Drupal:自动填充CCK字段(Drupal: Auto fill CCK field)[2024-03-14]
您可以使用实体参考模块。 You can use Entity Reference module for that. -
您可以使用以下Drupal API函数来格式化您的链接: http://api.drupal.org/api/drupal/includes--common.inc/function/l/6 所以在这种情况下,计算字段的值如下: l('Mail me', 'mailto:'.$item_email); you can use the following Drupal API function to format your link: http://api.drupal.org/api/drupal/inc ...
-
除非您使用视图,否则这不是您可以在用户界面中启用的功能。 您需要使用模板文件。 更多信息: http : //drupal.org/node/432846 I've solved with Custom Formatter module
-
你可以改变它,就像任何其他形式一样。 您必须确保在CCK之后运行挂钩,然后才能使用完整的CCK格式表。 您可以通过在系统表中设置权重来实现。 You can alter it, just like any other form. You must just make sure your hook is ran after the CCK, only then do you have the full CCK-ed form available. You do that by setting weights ...
-
你有没有用CSS隐藏另一个CCK字段? 听起来像CSS规则是为了隐藏另一个CCK字段,但不够具体,现在意外地隐藏了你想要看到的字段。 例如,如果您有一个CSS规则: div.field { display: none; } 意思是隐藏不同的字段,它将隐藏所有CCK字段。 (当然可能不是div.field ) Have you used CSS to hide another CCK field somewhere? It sounds like a CSS rule was meant to hide ...
-
您是否了解作为标准cck软件包一部分的Content Copy模块? 它在某种程度上为字段和整个内容类型提供导出/导入功能。 它本身并不提供差异性,我不确定它对现有字段的修改效果如何,但对于移动新字段和/或内容类型有很大帮助。 此外,您可以保存来自不同实例的导出输出,并在本地进行区分,从而可以非常好地了解更改(特别是快速显示“不同步”情况)。 启用后,检查“/ admin / content / types”顶部的新导出和导入选项卡。 Are you aware of the Content Copy mo ...