次のようなCSSがあります。
CSS
table {
width: 100%;
font-family: calibri;
word-wrap:break-word;
margin-left: 0;
font-size: 1.1em;
border-collapse: separate;
border-spacing: 1px;
}
td {
text-transform: none;
font-weight: bold;
line-height: 115%;
word-wrap:break-word;
vertical-align: middle;
padding: 2px 10px 0 3px ;
border-radius: 2px;
border: 1px solid #6A797F;
}
tr:nth-child(odd){
background-color: #a9c6c9;
}
tr:nth-child(even){
background-color: #d4e3e5;
}
<table>
別の , <td>
&<tr>
を CSS ファイルのどこかに追加して、その特定のページのデザインの目的に合わせてスタイルを変更するにはどうすればよいですか。私はこの解決策を試みましたが、うまくいきませんでした:
.members_col1 tr td{
text-transform: none;
line-height: 115%;
word-wrap: break-word;
vertical-align: left;
}
.member_col1
は、新しいスタイル セットを追加したい を<div>
含むです。<table>