BlackSteel风格Discuz7.0模板风格发布
|
页面 1 / 3 免费模板 - discuz模板 |  Date:2009-04-13 |  View:46480
做了一款暗色的DISCUZ7.0的新风格,风格已经发布到DIZCUZ官方,名为BlackSteel。BlackSteel Discuz7.0用了几个PNG透明图片,IE7和火狐等浏览器表现没问题,IE6就有点麻烦,最后用了IE6的CSS HACK将IE6里的背景图片换成了GIF达到效果,算是效率最高的了吧,表现也还过得去。
BlackSteel Discuz7.0模板风格头部LOGO也使用的是PNG透明图片,这个用了CSS的expression
* html #header h2 img{azimuth: expression( this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none", this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')", this.src="{STYLEIMGDIR}/blank.gif" mce_src="{STYLEIMGDIR}/blank.gif"):(this.origBg = this.origBg? this.origBg:this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')", this.runtimeStyle.backgroundImage = "none")),this.pngSet=true); }
这样处理后,IE6下的PNG图片和IE7下完全一样,能够透明了,但这个方法只能用于网页中的png图片,不能用于CSS的PNG透明背景图片,有些可惜。
风格演示地址:《在成都》生活论坛
点击进入风格下载页面
这里再提供以下LOGO的PSD源文件,方便朋友自己修改自己的png透明LOGO:
点击进入BlackSteel风格LOGO源文件下载页面
dz官方论坛风格下载地址
关于首页发帖按钮旁不显示"查看新贴"、"标记已读"的解决办法:
在风格css_append.htm里文件里查找
.postbtn, .replybtn{width: 124px; height: 25px;font-size:11px; text-indent:-100em; overflow:hidden}
将其中的
text-indent:-100em
修改为
line-height:10em
更新CSS文件,问题解决。谢谢各位网友提醒,下载包中的错误我也已经修复,你可以选择手动修改或直接下载风格包覆盖修复。
discuz模板 BlackSteel Discuz7.0风格 Related Articles Newer Articles
网摘:
<< 第一页 < 上一页 1 2 3 下一页 > 最后一页 >> |