div+css - nowrap标记设置不自动折行
[IE的相关文档]
http://msdn.microsoft.com/en-us/library/ms534196(VS.85).aspx
[HTML3.2版本中有效]
http://www.w3.org/tr/rec-html32.html
[HTML4.0中反对使用]
http://www.w3.org/TR/1998/REC-html40-19980424/struct/tables.html#adef-nowrap
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-62922045
[div+css - 关键词]
div css
[div+css - 工具]
Internet
Explorer Developer Toolbar,
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en
The W3C Markup Validation Service:, http://validator.w3.org/
微软印刷技术 - 自由字体信息, TrueType, OpenType, ClearType:, http://www.microsoft.com/typography/default.mspx
微软印刷技术 - WEFT 3网页嵌入字体3, http://www.microsoft.com/typography/WEFT.mspx
微软印刷技术 - WEFT 3 - 网页嵌入字体3 - 下载, http://www.microsoft.com/typography/web/embedding/weft3/download.aspx
微软印刷技术 - WEFT 3 - 网页嵌入字体3 - 向导, http://www.microsoft.com/typography/web/embedding/weft3/wizard.aspx
微
软印刷技术 - WEFT 3网页嵌入字体3 - Wizard向导 - Create font objects创建字体对象,
http://www.microsoft.com/typography/web/embedding/weft3/wizard.aspx#create
微
软印刷技术 - WEFT 3网页嵌入字体3 - Wizard向导 - Fonts to embed待嵌入字体,
http://www.microsoft.com/typography/web/embedding/weft3/wizard.aspx#embed
[div+css - 常见问题]
较验div+css格式,http://validator.w3.org/
div+css的margin缩写方式
div+css的padding缩写方式
链接的:link,:visited,:hover,:active四种状态
div+css使用backgroundRepeat样式设置背景图片的显示方式, http://msdn2.microsoft.com/en-us/library/ms530721.aspx
page-break-before设置打印分布符
url()指示符, http://www.w3.org/TR/CSS21/syndata.html#value-def-uri
!important规则, http://www.w3.org/TR/CSS21/cascade.html#important-rules
table中直接输入的文字和其他标记设置不同的颜色
CSS标准中级联的文档, http://www.w3.org/TR/CSS21/cascade.html#cascade
[div+css - Firefox和IE浏览器兼容问题]
水平居中,Firefox使用margin-left: auto; margin-right: auto; IE6 使用text-align: center;
垂直居中,Firefox中使用display: table-cell; vertical-align: middle;可以实现div垂直居中,而IE6中则需要借助IE6中css的特点实现垂直居中。
!important标记,Firefox支持!important标记,IE6忽略!important标记,!important需要放在前面才能起作用
手形鼠标指针,使用cursor: pointer;
padding的尺寸,在Firefox中padding是计算在width之外的,而IE6是计算在width之内的
margin的尺寸,在IE6中带有float样式的元素的margin尺寸计算有误,需要借助padding和!important标记实现兼容
使用word-wrap设置自动折行, 仅对IE有效
<li style="overflow:hidden">在Firefox下会丢失左侧的圆点
Internet Explorer的CSS参考资料, http://msdn2.microsoft.com/en-us/library/ms531209.aspx
用CSS实现cellSpacing属性效果, border-spacing: 10px; border-spacing: expression(this.cellSpacing=10);
padding-right在IE6下导致抖动
[div+css - CSS标准]
Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification:级联样式表第2级第1次修改(CSS 2.1)规范, http://www.w3.org/TR/CSS21/
4.3.2 Lengths长度, http://www.w3.org/TR/CSS21/syndata.html#length-units
5.8.3 Class selectors - Class选择器 - CSS标准文档, http://www.w3.org/TR/CSS21/selector.html#class-html
class属性 - IE文档, http://msdn2.microsoft.com/en-us/library/ms533560.aspx
8.3
Margin properties: 'margin-top', 'margin-right', 'margin-bottom',
'margin-left', and 'margin' - 8.3边距属性,
http://www.w3.org/TR/CSS21/box.html#margin-properties
8.5 Border properties边框属性, http://www.w3.org/TR/CSS21/box.html#border-properties
9.5 Floats浮动, http://www.w3.org/TR/CSS21/visuren.html#floats
background-image背景图片, http://www.w3.org/TR/CSS21/colors.html#propdef-background-image
17.6.2 The collapsing border model压缩边框模型, http://www.w3.org/TR/CSS21/tables.html#collapsing-borders
border-collapse压缩边框 - IE文档, http://msdn2.microsoft.com/en-us/library/ms533513.aspx
display对象渲染方式, http://msdn2.microsoft.com/en-us/library/ms530751.aspx
[div+css - XHTML标准]
5.2.4. List Module列表模块, http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_listmodule
5.6. Table Modules - Table模块, http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#sec_5.6.
[div+css - 其他HTML问题]
使用OPTGROUP对SELECT中的OPTION分组
nowrap标记设置不自动折行, http://www.w3.org/TR/1998/REC-html40-19980424/struct/tables.html#adef-nowrap
leftmargin设置页面左边距, topmargin设置页面上边距
disabled属性, http://msdn2.microsoft.com/en-us/library/ms533732.aspx
About Font Embedding:关于字体嵌入, http://msdn2.microsoft.com/en-us/library/ms533034.aspx
Vector Markup Language (VML):, http://msdn2.microsoft.com/en-us/library/bb264280.aspx
Internet Explorer的HTML and DHTML参考, http://msdn2.microsoft.com/en-us/library/ms533050.aspx
分享到:
相关推荐
DIV+CSS+JS实现不间断横向滚动代码 代码如下: <!DOCTYPE html> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> <title>横向不间断滚动DIV ...
当一行文字超过DIV或者Table的宽度的时候,浏览器中默认是让它换行显示的,如果我们不想让他换行显示那要怎么办呢?看到这个标题很容易就会想到截断文字加“…”的做法。 一般的文字截断(适用于内联与块): =======...
<div class="text">非常多的字数你能控制得了不可能的骗你是小狗</div> ----------------------------------------------------------------------------------------------- 注释说明: white-space:normal /*...
1.用标签实现不换行 复制代码代码如下: <div>Hello world!<nobr> Hello world!<nobr></div> 2.用<用nowrap元素>标签 复制代码代码如下: <div>Hello world! Hello world! Hello world! Hello world!</div> 3...
昨天在使用css结合div布局的时候碰到了一个问题。 在一个规定宽度大小的ul里边 我把li的宽度定义为自动。企图让li根据内容长度来自动向左对齐排列。
本文介绍了css是如何实现在页面文字不换行、自动换行、强制换行的方法,分享给大家,具体如下: 强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词...
超出一行隐藏: overflow:hidden; //超出的文本隐藏 text-overflow:ellipsis; //溢出用省略号显示 white-space:nowrap; //溢出不换行 但是第三条属性,只能显示一行,不能用在这里,那么如果显示多行呢? 超出两行...
1、core-renderer.jar该jar包修改过中文不换行问题 public static String getConversionHtmlCode(String linkcss,String htmlCode,String title){ String css = ""; css +="<style>"; css +="table{"; ...
css强制文字不换行,可给指定的容器增加white-space:nowrap即,下面把CSS示例写给大家,很简单
-Button控件将不再自动拥有display:inline属性,如果希望两个按钮在一行显示,请为第一个按钮设置CssStyle="float:left;"属性。 -修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。 -为TriggerBox...
在做企业站的英文版的时候,英文单词由于剩下的空间不足,导致整个单词都换行,造成单词之间的空隙太大。如下图: 使用css属性word-break:...CSS设置不转行: overflow:hidden 隐藏 white-space:normal 默认 pre 换行
-Button控件将不再自动拥有display:inline属性,如果希望两个按钮在一行显示,请为第一个按钮设置CssStyle="float:left;"属性。 -修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。 -为TriggerBox...
<title>CSS控制文本溢出_网页特效_javascript特效_css特效-ViewCss网页特效网 <meta name="Keywords" content="CSS控制文本溢出_网页特效,javascript特效,css特效,网页特效代码,网站制作" /> <meta http-equiv=...
代码如下: ... <div u00a0style=width:100px;height:20px;text-overflow:ellipsis; white-space:nowrap; overflow:hidden;...还必须定义:强制文本在一行内显示(white-space:nowrap)及溢出内容为隐藏
css-sass-操场 纳图尔 浮动布局 7-1体系结构 透视属性 剪切路径属性 背景剪辑属性 背面可见性 复选框技巧 移动优先vs桌面优先 媒体查询顺序 @supports查询 仅屏幕条件 密度切换 艺术指导(更改图像) 弹性盒 容器 ...
1.css的概述 1.问题 HTML属性修饰有一定局限,是不太便捷 2.css的语法规范 1.使用css样式方式 1.内联样式 行内样式 特点:将css样式定义在HTML标记中 语法: 样式声明:用样式属性和值组成(属性:值;) ...
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]CSS控制强制换行/强制换行 强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行 div{ word-break...
一、项目说明 ①此项目是ASP.NET项目,开发...【说明】 ①text-nowrap设置表格超出不换行而显示滚动条,避免表格列过多 ②table-responsive:有table-responsive,表格有滚动条没有table-responsive,网页有滚动
nowrap 文本不会换行,文本会在在同一行上继续,直到遇到 标签为止。 pre-wrap 保留空白符序列,但是正常地进行换行。 pre-line 合并空白符序列,但是保留换行符。 inherit 规定应该从父元素继承 white-space ...
如果未设置td宽度,则nowrap属性起作用的,如果设置了td宽度,则nowrap属性不起作用。 通过CSS让TD自动换行 项目中 ajax 应用需要动态创建element 但是在td内 内容过长 firefox 能自动换行,ie6 比较傻瓜的!可以...