Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.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
Css Jira 4.4小工具-IE9表格宽度_Css_Internet Explorer 9_Jira_Jira Plugin - Fatal编程技术网

Css Jira 4.4小工具-IE9表格宽度

Css Jira 4.4小工具-IE9表格宽度,css,internet-explorer-9,jira,jira-plugin,Css,Internet Explorer 9,Jira,Jira Plugin,我在Jira小工具中有下一个内容: <!DOCTYPE html> <style type="text/css"> .testTable { border: 1px solid red; } .testDiv { max-width:30px; white-space:nowrap; overflow:hidden; } </style> <table class="testTable"> <tr>

我在Jira小工具中有下一个内容:

<!DOCTYPE html>
<style type="text/css">
.testTable {
    border: 1px solid red;
}
.testDiv {
    max-width:30px;
    white-space:nowrap;
    overflow:hidden;
}
</style>
<table class="testTable">
    <tr><td><div class="testDiv">this is looooooooo ooooooooo ooooooooooooo ooooooooo ng text</div></td></tr>
</table>
如你所见,我想限制一列的宽度。该代码在以下组合中运行良好: -FF简单html -FF Jira使用代码作为小工具内容的所有版本 -IE9简单html -IE9 Jira 5.1使用代码作为小工具的内容

但我的公司使用Jira 4.4和IE9——这是复制的代码不限制列宽度的唯一组合。有什么想法吗?

用于为IE制作不同的样式:

<!-- [if ie 9]>
    stuff here
<![endif]>
更新

这应该可以,试试,在IE9上对我有效

尝试使用严格的html,更改为:


如果这也没有帮助,那么将div内容复制到并添加必要的css/js

谢谢你的回答-但是你知道在这个特定的样式中放置什么来限制列的宽度吗?不幸的是,问题仍然存在于Jira 4.4和IE9中,你使用哪个Jira小工具来显示这个HTML?它是我自己的小工具-但是小工具的全部内容就是这个HTML。不幸的是,它没有帮助
.testDiv {
    max-width:30px;
    white-space:nowrap;
    overflow:hidden;
    width:100%;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
max-width:30px !important;