高手帮忙!!能否帮我把Tab代码竖向改成横向的,研究好久改不过来。谢谢了啊~

顺便帮我改一下,字体:#333333,边框:#FF9999字数限制,剪了中间一段,不影响<styletype="text/css"><!--.left_box{margi... 顺便帮我改一下,字体:#333333,边框:#FF9999
字数限制,剪了中间一段,不影响

<style type="text/css">
<!--
.left_box{
margin: 0;
padding: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
font-family: inherit;
}
.infopublish ul.left_box li {
line-height: 1.89;
}
body {
color: #333;
text-align: left;
font: 12px/1.5 Tahoma, Helvetica, Arial, sans-serif;
width:300px;
}
ol, ul {
list-style: none;
}
.box{
border:1px solid #99BBDD;
padding-bottom:2px;

}
.box_1 ul{
padding:5px;
}
.box_title{
position: relative;
height: 28px;
}
.box_title h3 {
height: 26px;
line-height: 26px;
margin: 1px 1px 0;
padding: 0 10px;
font-weight: bold;
font-size: 120%;
color: #275c91;
}
.box_title span {
float:right;
padding-top:5px;
padding-right:5px;
}

.infopublish {
border-color: #7bce74;
}
.infopublish .box_title {
background: none;
}
.infopublish .box_title h3 {
height: 30px;
line-height: 30px;
margin: 1px 1px 0;
color: #fff;
background: url(nav.png) repeat-x 0 -390px;
}
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
/**/
.clearfix:after {
content: ".";
clear: both;
display: block;
height: 0;
visibility: hidden;
}
.v-tab {
width: 71px;
float: left;
display: inline;
overflow: hidden;
margin: -2px 1px -6px -5px !important;
margin: -5px 1px -6px -5px;
}

.v-tab li {
float: left;
}
.v-tab li a {
float: left;
width: 70px;
height: 29px;
line-height: 29px;
text-align: center;
background: #ebf7e9;
border: solid #7bce74;
border-width: 0 1px 1px 0;
}
.v-tab li a:link,
.v-tab li a:visited {
color: #2e7428;
}
.v-tab li a.current,
.v-tab li a:hover,
.v-tab li a:active {
background: #fff;
border-right: 0;
font-weight: bold;
padding-right: 1px;
}
.box .left_box li{
line-height:24px;
}
.disable {
display: none;
}
-->
</style>
<script language="javascript" type="text/javascript">
function doClick_jy(o){
o.className="current";
var j;
var id;
var e;
for(var i=1;i<=8;i++){
id ="jy"+i;
j = document.getElementById(id);
e = document.getElementById("jy_con"+i);
if(id != o.id){
j.className="";
e.style.display = "none";
}else{
e.style.display = "block";
}
}
}

</script>

<body>
<div class="box infopublish">
<div class="box_1 clearfix">
<ul class="v-tab">
<li><a href="#" class="current" id="jy1" onmouseover="javascript:doClick_jy(this)">tab1</a></li>
<li><a href="#" id="jy2" onmouseover="javascript:doClick_jy(this)">tab2</a></li>
<li><a href="#" id="jy3" onmouseover="javascript:doClick_jy(this)">tab3</a></li>
<li><a href="#" id="jy4" onmouseover="javascript:doClick_jy(this)">tab4</a></li>
</ul>
<ul class="left_box" style="display:block;" id="jy_con1">
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
</ul>
</div>
</div>
1楼的大虾
请问字体颜色和边框的颜色是在哪里改?
能否再改改?
或者告诉我在哪里改也可以
展开
 我来答
新程php培训
推荐于2016-09-18 · TA获得超过1872个赞
知道小有建树答主
回答量:504
采纳率:0%
帮助的人:466万
展开全部
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<style type="text/css">
<!--
.left_box{
margin: 0;
padding: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
font-family: inherit;
}
.infopublish ul.left_box li {
line-height: 1.89;
width:40px;
float:left;
}
body {
color: #333;
text-align: left;
font: 12px/1.5 Tahoma, Helvetica, Arial, sans-serif;
width:300px;
}
ol, ul {
list-style: none;
}
.box{
border:1px solid #99BBDD;
padding-bottom:2px;

}
.box_1 ul{
padding:5px;
}
.box_title{
position: relative;
height: 28px;
}
.box_title h3 {
height: 26px;
line-height: 26px;
margin: 1px 1px 0;
padding: 0 10px;
font-weight: bold;
font-size: 120%;
color: #275c91;
}
.box_title span {
float:right;
padding-top:5px;
padding-right:5px;
}

.infopublish {
border-color: #7bce74;
}
.infopublish .box_title {
background: none;
}
.infopublish .box_title h3 {
height: 30px;
line-height: 30px;
margin: 1px 1px 0;
color: #fff;
background: url(nav.png) repeat-x 0 -390px;
}
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
/**/
.clearfix:after {
content: ".";
clear: both;
display: block;
height: 0;
visibility: hidden;
}
.v-tab {
/**width: 71px;*/
float: left;
display: inline;
overflow: hidden;
margin: -2px 1px -6px -5px !important;
margin: -5px 1px -6px -5px;
}

.v-tab li {
float: left;
}
.v-tab li a {
float: left;
width: 70px;
height: 29px;
line-height: 29px;
text-align: center;
background: #ebf7e9;
border: solid #7bce74;
border-width: 0 1px 1px 0;
}
.v-tab li a:link,
.v-tab li a:visited {
color: #2e7428;
}
.v-tab li a.current,
.v-tab li a:hover,
.v-tab li a:active {
background: #fff;
border-right: 0;
font-weight: bold;
padding-right: 1px;
}
.box .left_box li{
line-height:24px;
}
.disable {
display: none;
}

-->
</style>
<script language="javascript" type="text/javascript">
function doClick_jy(o){
o.className="current";
var j;
var id;
var e;
for(var i=1;i<=8;i++){
id ="jy"+i;
j = document.getElementById(id);
e = document.getElementById("jy_con"+i);
if(id != o.id){
j.className="";
e.style.display = "none";
}else{
e.style.display = "block";
}
}
}

</script>

<body>
<div class="box infopublish">
<div class="box_1 clearfix">
<ul class="v-tab">
<li><a href="#" class="current" id="jy1" onmouseover="javascript:doClick_jy(this)">tab1</a></li>
<li><a href="#" id="jy2" onmouseover="javascript:doClick_jy(this)">tab2</a></li>
<li><a href="#" id="jy3" onmouseover="javascript:doClick_jy(this)">tab3</a></li>
<li><a href="#" id="jy4" onmouseover="javascript:doClick_jy(this)">tab4</a></li>
</ul>
<ul class="left_box" style="display:block;" id="jy_con1">
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
</ul>
</div>
</div>
</BODY>
</HTML>

帮你改好了,测试没有问题,你给加分吧
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
286252213
2010-08-26 · TA获得超过1701个赞
知道小有建树答主
回答量:1513
采纳率:0%
帮助的人:654万
展开全部
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<style type="text/css">
<!--
.left_box{
margin: 0;
padding: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
font-family: inherit;
}
.infopublish ul.left_box li {
line-height: 1.89;
width:40px;
float:left;
}
body {
color: #333;
text-align: left;
font: 12px/1.5 Tahoma, Helvetica, Arial, sans-serif;
width:300px;
}
ol, ul {
list-style: none;
}
.box{
border:1px solid #99BBDD;
padding-bottom:2px;

}
.box_1 ul{
padding:5px;
}
.box_title{
position: relative;
height: 28px;
}
.box_title h3 {
height: 26px;
line-height: 26px;
margin: 1px 1px 0;
padding: 0 10px;
font-weight: bold;
font-size: 120%;
color: #275c91;
}
.box_title span {
float:right;
padding-top:5px;
padding-right:5px;
}

.infopublish {
border-color: #7bce74;
}
.infopublish .box_title {
background: none;
}
.infopublish .box_title h3 {
height: 30px;
line-height: 30px;
margin: 1px 1px 0;
color: #fff;
background: url(nav.png) repeat-x 0 -390px;
}
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
/**/
.clearfix:after {
content: ".";
clear: both;
display: block;
height: 0;
visibility: hidden;
}
.v-tab {
/**width: 71px;*/
float: left;
display: inline;
overflow: hidden;
margin: -2px 1px -6px -5px !important;
margin: -5px 1px -6px -5px;
}

.v-tab li {
float: left;
}
.v-tab li a {
float: left;
width: 70px;
height: 29px;
line-height: 29px;
text-align: center;
background: #ebf7e9;
border: solid #7bce74;
border-width: 0 1px 1px 0;
}
.v-tab li a:link,
.v-tab li a:visited {
color: #2e7428;
}
.v-tab li a.current,
.v-tab li a:hover,
.v-tab li a:active {
background: #fff;
border-right: 0;
font-weight: bold;
padding-right: 1px;
}
.box .left_box li{
line-height:24px;
}
.disable {
display: none;
}

-->
</style>
<script language="javascript" type="text/javascript">
function doClick_jy(o){
o.className="current";
var j;
var id;
var e;
for(var i=1;i<=8;i++){
id ="jy"+i;
j = document.getElementById(id);
e = document.getElementById("jy_con"+i);
if(id != o.id){
j.className="";
e.style.display = "none";
}else{
e.style.display = "block";
}
}
}

</script>

<body>
<div class="box infopublish">
<div class="box_1 clearfix">
<ul class="v-tab">
<li><a href="#" class="current" id="jy1" onmouseover="javascript:doClick_jy(this)">tab1</a></li>
<li><a href="#" id="jy2" onmouseover="javascript:doClick_jy(this)">tab2</a></li>
<li><a href="#" id="jy3" onmouseover="javascript:doClick_jy(this)">tab3</a></li>
<li><a href="#" id="jy4" onmouseover="javascript:doClick_jy(this)">tab4</a></li>
</ul>
<ul class="left_box" style="display:block;" id="jy_con1">
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
<li>· <a href="" target="_blank">tab1</a></li>
</ul>
</div>
</div>
</BODY>
</HTML>
这是最后改好的,你加给一楼吧,呵呵,谢谢像一楼这样伟大的人啊
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式