当前位置:首页 > 代码 > 正文

百度评论按钮代码(百度评论按钮代码是什么)

admin 发布:2022-12-19 21:23 232


本篇文章给大家谈谈百度评论按钮代码,以及百度评论按钮代码是什么对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

本文目录一览:

百度空间评论区代码

/*评论区*/

#in_comment{width:900px;background:-color:#000000}

/*"网友评论:"标题*/

#in_comment div.tit{margin-bottom:12px;color:#333333;font-size:14px;font-weight:bold}

/*评论者区域*/

#in_comment div.user{background-color:#cccccc;margin-bottom:6px;color:#333333;font-size:12px}

#in_comment div.user a{color:#3399CC;font-size:12px}

#in_comment div.user a:visited{width:150px;text-align:center;color:#3399CC}

#in_comment div.user a:hover{color:#ff0000}

/*评论日期(百度默认模版中原句错误)*/

#in_comment span.date{color:#666666;font-size:12px}

/*评论内容*/

#in_comment div.desc{color:#333333;font-size:12px}

/*评论区分割线*/

#in_comment div.line{margin-top:17px;line-height:17px;border-top:1px solid #D2E9F4 }

/*数字及头像区域*/

#in_comment td{width:160px;text-align:left;background-color:#3399cc;color:#ff0000}

/*评论数字*/

#in_comment td.index{width:30px;background-color:#ffff00;color:#ff0000}

/*日期及内容区域*/

#in_comment td.cnt{width:650px;text-align:left;background-color:#003300;}

/*评论区域整体*/

#in_comment div{background-color:#EEEEEE;}

/*评论日期,评论内容*/

#in_comment span,#in_comment div.desc{margin-left:0px;background-color:#cccccc;width:650px;color:#ff0000}

百度空间发表评论按钮CSS问题

使用定位或者隐藏其他标签的方法确定按钮到底跑哪里了,个人觉得应该是CSS的问题

把百度空间文章下面的“评论”两字去掉要加什么CSS代码

为什么总有这种特别的想法呢?

你试试吧,实现其实也比较简单

#m_blog div.opt{color:#770000;font-size:12px;text-decoration:none; font-family:Georgia; text-indent:-230px; }

增加一个属性text-indent:-230px;宽度自行设置,到你满意为止,还好浏览是最后一项,如果在中间我还真没办法了

另外这种方法可行是建立在你的评论是0,宽度多数会一样的基础上,如果出现某些不确定因素导致浏览和前面的内容出现宽度不一样的情况,就要另行设置,到时候再说吧,呵呵。

其实最简单的还是全隐藏,只要在这样式里加一个属性display:none,就ok了

百度空间首页留言板代码

/******留言板******/

#mod_board.mod{} /*留言板模块*/

#mod_board table.modth{} /*以下6项如果不设定则继承通用模块的样式*/

#mod_board td.modtl{}

#mod_board div.modhead{}

#mod_board span.modtit{}

#mod_board td.modtc{}

#mod_board td.modtr{}

/*其它代码与最新评论区完全相同,可以用#mod_board罩着修改,但一定要放到评论区代码的后面才能生效*/

/******留言板内部页面******/

#spBCmtAuthor{} /*留言姓名输入框*/

#spBCmtURL{} /*留言网址输入框*/

#spBCmtText{} /*留言输入框*/

#vercode input{} /*验证码输入框*/

#in_send td.f14 input{} /*添加留言按钮*/

#in_msg {} /*留言区*/

#in_msg div.tit{} /*留言区标题*/

#in_msg a{} /*留言区链接*/

#in_msg a:hover{} /*悬停效果*/

#in_msg td.index{} /*留言序号*/

#in_msg div.user{} /*留言用户*/

#in_msg div.user a img{} /*用户头像*/

#in_msg div.user a:hover img{} /*悬停效果*/

#in_msg td.cnt{} /*留言时间*/

#in_msg div.desc{} /*留言内容*/

#in_msg div.line{} /*分界线*/

p.s. CSS初学者可以略过下面的内容,建议CSSer参考一下。

由于留言板内部页面与评论区域的代码交叉嵌套,因此在设计模板时应注意语句的先后顺序,下面给出评论区与留言区的建议语句排序:

/******内部发表评论区域******/

#in_send{} /*发表评论区域背景*/

#in_send input{} /*内部发表评论及留言区域的输入区,包括单选框、文本框和按钮*/

#in_send div.tit{} /*发表评论标题*/

#in_send table{} /*发表评论内容*/

#in_send td.f14{} /*提示语*/

input.#spBlogCmtor{} /*姓名输入框*/

input.#spBlogCmtURL{} /*网址输入框*/

#spBlogCmtText{} /*评论输入框*/

/******留言板内部页面******/

input.#spBCmtAuthor{} /*留言姓名输入框*/

input.#spBCmtURL{} /*留言网址输入框*/

#spBCmtText{} /*留言输入框*/

#vercode input{} /*验证码输入框*/

#in_send td.f14 input{} /*留言按钮*/

#in_msg{} /*留言区*/

#in_msg div.tit{} /*留言区标题*/

#in_msg a{} /*留言区链接*/

#in_msg a:hover{} /*悬停效果*/

#in_msg table.item{} /*留言列表*/

#in_msg td.index{} /*留言序号*/

#in_msg div.user{} /*留言用户*/

#in_msg div.user a img{} /*用户头像*/

#in_msg div.user a:hover img{} /*悬停效果*/

#in_msg td.cnt{} /*留言时间*/

#in_msg div.desc{} /*留言内容*/

#in_msg div.line{} /*分界线*/

其中部分代码与之前给出的代码略有出入(例如input.#spBCmtAuthor{}),这是因为相关的html代码为:

...

td class="f14"姓 名:/td

tdinput type="text" name="spBCmtAuthor" id="spBCmtAuthor" style="width:220px" onKeyDown="cont(this,50);" onKeyUp="cont(this,50);" maxlength="49"/td

...

因此,input.#spBCmtAuthor{}的写法比#spBCmtAuthor{}更为精确。 另外,#in_send input{} 可用来控制留言板“姓名”单选框的样式。但一定要把它提到最前,否则,会干扰姓名、网址等输入框的样式

默认的留言板代码如下:

#in_msg{width:710px}

#in_msg div.tit{margin-bottom:12px;color:#333333;font-size:14px;font-weight:bold}

#in_msg .item td.index{width:40px;font-weight:bold}

#in_msg .item div.user{width:150px;color:#333333;}

#in_msg .item div.user a{color:#3399CC;font-size:12px}

#in_msg .item div.user a:visited{color:#3399CC}

#in_msg .item div.user img{margin-bottom:5px}

#in_msg .item td.cnt a{color:#3399CC;font-size:12px}

#in_msg .item td.cnt a:visited{color:#3399CC}

#in_msg span.date{color:#666666;font-size:12px}

#in_msg div.desc{margin-top:5px;color:#333333;font-size:12px}

#in_msg div.line{margin-top:17px;line-height:17px;border-top:1px solid #D2E9F4}

求百度空间网友评论区域代码

body{text-decoration:none;color:#FFFFFF;font-size:12px}/*非链接处颜色为白色,无修饰*/

body a:link{text-decoration:none;color:#FF0000} /*链接处未点击的颜色为红色,无修饰*/

可以根据需要调换颜色,这样修改的话 会全部修改掉 所以你自己先预览下吧

百度空间评论部分的css

#in_send div.tit{margin:10px 0 10px 0;color:#666666;font-size:14px;font-weight:bold} /*内部发表评论区域*/ #in_send{ } /*发表评论区域背景*/ #in_send input{ } /*内部发表评论及留言区域的输入区,包括单选框,文本框和按钮*/ #in_send div.tit{ } /*发表评论标题*/ #in_send table{color:#888888; font-size:12px; } /*发表评论内容*/ #in_send td.f14{color:#888888; font-size:12px; } /*提示语*/ input.#spBlogCmtor{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*姓名输入框*/ input.#spBlogCmtURL{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*网址输入框*/ #spBlogCmtText{ } /*评论输入框*/#spBlogCmtText {border: 1px solid #888888; background:#FFFFFF url(

" target="_blank"

) right bottom no-repeat ;background-position:100% 70%!important; border-style:solid;border-width:1px;border-color:#888888;padding:5px; margin:0px; filter:alpha(opacity=70);color:#000000;font-size:14px; background-attachment: fixed;} #spBlogCmtURL {border: 1px solid #888888;} #spBlogCmtor {border: 1px solid #888888;}/*留言板内部页面*/ #spBCmtAuthor{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*留言姓名输入框*/ #spBCmtURL{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*留言网址输入框*/ #spBCmtText{color:#888888; font-size:12px;border:1px solid #888888; } /*留言输入框*/ #vercode input{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF;color:#00B1DD;font-size:14px; } /*验证码输入框*/ #in_send td.f14 input{color:#888888; font-size:12px;border:1px solid #888888; } /*添加留言按钮*//*留言板内部页面*/ input.#spBCmtAuthor{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*留言姓名输入框*/ input.#spBCmtURL{color:#888888; font-size:12px;border:1px solid #888888;background:#FFFFFF; } /*留言网址输入框*/ #spBCmtText{color:#888888; font-size:12px;border:1px solid #888888; } /*留言输入框*/ #vercode input{display:none} /*验证码输入框*/ #in_send td.f14 input{color:#888888; font-size:12px;border:1px solid #888888; } /*留言按钮*/m_comment_post table,#in_send table{width: !important;} /* 首页添加留言区域 */.EditorContainer{/*留言板调用载体 此处加入背景图*/ color:#888888!important ;font-size:12px;border:solid 1px #888888!important; background:#FFFFFF url(

" target="_blank"

) right bottom no-repeat ; background-position:100% 70%!important; }.EditorContainer iframe{/* 留言板调用文字输入区 */ color:#888888!important;font-size:15px;-moz-opacity:0.5;filter:alpha(Opacity=40);background:#888888 left top no-repeat }

关于百度评论按钮代码和百度评论按钮代码是什么的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。

版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;

本文地址:http://ahzz.com.cn/post/24865.html


取消回复欢迎 发表评论:

分享到

温馨提示

下载成功了么?或者链接失效了?

联系我们反馈

立即下载