Posts Tagged ‘css expression’

1 06 2009

解决
标签里的文本换行(兼容IE, FF和Opera等)

bigCat Posted in CSS, JavaScript - 0 Comment

pre {\r\nwhite-space: pre-wrap; /* css-3 */\r\nwhite-space: -moz-pre-wrap; /* Mozilla, since 1999 */\r\nwhite-space: -pre-wrap; /* Opera 4-6 */\r\nwhite-space: -o-pre-wrap; /* Opera 7 */\r\nword-wrap: break-word; /* Internet Explorer 5.5+ */\r\n}\r\n\r\n出自: Making preformated text wrap in CSS3, Mozilla, Opera and IE

27 05 2009

css expression

bigCat Posted in CSS, JavaScript - 0 Comment

button{\r\n zoom:expression(\r\n this.style.zoom=1,\r\n onmouseover=function(){\r\n this.className=this.className+'_hover';\r\n },\r\n onmouseout=function(){\r\n this.className=this.className.replace('_hover','');\r\n }\r\n );\r\n}

Host: (miao) | Word: Press | Code: HTML5