如果我有很长的str(没有空!)的话。 Can 例如,我强迫浏览器在一张表<代码>td上通过空间安全局打破。 出生似乎没有任何效果。
<>说明: 我知道,一个人不可能在没有空间的情况下提出长期扼杀,但你从未知道......。
我尝试:
.gridrow td
{
padding: 1em;
text-align: center;
word-wrap: break-word;
}
我将FF用作我的浏览器。 word-wrap
似乎只在CSS3中使用?
如果我有很长的str(没有空!)的话。 Can 例如,我强迫浏览器在一张表<代码>td上通过空间安全局打破。 出生似乎没有任何效果。
<>说明: 我知道,一个人不可能在没有空间的情况下提出长期扼杀,但你从未知道......。
我尝试:
.gridrow td
{
padding: 1em;
text-align: center;
word-wrap: break-word;
}
我将FF用作我的浏览器。 word-wrap
似乎只在CSS3中使用?
我认为,你指的是在特别安全局:
#id
{
max-width: 100px; /*or whatever*/
word-wrap: break-word;
}
它在你的现场用火药进行测试。
<>可>是特例。 如果它们能够不掩饰任何内容,它们就会继续扩大;你也可以使用<代码>overflow:隐藏。 以下是一些选择:
采用选择性的突破性。 (资料来源:。 如果您能够控制将像<条码>和印章、hy、条码>或<条码>和“;wbr>等特性列入长期指示,则可能是一种解决办法。
也许最好是,根据您的情况,你可以限制桌旁使用严格的宽松,届时,你应服从你的统治:
table {
table-layout: fixed;
width: 100%;
}
table td {
word-wrap: break-word; /* All browsers since IE 5.5+ */
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
}
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.
selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...
How do you target specifically safari in css with styles?
Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...
So I ve got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I ...
I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...
I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...