/    Sign up×
Community /Pin to ProfileBookmark

hi there

I need two tables in one page. they need to look different from one another. how would I go about this?

Here is my CSS for the table:

table {
width: auto;
border-collapse:collapse;
border:1px solid #000;
margin-top:10px;
}
caption {
font: 12px Arial, Helvetica, sans-serif;
text-align: left;
text-indent: 10px;
height: 45px;
color: #000;
padding-top: 10px;
margin-bottom:15px;
}
thead th {
background: url(../../../mortgages/Images/th.jpg) repeat-x top;
height: 40px;
color: #fff;
font-size: 12px;
font-weight: bold;
padding: 0px 7px;
margin: 20px 0px 0px;
text-align: left;
border-right: 1px solid #000;
}

tbody tr {
background: url(../../../mortgages/Images/bg_th.jpg) repeat-x top;
}
tbody tr.odd {
background: #FFF8E8 url(bg_td2_OLD.jpg) repeat-x;
}

tbody th,td {
font-size: 13px;
line-height: 1.4em;
font-family: Arial, Helvetica, sans-serif;
color: #000;
padding: 8px 7px;
border-top: 1px solid #000;
border-right: 1px solid #000;
text-align: left;
}
a {
color: #777777;
font-weight: bold;
text-decoration: underline;
}
a:hover {
color: #000;
text-decoration: none;
}
tfoot th {
background: url(../../../mortgages/Images/bg_total.jpg) repeat-x top;
color: #FFFFFF;
height: 33px;
}
tfoot td {
background: url(../../../mortgages/Images/bg_total.jpg) repeat-x top;
color: #FFFFFF;
height: 33px;
}
tbody tr:hover{
background: url(../../../mortgages/Images/bg_hover.jpg) repeat-x top;
text-decoration: none;

}

Thanks

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@FangJun 04.2007 — Give each table a different id
×

Success!

Help @ranjistinos spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...