[痞客] 如何套用【CSS Tab designer】於部落格?
已用CSS Tab designer得到一組語法,
但不知如何套進痞客邦的自訂CSS中,
可否請好心的朋友們幫幫忙, 感謝!!
語法如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="" rel="nofollow">http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-utf-8" />
<title>Free CSS Navigation Menu Designs 1 at
exploding-boy.com</title>
<style type="text/css">
<!--
body {
margin:0;
padding:0;
font: bold 11px/1.5em Verdana;
}
h2 {
font: bold 14px Verdana, Arial, Helvetica, sans-serif;
color: #000;
margin: 0px;
padding: 0px 0px 0px 15px;
}
/*- Menu Tabs B--------------------------- */
#tabsB {
float:left;
width:100%;
background:#F4F4F4;
font-size:93%;
line-height:normal;
}
#tabsB ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabsB li {
display:inline;
margin:0;
padding:0;
}
#tabsB a {
float:left;
background:url("tableftB.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsB a span {
float:left;
display:block;
background:url("tabrightB.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#666;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabsB a span {float:none;}
/* End IE5-Mac hack */
#tabsB a:hover span {
color:#000;
}
#tabsB a:hover {
background-position:0% -42px;
}
#tabsB a:hover span {
background-position:100% -42px;
}
#tabsB #current a {
background-position:0% -42px;
}
#tabsB #current a span {
background-position:100% -42px;
}
-->
</style>
</head>
<body>
<h2>Tab Menu B</h2>
<div id="tabsB">
<ul>
<!-- CSS Tabs -->
<li><a href="" rel="nofollow">http://xxxxxxxxxxxxxx"><span>相簿
</span></a></li>
<li><a href="" rel="nofollow">http://xxxxxxxxxxxxxx"><span>部落格
Blog</span></a></li>
<li><a href="http://xxxxxxxxxxxxxx><span>留言板
Guestbook</span></a></li>
</ul>
</div>
<br /><br />
</body>
</html>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.36.60
→
04/05 16:38, , 1F
04/05 16:38, 1F
→
04/05 17:06, , 2F
04/05 17:06, 2F
→
04/05 17:08, , 3F
04/05 17:08, 3F
→
04/05 17:10, , 4F
04/05 17:10, 4F
→
04/05 17:10, , 5F
04/05 17:10, 5F
→
04/05 17:11, , 6F
04/05 17:11, 6F
→
04/05 17:12, , 7F
04/05 17:12, 7F
→
04/05 17:13, , 8F
04/05 17:13, 8F
→
04/05 17:13, , 9F
04/05 17:13, 9F
→
04/07 21:13, , 10F
04/07 21:13, 10F
Blog 近期熱門文章
PTT數位生活區 即時熱門文章