
February 22nd, 2002, 11:45 AM
|
|
Contributing User
|
|
Join Date: Feb 2002
Location: Bako, CA
Posts: 42
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
CSS and Tables
I have this CSS code that works perfect, BUT if I want to put it within a table Cell, it screws it all up. Maybe someone can give me some input!! Here is the code:
CSS CODE
__________
div.tabBox {}
div.tabArea {
font-size: 80%;
font-weight: bold;
}
a.tab {
background-color: white;
border: 1px solid #183cad;
border-bottom-width: 0px;
padding: 2px 1em 2px 1em;
text-decoration: none;
}
a.tab, a.tab:visited {
color: #183cad;
}
a.tab:hover {
background-color: white;
color: #183cad;
}
a.tab.activeTab, a.tab.activeTab:hover, a.tab.activeTab:visited {
background-color: white;
color: #183cad;
}
div.tabMain {
background-color: white;
border: 1px solid #183cad;
padding: 1em;
}
HTML CODE
_____________
<div class="tabArea">
<a class="tab" href="link.htm">Link</a>
<a class="tab" href="link.htm">Link</a>
<a class="tab" href="link.htm">Link</a>
<a class="tab" href="link.htm">Link</a>
</div>
Thanks again for the help!
|