2006年07月20日

针对目前的BLOG上MOP的广告形式可以用下面2个方法隐藏。
如果你在页面中其他的交互中没用到iframe,可以用下面到方法1,让页面中所有的iframe都不显示
1.在自定义的样式CSS中加入:
iframe{display:none}

另外一个方法
2.在公告里面加入
function hideFrame(){
if(document.getElementsByTagName("iframe")[0]){
document.getElementsByTagName("iframe")[0].style.display="none"
}
}
onload=hideFrame

[ 如果你已经使用onload了,将
if(document.getElementsByTagName("iframe")[0]){
document.getElementsByTagName("iframe")[0].style.display="none"
}
加入你onload里面的函数内]

2006年03月04日

网上看到的代码,整理了一下
配好颜色以后,自己把相应的代码添加进去就可以了
也可以将下面的代码复制后另存页面到自己电脑使用

试用 DoNews Blog 配色器



2006年01月06日

原理:
在页面动态植入一个DIV,然后用javascript将博客文章分类当航数据提取出来,并重新排序,设置导航的样式,具体效果看本BLOG的导航效果.原理可以用在一些其他的应用上
文章分类数据的提取是JS利用H3和UL的在页面的标签位置获得,不同BLOGGER可能加的东西不一样,位置也不一样,需要找到相应的位置,,既代码中的数字[3],[1]
CSS代码,定义这个导航DIV的样式,,导航的放置位置,,也可调节相应的数值来控制:

2005年10月26日

用Javascript重新对相册图片进行排序,布局,配色。比如通过调整宽度设置每行显示照片数码,还可以提取出UBB或者HTML贴图代码,方便转载
效果演示可以看我的相册
第一步:先在自定义CSS栏,加入相册的样式控制:
ul.ablum {list-style-type:none;display:inline;}
ul.ablum li{float:left;width:155px;text-align:center;border-top:10px solid #fff;
border-left:5px solid #fff;
border-right:5px solid #fff;padding-top:10px;
background:#EEECED;height:160px}


颜色,宽度,高度可以自己定义

第二步:在公告栏加入一下JS代码:

<SCRIPT>
function getimg(){

d=document.getElementById("main");
g=d.getElementsByTagName(‘img’);
for(s=0;s<g.length;s++){
var gu=g[s].src
if(g[s].tagName!=’!'){
if(g[s].width>"550"){
g[s].width="550"

g[s].title="点击看大图"+gu
g[s].onclick=function() { window.open(this.src); }
g[s].style.cursor="pointer"

}
}}

}

function runpp(k){
var demowin=window.open()
demowin.document.open();
demowin.document.write(k)
demowin.document.close();

}

function getalbum(){
ubb=""
html=""
d=document.getElementById("GalleryThumbNailViewer.ascx_ThumbNails");
k=d.getElementsByTagName(‘img’);

h="<ul class=’ablum’>"
for(i=0;i<k.length;i++){

if(k[i].tagName!=’!'){
if(k[i].parentNode.parentNode.tagName==’TD’){
h+="<li><a href="+k[i].parentNode.href+" target=_blank><img src="+k[i].src+" border=0></a></li>"
ubb+="[img]"+k[i].src.replace("t_","o_")+"[/img]&lt;br&gt;"
html+="&lt;img&nbsp;src="+k[i].src.replace("t_","o_")+"&gt;&lt;br&gt;"
}
}}

document.getElementById("main").innerHTML=h+"</ul><br><div><a href=javascript:runpp(‘"+ubb+"’)>获得图片UBB贴图代码</a> | <a href=javascript:runpp(‘&lt;textarea&nbsp;style=width:300px;height:80px&gt;"+html+"&lt;/textarea&gt;’)>获得图片HTML贴图代码</a></div>"
}

purl=document.location.href

if(purl.toLowerCase(purl).indexOf("gallery")>"-1"){
onload=getalbum
}
else{
onload=getimg
}
</script>    

素材是拉萨玛吉阿米餐厅的招牌画,传说这里曾经是六世达赖喇嘛和情人见面的地方
"在那东方山顶,生起洁白的月亮,玛吉阿米的脸庞,渐渐浮现在我心上 "
截图:


系统模板CSS选择LIGHTY

自定义CSS代码如下:
body, html {
background:#303030;
    color: #757575;
    font-family:ms shell dlg;
    font-size:12px;
    margin: 0;
    line-height:150%;padding:0 ;
    text-align:center
 
}
ul.ablum {list-style-type:none;display:inline;}
ul.ablum li{float:left;width:155px;text-align:center;border-top:10px solid #fff;
border-left:5px solid #fff;
border-right:5px solid #fff;padding-top:10px;
background:#EEECED;height:160px}
#nadframe{display:none}
form{
margin-right: auto;
margin-left: auto;
font-size:14px;
}

.pagelayout{
    margin: auto;
    padding:0px 0px 0px 0px;
    width: 749px;
    font-size:14px;
    text-align:left;background:#1D1D1D

}
a:visited, a:active, a:link { 
    color : #A01E14;
    text-decoration : none;
}

a:hover {
    color: #D95012;
    text-decoration :none;
   
    border-bottom:1px dotted #A01E14
}

blockquote {
    font-style : italic;
}

#header {

  font-size:12px;
  font-family:ms shell dlg;
  padding-top:0px;
  padding-right:20px;
  background:url(http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_tibet_1.gif) 0 0 no-repeat;height:219px ;width:749px
}
#header span{float:left;padding-top:80px;text-align:right;width:417px;font-size:10px;color:#D95012}
#header #Header1_HeaderTitle{
 font-size:16px;font-family:arial;line-height:120%;font-weight:bold;color:#D95012
}
#main {float:left;padding: 15px 0px 0px 15px;width:540px;font-size:14px;line-height:160%;color: #757575;word-wrap:break-word;

}
#footer{clear:both;border-top:3px solid #c0c0c0;padding-top:10px;text-align:center;font-size:12px}

#menu {clear:both;padding:0;
    float:right;
    width:171px;padding-top:15px;
word-wrap:break-word;
border-left:1px dotted #A01E14;padding-left:5px
}

#menu h1 {
    color:#FBA500;padding:5px 0px 0px 0px;width:161px;
    font-size: 12px;text-align:center;
    font-weight:bold;
    margin: 0px;
    background:url(http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_tibet_2.gif) no-repeat;height:25px
}

#menu h3 {
    color:#FBA500;padding:5px 0px 0px 0px;width:161px;
    font-size: 12px;text-align:center;
    font-weight:bold;
    margin: 0px;
    background:url(http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_tibet_3.gif) no-repeat;height:25px
 
}
#menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px 0px 15px 5px;
    font-size: 12px;
}
#comments{font-size:12px;line-height:150%}
#comments a{font-weight:bold}
.postTitle{font-weight:bold}
.postTitle a,.postTitle a:link,.postTitle a:visited{font-size:14px}


div,select,input{font-size:12px;word-wrap:break-word;}
div.block {
  background-image: url(images/main_background.gif);
  background-position: top left;
  background-repeat: repeat-y;
  font-size: 12px;
  text-align: justify;
}

div.block_footer {
  background-image: url(images/day_footer.gif);
  background-position: top left;
  background-repeat: no-repeat;
  height: 67px;
}

div.post {
  padding-left: 0px;
}

.dateTitle{color:#808080;font-size:14px;font-weight:bold;line-height:280%}
div.posttitle {
  color: #A01E14;
    font-family: "ms shell dlg";
    font-size: 14px;
    font-weight: bold;
}

.posttitle{background:url(http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_tibet_4.gif) no-repeat;height:25px;padding-left:25px}
div.postText{line-height:160%;font-size:12px;}
.posttitle a:visited, .posttitle a:active, .posttitle a:link {
    color:#A01E14;
    text-decoration : none;
}

.posttitle a:hover {
    color: #D95012;
    text-decoration : none;padding:0px;
    border-bottom:1px dotted #D95012;
}
.postFoot{line-height:120%;border-bottom:1px dotted #808080;font-size:12px;}
div.itemdesc {
  color: #808080;
  font-size: 12px;
    text-transform: uppercase;
}

div.seperator {
 
  background-position: top left;
  background-repeat: no-repeat;
  margin: 15px 0px 10px 0px;
}

div.entrylistitem {
  padding-left: 20px;
  padding-bottom: 10px;
}

a.entrylisttitle, a.entrylisttitle:visited, a.entrylisttitle:link, a.entrylisttitle:active {
  color: #FF6600;
    font-size: 14px;
    font-weight: bold;
}

div.moreinfo {
  font-size: 12px;
  text-align: justify;
}

div.moreinfotitle {
    color: #FF2a00;
    font-size: 12px;
    font-weight: bold;
}

div.comments {
  font-size: 12px
}

div.comment {
    background-color: #FBFBFB;font-size:12px;
  border: 0px dotted #DDDDDD;
  margin: 10px 0px 10px 0px;
  padding: 10px;
}

div.comment_author {
  margin: 5px 0px 5px 0px;font-size:12px;
}

div.comment_content {
  margin: 5px 0px 5px 0px;font-size:12px;
}

#postcomment {
    border: 0px solid #DDDDDD;
    background-color: #FBFBFB;
  font-size: 12px;
  padding: 10px;
  text-align: justify;
  margin-top: 15px;
  width: 435px;
}

#postcomment div {
    color: #808080;
  font-size: 12px;
    font-weight: bold;
  margin: 5px 0px 5px 0px;
}

#postcomment input.text, textarea {
  border: 1px solid #DDDDDD;
  font-size: 12px;
}

input.text {
    width : 300px;
}

textarea {
    width : 300px;
    height : 200px;
}

#relatedlinks ul {
    list-style : none;
    margin-left : 10px;
    padding : 0px;
}

span.highlight
{
    background-color:Yellow;    
}
.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:90%;padding:10px;border:1px dotted #d9d9d9;background:#f4f4f4;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}


公告栏加再加一段JS,控制页面上所有图片的宽度,避免页面走形
<script>
document.getElementsByTagName("link")[0].disabled=true;
</script>
<SCRIPT>
function getimg(){

d=document.getElementById("main");
g=d.getElementsByTagName(‘img’);
for(s=0;s<g.length;s++){
var gu=g[s].src
if(g[s].tagName!=’!'){
if(g[s].width>"550"){
g[s].width="550"

g[s].title="点击看大图"+gu
g[s].onclick=function() { window.open(this.src); }
g[s].style.cursor="pointer"

}
}}

}

function runpp(k){
var demowin=window.open()
demowin.document.open();
demowin.document.write(k)
demowin.document.close();

}

function getalbum(){
ubb=""
html=""
d=document.getElementById("GalleryThumbNailViewer.ascx_ThumbNails");
k=d.getElementsByTagName(‘img’);

h="<ul class=’ablum’>"
for(i=0;i<k.length;i++){

if(k[i].tagName!=’!'){
if(k[i].parentNode.parentNode.tagName==’TD’){
h+="<li><a href="+k[i].parentNode.href+" target=_blank><img src="+k[i].src+" border=0></a></li>"
ubb+="[img]"+k[i].src.replace("t_","o_")+"[/img]&lt;br&gt;"
html+="&lt;img&nbsp;src="+k[i].src.replace("t_","o_")+"&gt;&lt;br&gt;"
}
}}

document.getElementById("main").innerHTML=h+"</ul><br><div><a href=javascript:runpp(‘"+ubb+"’)>获得图片UBB贴图代码</a> | <a href=javascript:runpp(‘&lt;textarea&nbsp;style=width:300px;height: 80px&gt;"+html+"&lt;/textarea&gt;’)>获得图片HTML贴图代码< /a></div>"
}

purl=document.location.href

if(purl.toLowerCase(purl).indexOf("gallery")>"-1"){
onload=getalbum
}
else{
onload=getimg
}
</script>   

}}

}
onload=getimg
</script>   


2005年08月05日

某些同学用keso的样式,所以也做一个。这个是选用系统keso这个样式改的,不同以前做的,所以要换的话注意选择,粗粗改了一下CSS,也许还有毛病.
第一步:在自定义CSS贴上以下代码

body{margin:0px;background: #f8f8f8 url("http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_blogbg.gif") repeat-x;font-family:ms shell dlg;}
#classnavbar {
    display: none;
}

#nadframe {
    display:none;
}

h1 {margin:0px;
background:url("http://bolgimg.b0.upaiyun.com/images/blog_donews_com/dodo/54776/o_blogheader.gif") no-repeat;height:175px;padding-right:35px;font-family: ms shell dlg;
    font-size:16px;font-weight:bold;border-bottom:6px solid #ADBB88;

}
h1 a:link,h1 a:active,h1 a:hover{color:#0066FF}   
#Header1_HeaderTitle{float:left;padding-top:116px;text-align:right;width:100%}
#main {
    width: 74%;
    position: absolute;
    margin-top: 0px;
    border-right: 1px dotted #000000;
    padding-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 40px;
background:#fff;
}

#rightmenu {
    float: right;

    margin-left: 76%;
    margin-top: 10px;
    padding-left: 0px;
    background-color: transparent;
    position: absolute;
    word-wrap:break-word;
    font-size: 9pt;
}

#footer {
    clear: both;
    width: 100%;
    border-top: none;
    font-size: 8pt;
    padding-top: 5px;
    text-align: center;
    position: relative;
    visibility: hidden;
   display: none;
}

a:visited,
a:active,
a:link {
    color: #0066FF;
    text-decoration: none;
}

a:hover {
    color: #88BBFF;
    text-decoration : underline;
    }

blockquote {
    background: #F9F9F9;
    border: 1px solid #F4F4F4;
    color: #5B5B5B;
    font-size: 10pt;
    font-style: normal;
    line-height: 150%;
    padding: 0px 11px 0px 11px;
}



h1 a:visited,
h1 a:active,
h1 a:link {

}

h1 a:hover {

}

.post {
    padding-left: 40px;
    padding-right: 40px;
    font-size: 14px;
    line-height:200%
}
h5{font-size:14px;font-family:bold}
.postTitle {
    border-bottom: 1px dotted #D6D6D6;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
}

.postText {
    font-size: 14px;
    line-height:180%
}

h3 {
    font-size: 14px;
    border-bottom: 1px dotted #D6D6D6;
    color: #000000;
    background-color: transparent;
}

.listitem {width:180px;
    border-bottom: 1px dotted #E4E4E4;
    padding-bottom: 3px;
    padding-top: 3px;
}

input,
label {
    color: Gray;
    font-family: Verdana;
    font-size: 10pt;
}

input.text {
    width: 381px;
}

li {
    font-size: 10pt;
    font-style: normal;
}
h2{padding: 0px 0px 0px 20px;margin:0}
.dateTitle {
   
    color: #97AC5F;
    font-size: 14px;
    font-weight: bold;
    padding: 0px 0px 0px 20px;
    height:26px;
}

p.date img {
    vertical-align: middle;
}

.postFoot {
    border-bottom: 1px dotted #D6D6D6;
    color: #D3D3D3;
    text-align: right;
    font-size: 9pt;
}

span.highlight {
    background-color: transparent;
}

td {
    font-size: 10pt;
}

textarea {
    color: #000000;
    font-size: 10pt;
    height: 200px;
    width: 300px;
}

#MyLinks1_XMLLink {
    visibility: hidden;
    display: none;
}

#MyLinks1_Syndication {
    visibility: hidden;
    display: none;
}

.CommentForm {
    border-top: 1px dotted #D6D6D6;
    padding-top: 20px;
    color: #A9A9A9;
    padding-left: 70px;
    padding-right: 40px;
    }

#comments {
    color: #888;
    padding-left: 70px;
    padding-right: 40px;
    font-size: 10pt;
}

#relatedlinks ul {
    list-style: none;
    margin-left: 10px;
    padding: 0px;
}

#rightmenu h3 {width:100px;
    background-color: transparent;
    border: none;
    border-bottom: 1px dotted #D6D6D6;
    color: #000000;
    font-size: 12px;
    margin: 10px 0px 0px 0px;
    padding: 2px 5px;
}

#rightmenu ul {
    border: none;
    list-style: none;
    margin: 0px;
    padding: 5px;
    font-size: 9pt;
    line-height:150%;
}

#rightmenu li {
    font-size: 9pt;
}

#tagline {
    color:#FFF;
    font-size: 12px;
    position : absolute;
    top : 152px;
    right : 35px;
    margin : 0px;
    margin-left : 0px;
    font-family:ms shell dlg;
}

.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:90%;padding:10px;border:1px dotted #d9d9d9;background:#f4f4f4;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}

i {
    font-style: normal;
    color: Green;
}


第二步:在公告栏加入以下代码:

<script>
document.getElementsByTagName("link")[0].disabled=true;
</script>
这段是屏蔽系统自己带的CSS


2005年06月18日

图片素材来源网上.

还是选LIGHTY样式

body, html {
background:#020202 url(http://www.donews.net/images/www_donews_net/dodo/54776/o_tmpbg92.jpg) no-repeat;
    color: #555555;
    font-family:ms shell dlg;
    font-size:12px;
    margin: 0;
    line-height:150%;padding:0 ;
    text-align:center
  
}
#nadframe{display:none}
form{
margin-right: auto;
margin-left: auto;
font-size:14px;
}

.pagelayout{
    margin: auto;
    padding:0px 0px 0px 0px;
    width: 735px;
    font-size:14px;
    text-align:left;

}
a:visited, a:active, a:link {  
    color : #75824C;
    text-decoration : none;
}

a:hover {
    color: #75824C;
    text-decoration :none;
    border-bottom:1px dotted #333
}

blockquote {
    font-style : italic;
}

#header {

  color: #808080;
  font-size:12px;
  font-family:ms shell dlg;
  padding-top:0px;
  padding-right:20px;
  background:none;
  height:250px ;width:735px
}
#header span{float:left;padding-top:198px;padding-left:100px}
#header #Header1_HeaderTitle{
color: #000000;
 font-size:16px;font-family:arial;line-height:120%;font-weight:bold;color:#D44F3C
}
#main {float:left;padding: 15px 0px 0px 15px;width:540px;font-size:14px;line-height:160%;color: #555555;word-wrap:break-word;

}
#footer{clear:both;border-top:3px solid #c0c0c0;padding-top:10px;text-align:center;font-size:12px}

#menu {clear:both;padding:0;
    float:right;
    width:151px;padding-top:15px;
word-wrap:break-word;
border-left:1px dotted #c0c0c0;padding-left:5px
}
#menu h1 {
color:#808080;font-weight:bold;
    font-size: 12px;
    margin: 0px;
    height:21px;
    border-bottom:1px dotted #808080
}

#menu h3 {
    color:#808080;font-weight:bold;
    font-size: 12px;
    margin: 0px;
    height:21px;
    border-bottom:1px dotted #808080
 
}
#menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px 0px 15px 5px;
    font-size: 12px;
}
#comments{font-size:12px;line-height:150%}
#comments a{font-weight:bold}
.postTitle{font-weight:bold}
.postTitle a,.postTitle a:link,.postTitle a:visited{color:#75824C;font-size:14px}

div,select,input{font-size:12px;word-wrap:break-word;}
div.block {

  font-size: 12px;
  text-align: justify;
}

div.block_footer {

  height: 67px;
}

div.post {
  padding-left: 0px;
}

.dateTitle{color:#808080;font-size:14px;font-weight:bold;line-height:280%}
div.posttitle {
  color: #75824C;
    font-family: "ms shell dlg";
    font-size: 14px;
    font-weight: bold;
}

.posttitle{height:30px;}
div.postText{line-height:160%;font-size:12px;}
.posttitle a:visited, .posttitle a:active, .posttitle a:link { 
    color:#75824C;
    text-decoration : none;
}

.posttitle a:hover {
    color: #75824C;
    text-decoration : none;padding:3px;
    border-bottom:1px dotted #75824C;
}
.postFoot{line-height:120%;border-bottom:1px dotted #808080;font-size:12px;}
div.itemdesc {
  color: #808080;
  font-size: 12px;
    text-transform: uppercase;
}

div.seperator {
 
  background-position: top left;
  background-repeat: no-repeat;
  margin: 15px 0px 10px 0px;
}

div.entrylistitem {
  padding-left: 20px;
  padding-bottom: 10px;
}

a.entrylisttitle, a.entrylisttitle:visited, a.entrylisttitle:link, a.entrylisttitle:active {
  color: #FF6600;
    font-size: 14px;
    font-weight: bold;
}

div.moreinfo {
  font-size: 12px;
  text-align: justify;
}

div.moreinfotitle {
    color: #FF2a00;
    font-size: 12px;
    font-weight: bold;
}

div.comments {
  font-size: 12px
}

div.comment {
font-size:12px;
  border: 0px dotted #DDDDDD;
  margin: 10px 0px 10px 0px;
  padding: 10px;
}

div.comment_author {
  margin: 5px 0px 5px 0px;font-size:12px;
}

div.comment_content {
  margin: 5px 0px 5px 0px;font-size:12px;
}

#postcomment {
    border: 0px solid #DDDDDD;
  font-size: 12px;
  padding: 10px;
  text-align: justify;
  margin-top: 15px;
  width: 435px;
}

#postcomment div {
    color: #808080;
  font-size: 12px;
    font-weight: bold;
  margin: 5px 0px 5px 0px;
}

#postcomment input.text, textarea {
  border: 1px solid #DDDDDD;
  font-size: 12px;
}

input.text {
    width : 300px; 
}

textarea {
    width : 300px;
    height : 200px; 
}

#relatedlinks ul {
    list-style : none;
    margin-left : 10px;
    padding : 0px;
}

h1.block_title{background:none;color:#f7f7f7}
.entrylistitem a.entrylisttitle{color:#75824C}
div.entrylistitem{background:#000}
div.block_footer{background:#000}
span.highlight
{
    background-color:Yellow;     
}
.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:90%;padding:10px;border:1px dotted #75824C;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}

2005年06月09日

图片素材来自网上
截图


还是选择LIGHTY

代码:
body, html {
background:#CCCC9A ;
    color: #555555;
    font-family:ms shell dlg;
    font-size:12px;
    margin: 0;
    line-height:150%;padding:10px 0 10px 0 ;
    text-align:center
  
}
#nadframe{display:none}
form{
margin-right: auto;
margin-left: auto;
font-size:14px;
}

.pagelayout{
    margin: auto;
    padding:0px 0px 0px 0px;
    width: 800px;
    font-size:14px;
    text-align:left;background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_Body.jpg)

}
a:visited, a:active, a:link {  
    color : #9F8248;
    text-decoration : none;
}

a:hover {
    color: #9F8248;
    text-decoration :none;padding:3px;
    background:#D7EDB7;
    border-bottom:1px dotted #333
}

blockquote {
    font-style : italic;
}

#header {
filter: revealTrans(Transition=5, Duration=23) ;
  text-align:right;
  color: #808080;
  font-size:12px;
  font-family:ms shell dlg;
  padding-top:0px;
  padding-right:20px;
  background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_8beijing.gif) no-repeat;
  height:210px ;width:100%
}
#header span{float:left;padding-top:160px;text-align:right;padding-left:180px;}
#header #Header1_HeaderTitle{
color: #000000;
 font-size:14px;font-family:arial;line-height:120%;font-weight:bold;color:#D44F3C
}
#main {float:left;padding: 15px 0px 0px 35px;width:540px;font-size:14px;line-height:160%;color: #555555;word-wrap:break-word;

}
#footer{clear:both;border-top:0px solid #c0c0c0;padding-top:10px;text-align:center;font-size:12px}

#menu {clear:both;padding:0;
    float:right;
    width:180px;padding-top:15px;
word-wrap:break-word;
border-left:1px dotted #c0c0c0;padding-left:5px
}
#menu h1 {
    color:#C1B98A;padding:12px 0px 0px 5px;width:100%;
    font-size: 14px;
    font-weight:bold;
    margin: 0px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_h18.gif) no-repeat;height:21px
}

#menu h3 {
    color:#C1B98A;padding:12px 0px 0px 5px;width:100%;
    font-size: 14px;
    font-weight:bold;
    margin: 0px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_h18.gif) no-repeat;height:21px
 
}
#menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px 22px 15px 5px;
    font-size: 12px;
}
#comments{font-size:12px;line-height:150%}
#comments a{font-weight:bold}
.postTitle{font-weight:bold}
.postTitle a,.postTitle a:link,.postTitle a:visited{color:#9F8248;font-size:14px}


div,select,input{font-size:12px;word-wrap:break-word;}
div.block {
  background-image: url(images/main_background.gif);
  background-position: top left;
  background-repeat: repeat-y;
  font-size: 12px;
  text-align: justify;
}

div.block_footer {
  background-image: url(images/day_footer.gif);
  background-position: top left;
  background-repeat: no-repeat;
  height: 67px;
}

div.post {
  padding-left: 0px;
}

.dateTitle{color:#808080;font-size:14px;font-weight:bold;line-height:280%}
div.posttitle {
  color: #9F8248;
    font-family: "ms shell dlg";
    font-size: 14px;
    font-weight: bold;
}

.posttitle{background:#FFF url(http://www.donews.net/images/www_donews_net/dodo/54776/o_li8.gif) no-repeat;height:30px;padding-left:30px}
div.postText{line-height:160%;font-size:12px;}
.posttitle a:visited, .posttitle a:active, .posttitle a:link { 
    color:#9F8248;
    text-decoration : none;
}

.posttitle a:hover {
    color: #9F8248;
    text-decoration : none;padding:3px;
    border-bottom:1px dotted #9F8248;
}
.postFoot{line-height:120%;border-bottom:1px dotted #808080;font-size:12px;}
div.itemdesc {
  color: #808080;
  font-size: 12px;
    text-transform: uppercase;
}

div.seperator {
 
  background-position: top left;
  background-repeat: no-repeat;
  margin: 15px 0px 10px 0px;
}

div.entrylistitem {
  padding-left: 20px;
  padding-bottom: 10px;
}

a.entrylisttitle, a.entrylisttitle:visited, a.entrylisttitle:link, a.entrylisttitle:active {
  color: #FF6600;
    font-size: 14px;
    font-weight: bold;
}

div.moreinfo {
  font-size: 12px;
  text-align: justify;
}

div.moreinfotitle {
    color: #FF2a00;
    font-size: 12px;
    font-weight: bold;
}

div.comments {
  font-size: 12px
}

div.comment {
    background-color: #FBFBFB;font-size:12px;
  border: 0px dotted #DDDDDD;
  margin: 10px 0px 10px 0px;
  padding: 10px;
}

div.comment_author {
  margin: 5px 0px 5px 0px;font-size:12px;
}

div.comment_content {
  margin: 5px 0px 5px 0px;font-size:12px;
}

#postcomment {
    border: 0px solid #DDDDDD;
    background-color: #FBFBFB;
  font-size: 12px;
  padding: 10px;
  text-align: justify;
  margin-top: 15px;
  width: 435px;
}

#postcomment div {
    color: #808080;
  font-size: 12px;
    font-weight: bold;
  margin: 5px 0px 5px 0px;
}

#postcomment input.text, textarea {
  border: 1px solid #DDDDDD;
  font-size: 12px;
}

input.text {
    width : 300px; 
}

textarea {
    width : 300px;
    height : 200px; 
}

#relatedlinks ul {
    list-style : none;
    margin-left : 10px;
    padding : 0px;
}

span.highlight
{
    background-color:Yellow;     
}
.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:90%;padding:10px;border:1px dotted #d9d9d9;background:#f4f4f4;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}


2005年06月02日

图片素材来自:http://www.fmemoria.com.br/welcome.asp
还是选择LIGHTY



自定义CSS
body, html {
background:#FFF url(http://www.donews.net/images/www_donews_net/dodo/54776/o_niubg.jpg);
    color: #555555;
    font-family:ms shell dlg;
    font-size:12px;
    margin: 0;
    line-height:150%;padding:10px 0 10px 0 ;
    text-align:center
  
}
#nadframe{display:none}
form{
margin-right: auto;
margin-left: auto;
font-size:14px;
}

.pagelayout{border-top:5px solid #d9d9d9;
    margin: auto;
    padding:0px 0px 0px 0px;
    width: 735px;
    font-size:14px;
    text-align:left;background:#fff

}
a:visited, a:active, a:link {  
    color : #75824C;
    text-decoration : none;
}

a:hover {
    color: #75824C;
    text-decoration :none;padding:3px;
    background:#D7EDB7;
    border-bottom:1px dotted #333
}

blockquote {
    font-style : italic;
}

#header {
  text-align:right;
  color: #808080;
  font-size:12px;
  font-family:ms shell dlg;
  padding-top:0px;
  padding-right:20px;
  background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_niutitle.jpg) 0 0 no-repeat;height:156px ;width:735px
}
#header span{float:left;padding-top:10px;text-align:right;width:707px;}
#header #Header1_HeaderTitle{
color: #000000;
 font-size:14px;font-family:arial;line-height:120%;font-weight:bold;color:#D44F3C
}
#main {float:left;padding: 15px 0px 0px 15px;width:540px;font-size:14px;line-height:160%;color: #555555;word-wrap:break-word;

}
#footer{clear:both;border-top:3px solid #c0c0c0;padding-top:10px;text-align:center;font-size:12px}

#menu {clear:both;padding:0;
    float:right;
    width:151px;padding-top:15px;
word-wrap:break-word;
border-left:1px dotted #c0c0c0;padding-left:5px
}

#menu h1 {
    color:#808080;padding:2px 0px 0px 23px;width:146px;
    font-size: 12px;
    font-weight:normal;
    margin: 0px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_niunav.jpg) no-repeat;height:21px
}

#menu h3 {
    color:#808080;padding:2px 0px 0px 23px;width:146px;
    font-size: 12px;
    font-weight:normal;
    margin: 0px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_niunav.jpg) no-repeat;height:21px
 
}
#menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px 0px 15px 5px;
    font-size: 12px;
}
#comments{font-size:12px;line-height:150%}
#comments a{font-weight:bold}
.postTitle{font-weight:bold}
.postTitle a,.postTitle a:link,.postTitle a:visited{color:#75824C;font-size:14px}


div,select,input{font-size:12px;word-wrap:break-word;}
div.block {
  background-image: url(images/main_background.gif);
  background-position: top left;
  background-repeat: repeat-y;
  font-size: 12px;
  text-align: justify;
}

div.block_footer {
  background-image: url(images/day_footer.gif);
  background-position: top left;
  background-repeat: no-repeat;
  height: 67px;
}

div.post {
  padding-left: 0px;
}

.dateTitle{color:#808080;font-size:14px;font-weight:bold;line-height:280%}
div.posttitle {
  color: #75824C;
    font-family: "ms shell dlg";
    font-size: 14px;
    font-weight: bold;
}

.posttitle{background:#FFF url(http://www.donews.net/images/www_donews_net/dodo/54776/o_title1.gif) no-repeat;height:30px;padding-left:30px}
div.postText{line-height:160%;font-size:12px;}
.posttitle a:visited, .posttitle a:active, .posttitle a:link { 
    color:#75824C;
    text-decoration : none;
}

.posttitle a:hover {
    color: #75824C;
    text-decoration : none;padding:3px;
    border-bottom:1px dotted #75824C;
}
.postFoot{line-height:120%;border-bottom:1px dotted #808080;font-size:12px;}
div.itemdesc {
  color: #808080;
  font-size: 12px;
    text-transform: uppercase;
}

div.seperator {
 
  background-position: top left;
  background-repeat: no-repeat;
  margin: 15px 0px 10px 0px;
}

div.entrylistitem {
  padding-left: 20px;
  padding-bottom: 10px;
}

a.entrylisttitle, a.entrylisttitle:visited, a.entrylisttitle:link, a.entrylisttitle:active {
  color: #FF6600;
    font-size: 14px;
    font-weight: bold;
}

div.moreinfo {
  font-size: 12px;
  text-align: justify;
}

div.moreinfotitle {
    color: #FF2a00;
    font-size: 12px;
    font-weight: bold;
}

div.comments {
  font-size: 12px
}

div.comment {
    background-color: #FBFBFB;font-size:12px;
  border: 0px dotted #DDDDDD;
  margin: 10px 0px 10px 0px;
  padding: 10px;
}

div.comment_author {
  margin: 5px 0px 5px 0px;font-size:12px;
}

div.comment_content {
  margin: 5px 0px 5px 0px;font-size:12px;
}

#postcomment {
    border: 0px solid #DDDDDD;
    background-color: #FBFBFB;
  font-size: 12px;
  padding: 10px;
  text-align: justify;
  margin-top: 15px;
  width: 435px;
}

#postcomment div {
    color: #808080;
  font-size: 12px;
    font-weight: bold;
  margin: 5px 0px 5px 0px;
}

#postcomment input.text, textarea {
  border: 1px solid #DDDDDD;
  font-size: 12px;
}

input.text {
    width : 300px; 
}

textarea {
    width : 300px;
    height : 200px; 
}

#relatedlinks ul {
    list-style : none;
    margin-left : 10px;
    padding : 0px;
}

span.highlight
{
    background-color:Yellow;     
}
.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:90%;padding:10px;border:1px dotted #d9d9d9;background:#f4f4f4;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}

2005年05月31日

豆腐做了一个新的模板,我改了一点点.


还是选系统的Lighty

然后再自定义CSS加入以下代码:

body, html {
    background: url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowbg.jpg) #000000 center top;
    color: #787878;
    font-family:ms shell dlg;
    font-size:12px;
    margin: 0;
    line-height:150%;padding:0px
}
#nadframe{display:none}
form{
magrin:0;
font-size:14px;
padding:0px
}

.pagelayout{
    margin: auto;
    padding:0px 0px 0px 0px;
    width: 100%;
    font-size:14px;
}
a:visited, a:active, a:link {  
    color : #70472A;
    text-decoration : none;
}

a:hover {
    color: #999966;
}

blockquote {
    font-style : italic;
}

#header {
  text-align:center;
  color:#000000;
  font-size:12px;
  font-family:ms shell dlg;
  padding-top:0px;
  padding-right:20px;
  height:150px ;
  background: url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowhead.jpg) #000000 no-repeat center top;
  border-bottom: 0px solid #E4E5E5;
}
#header span{float:left;padding-top:38px;text-align:center;width:100%;}
#header #Header1_HeaderTitle{
    color: #000000;
    font-size:14px;font-family:arial;line-height:120%;font-weight:bold;color:#FABB0B
}
#main {
   float:left;padding: 10px 0px 0px 25px;width:65%;font-size:14px;line-height:160%;color:#333333;word-wrap:break-word;
}
#footer{clear:both;text-align:center;font-size:12px;width:100%;
    height:100px;
    padding-top:60px;margin:0px;
    background: url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowbg_foot.jpg) #000000 no-repeat;
}

#menu {clear:both;padding:0;
    float:left;
    width:250px;
    padding-top:10px;
    word-wrap:break-word;
    border-right:1px dotted #c0c0c0;
}

#menu h1 {
    color:#E3D8B7;
    padding:8px 0px 0px 18px;
    font-size: 14px;
    font-weight: bold;
    margin: 0px 0px 15px 60px;
    height:30px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowmenu_bg_blue.jpg) no-repeat;
}

#menu h3 {
    color:#E3D8B7;
    padding:8px 0px 0px 18px;
    font-size: 14px;
    font-weight: bold;
    margin: 0px 0px 15px 60px;
    height:30px;
    background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowmenu_bg_red.jpg) no-repeat;
}
#menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px 0px 15px 60px;
    font-size: 12px;

}
#comments{font-size:12px;line-height:150%}
#comments a{font-weight:bold}
.postTitle{font-weight:bold;background:url(http://www.donews.net/images/www_donews_net/dodo/54776/o_wowwhite_icon_ball.gif) no-repeat;padding-left:20px}
.postTitle a,.postTitle a:link,.postTitle a:visited{color:#999966;font-size:14px}
div,select,input{font-size:12px;word-wrap:break-word;}
div.block {
  background-image: url(images/main_background.gif);
  background-position: top left;
  background-repeat: repeat-y;
  font-size: 12px;
  text-align: justify;
}

div.block_footer {
  background-image: url(images/day_footer.gif);
  background-position: top left;
  background-repeat: no-repeat;
  height: 67px;
}

div.post {
  padding-left: 0px;
}
.dateTitle{padding-left:0px;font-size:12PX;color:#454545;line-height:150%;font-weight:bold}
div.posttitle {
  color: #73AF1D;
    font-family: "ms shell dlg";
    font-size: 14px;
    font-weight: bold;
}
div.postText{line-height:150%;}
.posttitle a:visited, .posttitle a:active, .posttitle a:link { 
    color:#999966;
    text-decoration : none;
    padding:2px;
}

.posttitle a:hover {
    color: #999966;
    text-decoration : none;padding:3px;
    border-bottom:1px dotted #999966;
}
.postFoot{line-height:120%;border-bottom:1px dotted #808080;font-size:12px;}
div.itemdesc {
  color: #808080;
  font-size: 12px;
    text-transform: uppercase;
}

div.seperator {
 
  background-position: top left;
  background-repeat: no-repeat;
  margin: 15px 0px 10px 0px;
}

div.entrylistitem {
  padding-left: 20px;
  padding-bottom: 10px;
}

a.entrylisttitle, a.entrylisttitle:visited, a.entrylisttitle:link, a.entrylisttitle:active {
  color: #FF6600;
    font-size: 14px;
    font-weight: bold;
}

div.moreinfo {
  font-size: 12px;
  text-align: justify;
}

div.moreinfotitle {
    color: #FF2a00;
    font-size: 12px;
    font-weight: bold;
}

div.comments {
  font-size: 12px
}

div.comment {
    background-color: #FBFBFB;font-size:12px;
  border: 0px dotted #DDDDDD;
  margin: 10px 0px 10px 0px;
  padding: 10px;
}

div.comment_author {
  margin: 5px 0px 5px 0px;font-size:12px;
}

div.comment_content {
  margin: 5px 0px 5px 0px;font-size:12px;
}

#postcomment {
    border: 0px solid #DDDDDD;
    background-color: #FBFBFB;
  font-size: 12px;
  padding: 10px;
  text-align: justify;
  margin-top: 15px;
  width: 435px;
}

#postcomment div {
    color: #808080;
  font-size: 12px;
    font-weight: bold;
  margin: 5px 0px 5px 0px;
}

#postcomment input.text, textarea {
  border: 1px solid #DDDDDD;
  font-size: 12px;
}

input.text {
    width : 300px; 
}

textarea {
    width : 300px;
    height : 200px; 
}

#relatedlinks ul {
    list-style : none;
    margin-left : 10px;
    padding : 0px;
}

span.highlight
{
    background-color:Yellow;     
}
.block_title{font-size:14px;font-weight:bold}
.code{float:left;width:80%;padding:10px;border:1px dotted #d9d9d9;background:#f4f4f4;}
.postFoot{clear:both;padding-top:6px}
br{clear:both;}