189 8069 5689

css样式模板代码,css样式表代码

CSS模板代码谁有啊

我挺喜欢这个风格的 我自己网站现在用这个

网站建设哪家好,找成都创新互联!专注于网页设计、网站建设、微信开发、微信小程序、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了洮南免费建站欢迎大家使用!

你可以复制以下代码到记事本 然后保存为CSS格式后 网页再对其进行调用即可

BODY {CURSOR: url('mouse.ani');

background-color: #C6CFD0;}

INPUT {BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc; font-family: "Verdana, Arial, 宋体"; font-size: 12px}

select {color: #082D71; background-color: #ffffff; border-color: #082D71 #082D71 #082D71 #082D72; font-size: 9pt}

textarea {color: #082d71; background-color: #ffffff}

td {FONT-FAMILY:Verdana, Arial, 宋体; font-size:9pt}

.l_title {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

.m_title {COLOR: #ffffff; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

.r_title {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

.noline {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.noline:link {COLOR: #000000; text-decoration: none}

A.noline:visited {COLOR: #000000; text-decoration: none}

A.noline:active {COLOR: #666666; text-decoration: none}

A.noline:hover {COLOR: #666666; text-decoration: none}

.link {COLOR: #336699; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.link:link {COLOR: #336699; text-decoration: none}

A.link:visited {COLOR: #0066CC; text-decoration: none}

A.link:active {COLOR: #ff0000; text-decoration: none}

A.link:hover {COLOR: #ff0000; text-decoration: none}

.news {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 14px;line-height:22px}

A.news:link {COLOR: #ff0000; text-decoration: none}

A.news:visited {COLOR: #000099; text-decoration: none}

A.news:active {COLOR: #ff0000; text-decoration: none}

A.news:hover {COLOR: #ff0000; text-decoration: none}

.class {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt;line-height:12pt}

A.class:link {COLOR: #000000; text-decoration: none}

A.class:visited {COLOR: #000000; text-decoration: none}

A.class:active {COLOR: #0000ff}

A.class:hover {COLOR: #ff0000}

.lift {COLOR: #000099; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 12px}

A.lift:link {COLOR: #000099}

A.lift:visited {COLOR: #000099}

A.lift:active {COLOR: #cc0000}

A.lift:hover {COLOR: #ff0000}

.lift_top {COLOR: #000099; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 12px}

A.lift_top:link {COLOR: #000099}

A.lift_top:visited {COLOR: #0066CC}

A.lift_top:active {COLOR: #cc0000}

A.lift_top:hover {COLOR: #ff0000}

.middle {COLOR: #666666; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.middle:link {COLOR: #000000; TEXT-DECORATION: none}

A.middle:visited {COLOR: #000000; TEXT-DECORATION: none}

A.middle:active {COLOR: #0000ff; TEXT-DECORATION: none}

A.middle:hover {COLOR: #ff0000; TEXT-DECORATION: none}

.right {COLOR: #000099; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.right:link {COLOR: #ff0000}

A.right:visited {COLOR: #990000}

A.right:active {COLOR: #ff0000}

A.right:hover {COLOR: #ff0000; TEXT-DECORATION: none}

.eng {font-family:verdana,arial,helvetica; COLOR: #FFFFFF; FONT-SIZE: 9pt}

A.eng:link {COLOR: #FFFFFF; TEXT-DECORATION: none}

A.eng:visited {COLOR: #FFFFFF; TEXT-DECORATION: none}

A.eng:active {COLOR: #FFFFFF; TEXT-DECORATION: none}

A.eng:hover {COLOR: #ffff00; TEXT-DECORATION: none}

.bottom {COLOR: #ffffff; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.bottom:link {COLOR: #000000; TEXT-DECORATION: none}

A.bottom:visited {COLOR: #000000; TEXT-DECORATION: none}

A.bottom:active {COLOR: #FF0000; TEXT-DECORATION: none}

A.bottom:hover {COLOR: #FF0000; TEXT-DECORATION: none}

.top {COLOR: #ffffff; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.top:link { COLOR: #ffffff; TEXT-DECORATION: none}

A.top:visited { COLOR: #ffffff; TEXT-DECORATION: none}

A.top:active { COLOR: #ffffff; TEXT-DECORATION: none}

A.top:hover { COLOR: #ffffff; TEXT-DECORATION: none}

.black {COLOR: #000066; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.black:link { COLOR: #000066; TEXT-DECORATION: none}

A.black:visited { COLOR: #330000; TEXT-DECORATION: none}

A.black:active { COLOR: #FFFFFF; TEXT-DECORATION: none}

A.black:hover { COLOR: #ff0000; TEXT-DECORATION: none}

.top1 {COLOR: #ffffff; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.top1:link {COLOR: #ffffff; TEXT-DECORATION: none}

A.top1:visited {COLOR: #ffffff; TEXT-DECORATION: none}

A.top1:active {COLOR: #CCFF66; TEXT-DECORATION: none}

A.top1:hover {COLOR: #CCFF66; TEXT-DECORATION: none}

.my {COLOR: #000000; FONT-FAMILY:Verdana, Arial, 宋体; FONT-SIZE: 9pt}

A.my:link {COLOR: #000000; TEXT-DECORATION: none}

A.my:visited {COLOR: #000000; TEXT-DECORATION: none}

A.my:active {COLOR: #FF0000; TEXT-DECORATION: none}

A.my:hover {COLOR: #FF0000; TEXT-DECORATION: none}

.m_tittle{

font-size: 12px;

color: #ffffff;}

.daohang {

font-size: 12px;

font-weight: bold;

color: #000000;

background-repeat: repeat-x;

}

.daohang:link {

font-size: 12px;

font-weight: bold;

color: #336666;

text-decoration: none;

}

.daohang:visited {

font-size: 12px;

font-weight: bolder;

color: #336666;

text-decoration: none;

}

.daohang:hover {

font-size: 12px;

font-weight: bolder;

color: #336666;

text-decoration: underline;

}

.newstop {

background-position: center center;

}

A.MenuType:unknown link {

COLOR: #ffffff;FONT-SIZE: 12px; text-decoration: none

}

A.MenuType:link {

COLOR: #ffffff;FONT-SIZE: 12px; text-decoration: none

}

A.MenuType:active {

COLOR: #ffffff;FONT-SIZE: 12px; text-decoration: none

}

A.MenuType:visited {

COLOR: #ffffff;FONT-SIZE: 12px; text-decoration: none

; font-size: 12px

}

A.MenuType:hover {

COLOR: #CCFF66;FONT-SIZE: 12px; text-decoration: none

; font-size: 12px

}

.mtDropdownMenu {

LEFT: -1000px; OVERFLOW: hidden; POSITION: absolute; TOP: -1000px

}

.mtDropdownMenu .content {

POSITION: absolute

}

.mtDropdownMenu .items {

BORDER-BOTTOM: #999 1px solid; BORDER-LEFT: #999 1px solid; BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; LEFT: 0px; POSITION: relative; TOP: 0px; Z-INDEX: 2

}

.mtDropdownMenu .item {

BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-RIGHT: medium none; BORDER-TOP: medium none; COLOR: #4a4b4b; CURSOR: hand; FONT-SIZE: 12px; TEXT-DECORATION: none

}

.mtDropdownMenu .background {

FILTER: alpha(opacity=85); LEFT: 0px; POSITION: absolute; TOP: 0px; Z-INDEX: 1; moz-opacity: .8

}

.mtDropdownMenu .shadowRight {

FILTER: alpha(opacity=40); POSITION: absolute; TOP: 3px; WIDTH: 2px; Z-INDEX: 3; moz-opacity: .4

}

.mtDropdownMenu .shadowBottom {

FILTER: alpha(opacity=40); HEIGHT: 2px; LEFT: 3px; POSITION: absolute; Z-INDEX: 1; moz-opacity: .4

}

.mtDropdownMenu .hover {

BACKGROUND: #ffffff; COLOR: #8d1c1c

}

.mtDropdownMenu .item IMG {

MARGIN-LEFT: 12px

}

如何设置CSS中的模板代码,让网页局中。。。

这样:CSS里,外补丁margin如果值设置为:0

auto,那就可以居中,

你可以,把你整个网页外加一个(也就是body后和/body前各加上div和/div)div/div;

然后在代码写为:div

style="margin:0

auto"

百度CSS模板代码是什么?谁能帮我编辑一个模板???

我的还可以。/*好友模板替他分享*/ body{background-color:#ead0d1}#header{height:200px;background:url(

" target="_blank"

) repeat-x #f8e6e7} #header div.lc{} #header div.rc{background:url(

" target="_blank"

) no-repeat top right} #header div.tit{top:25px;left:20px;line-height:22px;font-size:22px;font:幼圆} #header div.tit a.titlink{color:#f8e6e7;text-decoration:none} #header div.tit a.titlink:visited{color:#f8e6e7;text-decoration:none} #header div.desc{top:50px;left:20px;color:#f8e6e7;font-size:16px;font-family:Comic sans ms} #tabline{top:199px;background:#b75b4c} #tab{top:177px;background:#b75b4c} #tab a.on,#tab a.on:link,#tab a.on:visited{margin-top:2px;line-height:19px;color:#f8e6e7;font-size:14px} #tab span{color:#f8e6e7;font-size:14px} #tab a:link{color:#f8e6e7;text-decoration:none;font-size:14px} #tab a:visited{color:#f8e6e7;text-decoration:none;font-size:14px} #tab2{background:#d37363} #tab2 span{color:#0a788c;font-size:12px;font-weight:bold} #tab2 a{font-size:12px} #tab2 a:link{color:#f3e1e3} #tab2 a:visited{color:#f3e1e3}.stage{background:#f8e6e7}#layout{margin-top:-10px} #layout td.c1t1,#layout td.c2t1,#layout td.c2t3,#layout td.c3t1,#layout td.c3t3,#layout td.c3t5{padding-top:10px} #layout td.c2t3,#layout td.c3t5{background:#ead0d1}#comm_info{color:#cb8472;font-family:Arial;text-align:left} #comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #ead0d1; background:url(;bgc=ead0d1bc=ead0d1tc=cb8472) no-repeat bottom; padding-bottom: 40px; margin-bottom: 10px} #comm_info a{color:#b95d50}#page{height:30px;font-size:14px;font-family:Comic Sans MS;text-align:center} #page span{padding:3px;color:#000000;font-size:14px;font-weight:bold} #page a.pc{color:#8a391e;font-size:14px;font-weight:bold} #page a.pc:visited{color:#8a391e} #page a.pi{padding:3px;color:#8a391e;font-size:14px} #page a.pi:visited{color:#8a391e}.mod{margin-bottom:10px} .modhandle{cursor:move} .modth{height:22px; background:url(

) no-repeat} .modhead{padding:4px 4px 0 4px} .modopt{padding:4px 4px 0 0} .modtit{color:#8a391e;font-size:12px;font-weight:bold}a.modtit{color:#8a391e}a.modtit:visited{color:#8a391e} .modtitlink{color:#8a391e;font-size:12px;font-weight:bold}a.modtitlink{color:#8a391e;text-decoration:none}a.modtitlink:visited{color:#8a391e;text-decoration:none}a.modtitlink:hover{color:#FF5100;text-decoration:underline} .modact{color:#8a391e;font-size:12px}a.modact:link{color:#8a391e}a.modact:visited{color:#8a391e} .modbox{padding:10px 10px 0 10px} .modtl{line-height:1px} .modtc{} .modtr{line-height:1px} .modbl{line-height:1px} .modbc{line-height:1px} .modbr{line-height:1px}#m_blog div.tit{text-indent:37px;line-height:30px;font-family:Comic sans ms;font-size:15px;font-weight:bold; background:url(

) no-repeat } #m_blog div.tit a{color:#83060a;font-size:14px;font-weight:bold}#m_blog div.tit a:link{color:#83060a;text-decoration:none;font-size:14px} #m_blog div.tit a:visited{color:#83060a;text-decoration:none;font-size:14px}/*--标题链接--*/#m_blog div.tit a:visited{color:#83060a} #m_blog div.date{margin:5px 0 8px 0;color:#cb8472} #m_blog div.cnt{color:#83060a;line-height:20px;font-size:13px} #m_blog div.more{margin:14px 0 16px 0} #m_blog div.more a{color:#83060a;font-size:14px}#m_blog div.more a:link{color:#83060a;text-decoration:none;font-size:14px} #m_blog div.more a:visited{color:#83060a;text-decoration:none;font-size:14px}/*--More--*/#m_blog div.more a:visited{color:#83060a} #m_blog div.opt{color:#cb8472;font-size:12px} #m_blog div.opt a{color:#8a391e;font-size:12px} #m_blog div.opt a:visited{color:#8a391e} #m_blog div.line{margin-top:17px;line-height:17px; background:url(

) repeat-x} #m_blog div.none{padding:100px 0 100px 0;color:#000000;font-size:14px}#m_pro a{color:#8a391e} #m_pro a:visited{color:#8a391e} #m_pro div.image{text-align:center} #m_pro div.act{margin-top:10px} #m_pro div.user{margin-top:10px;color:#cb8472;font-size:12px;font-weight:bold} #m_pro div.desc{color:#cb8472;font-size:12px} #m_pro div.line{margin-top:17px;line-height:17px;border-top:1px solid #8a391e} #m_pro td{color:#cb8472;line-height:24px;font-size:14px}#m_album div.image{text-align:center} #m_album div.page{color:#cb8472;font-size:12px;text-align:center} #m_album div.page a{color:#0000CC;font-size:12px} #m_album div.page a:visited{color:#0000CC}#m_links div.item{color:#cb8472;font-size:12px} #m_links div.item a{color:#8a391e;font-size:12px;text-decoration:none} #m_links div.item a:visited{color:#8a391e} #m_links div.line{margin-top:1px;line-height:1px;border-top:1px solid #ead0d1}#m_artclg div.item{color:#cb8472;font-size:13px} #m_artclg div.item a{color:#8a391e;font-size:13px} #m_artclg div.item a:visited{color:#8a391e} #m_artclg div.line{margin-top:2px;line-height:2px;border-top:0px solid #f8e6e7}#m_comment div.item{color:#cb8472;font-size:12px} #m_comment div.item a{color:#8a391e;font-size:12px} #m_comment div.item a:visited{color:#8a391e} #m_comment div.item a.cnt{color:#cb8472;font-size:12px;text-decoration:none} #m_comment div.item a.cnt:visited{color:#cb8472;text-decoration:none} #m_comment div.item a.cnt:hover{color:#cb8472;text-decoration:underline} #m_comment div.line{margin-top:2px;line-height:0px;border-top:1px solid #ead0d1}#m_albumlist div.note{color:#cb8472;font-size:14px} #m_albumlist div.desc{margin-bottom:12px;padding:3px 10px 3px 10px;line-height:22px;background-color:#F2F2F2;font-size:14px} #m_albumlist div.none{padding:100px 0 100px 0;color:#cb8472;font-size:14px} #m_albumlist div.line{margin-top:10px;line-height:16px;border-top:1px solid #DBC7DB} #m_albumlist div.tit{margin:6px 0 7px 0;color:#cb8472;font-size:14px} #m_albumlist div.tit a{color:#8a391e;font-size:14px} #m_albumlist div.tit a:visited{color:#8a391e} #m_albumlist span.count{color:#cb8472;font-size:12px;font-weight:bold} #m_albumlist span.size{color:#999999;font-size:12px;font-family:Arial} #m_albumlist a.act{color:#8a391e;font-size:12px} #m_albumlist a.act:visited{color:#8a391e} #m_albumlist a.page{color:#0000CC;font-size:14px} #m_albumlist a.page:visited{color:#0000CC} #m_albumlist td.image{padding:5px;border:1px solid #999999;background:#FFFFFF}#m_friend div.filter{margin-bottom:10px;padding-left:10px;padding-top:10px;height:27px;line-height:27px} #m_friend div.catalog{margin-bottom:10px;padding-left:10px;height:27px;line-height:27px;background-color:#F2F2F2;font-size:14px} #m_friend div.user{margin-top:4px;color:#666666;font-size:12px} #m_friend div.user a{color:#8a391e;font-size:12px} #m_friend div.user a:visited{color:#8a391e} #m_friend div.line{margin-top:2px;line-height:2px;border-top:1px solid #ead0d1}#m_setting a{color:#8a391e} #m_setting a:visited{color:#8a391e} #m_setting{line-height:22px;color:#cb8472;font-size:14px} #m_setting img.sel{border:4px solid #FFDB7B} #m_setting img.unsel{border:1px solid #D2D2D2} #m_setting span.tit{font-size:14px} #m_setting span.usr{color:#cb8472} #m_setting div.sel{padding-top:6px;font-size:14px;font-weight:bold} #m_setting div.line{margin-top:20px;line-height:16px;border-top:1px solid #DBC7DB}#m_sysinfo a{color:#8a391e} #m_sysinfo a:visited{color:#8a391e} #m_sysinfo{line-height:22px;color:#cb8472;font-size:14px} #m_sysinfo span.new{color:#FF0000;font-size:10px;font-family:Arial} #m_sysinfo span.date{color:#cb8472;font-size:14px}#m_setbase{color:#cb8472;font-size:14px} #m_setbase td{color:#cb8472;font-size:14px} #m_setbase div.line{margin-top:5px;line-height:8px;border-top:1px solid #DBC7DB}#in_comment{width:710px} #in_comment div.tit{margin-bottom:13px;color:#cb8472;font-size:13px;font-weight:bold text-indent:30px; line-height:35px; background:url(

" target="_blank"

) no-repeat } #in_comment div.user{ margin-bottom:6px; color:#666666; font-size:12px; text-indent:23px; line-height:22px; background:url(

" target="_blank"

) no-repeat } #in_comment div.user a{color:#8a391e;font-size:12px} #in_comment div.user a:visited{color:#8a391e} #in_comment div.user span.date{color:#cb8472;font-size:12px} #in_comment div.desc{color:#cb8472;font-size:12px} #in_comment div.line{margin-top:3px;line-height:5px; background:url(

" target="_blank"

) no-repeat}#in_send div.tit{margin:10px 0 10px 0;color:#cb8472;font-size:13px;font-weight:bold; line-height:30px; text-indent:35px; background:url(

) no-repeat}#comm_info a {display:none;}#in_msg{width:710px} #in_msg div.tit{margin-bottom:13px;color:#cb8472;font-size:13px;font-weight:boldtext-indent:30px;line-height:35px;background:url(

" target="_blank"

) no-repeat} #in_msg .item td.index{width:40px;font-weight:bold} #in_msg .item div.user{width:150px;margin-bottom:6px;color:#666666;font-size:12px;text-indent:23px;line-height:22px;background:url(

" target="_blank"

) no-repeat} #in_msg .item div.user a{color:#8a391e;font-size:12px} #in_msg .item div.user a:visited{color:#8a391e} #in_msg .item div.user img{margin-bottom:5px} #in_msg .item td.cnt a{color:#8a391e;font-size:12px} #in_msg .item td.cnt a:visited{color:#8a391e} #in_msg span.date{color:#cb8472;font-size:12px} #in_msg div.desc{color:#cb8472;font-size:12px} #in_msg div.line{margin-top:3px;line-height:5px;background:url(

" target="_blank"

) no-repeat}/** 表单样式的定义 **/ input, select, textarea {border: none !important;border: 1px #999 solid !important;font-family: Tahoma;font-size: 12px;} input {height: 20px;background: transparent url("

") top left repeat-x;} form {margin: 0px !important;}

谁能提供一个漂亮的百度空间模板CSS代码

想不想自己拿想要的空间的css代码?

如果想要的话 我教你

//方法如下:

找到你喜欢的空间或者是模板(如果是模板,你就先应用到你的空间,然后再往下做..)。在浏览器的“查看“ 菜单中找到”查看原文件,弹出一个纯文本文件,你在里面找到

:link rel="stylesheet" type="text/css" href="/%B2%D7%BA%A3%D2%BB%C1%A3%CB%DA/css/item/e4b0e93f0c4244c27c1e716b.css" /类似这样的一段代码

然后把href=后面的/%B2%D7%BA%A3%D2%BB%C1%A3%CB%DA/css/item/e4b0e93f0c4244c27c1e716b.css这一段代码复制下来粘贴到一个文本文档中然后在它的前面加上(也就是所百度空间的前缀)这样一段代码,全代码是:,然后把它粘贴到迅雷里下载就行了,下载下来你在百度空间里"管理中心"--"空间装扮"--"开始装扮"--"挑选模板"--"我也来设计"(最右边),然后选择css代码设计,删掉里面的代码,然后把你的代码粘贴到里面就行了。记着保存。

不懂得问我,我在线HI

谁能提供一下空间CSS的模板代码?顺便告诉我一下代码插在哪里。

1)空间CSS的模板代码:下面这几个,总有一个适合你。

2)代码插在哪里?

1、 在哪自定义模板CSS?

在“设置”的“模板设置”页的自定义模板CSS中。

2 、哪个模板是我当前使用的模板?

可在“设置”——“模板设置”页的“当前模板CSS”中查看。

3、 可以对自定义CSS进行哪些操作?

可对自定义模板CSS进行“创建”“编辑”“重命名”“删除”“使用”等操作

4、 创建新模板需要注意些什么?

点击“创建新模板”可在“创建CSS自定义模板”页修改“默认”模板的代码后保存。共可以保存6套,如果多于6套将不出现“创建新模板”按钮。如需新模板编辑可删除1套或者选6套中的1套进行修改保存。

5、 编辑CSS自定义模板页中的“保存修改”“保存并应用”有什么不同?

“保存修改”——仅将刚才修改编辑的自定义模板CSS保存,并不应用到当前使用的模板中。

“保存并应用”——将修改编辑的自定义模板CSS保存,并应用到当前使用的模板中。即在空间中使用该套自定义模板CSS。

6、无法生成自定义CSS截图怎么办?

如果暂无法生成截图会用默认图片代替,若您希望生成相应的截图,再编辑保存该模板CSS即可。

参考资料:百度空间/blog/item/2e8ea0ec58bc7a3d2697912c.html


分享文章:css样式模板代码,css样式表代码
网页链接:http://jkwzsj.com/article/dsdeche.html

其他资讯