ITeye博客

HTML5

共 2 篇文章

CSS 里面的white-space属性

有些css属性,当你用到的时候才会关注他的作用。比如white-space。 white-space 属性设置如何处理元素内的空白。 这个属性声明建立布局过程中如何处理元素中的空白符。值 pre-wrap 和 pre-line 是 CSS 2.1 中新增的。 注释:任何的版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。 [table] |值|描述| |normal|默认。空白会被浏览器忽略。| |pre|空白会被浏览器保留。其行为方式类似 HTML 中的 标签。| |nowrap|文本不会换行,文本会在在同一行上继续,直到遇到 标签为止。| |…

2013-06-08 11:15 · HTML5

WebSocket learning summary

Recently I finish to read one book about html5 websocket. Followings are some summary from my learning progress. HTML5 covers the large number of improvements and changes happening in web technologies, and includes everything from the markup you use on your web pages to the CSS3 styling, offline an…

2013-05-22 13:18 · HTML5