首页 \ 问答 \ 在IE中,fieldset的背景颜色超出边框(The fieldset’s background color gets out of border in IE)

在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
更新时间:2023-11-18 14:11

最满意答案

你有没有用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是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". ...
  • 您可以使用实体参考模块。 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 ...

相关文章

更多

最新问答

更多
  • h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
  • 创建一个功能(Create a function)
  • 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
  • PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
  • Qt冻结循环的原因?(Qt freezing cause of the loop?)
  • TableView重复youtube-api结果(TableView Repeating youtube-api result)
  • 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
  • SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
  • 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
  • 以编程方式创建UITableView(Creating a UITableView Programmatically)
  • 如何打破按钮上的生命周期循环(How to break do-while loop on button)
  • C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
  • 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
  • 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
  • Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
  • 设置kotlin扩展名(Setting a kotlin extension)
  • 如何并排放置两个元件?(How to position two elements side by side?)
  • 如何在vim中启用python3?(How to enable python3 in vim?)
  • 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
  • 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
  • Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
  • dedecms如何安装?
  • 在哪儿学计算机最好?
  • 学php哪个的书 最好,本人菜鸟
  • 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
  • 如何覆盖错误堆栈getter(How to override Error stack getter)
  • 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
  • USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
  • 电脑高中毕业学习去哪里培训
  • 正则表达式验证SMTP响应(Regex to validate SMTP Responses)