jimmyshoes
Programmer
I am trying to work out the structure for my css pages
I am thinking of using the structure in the example below
In the example below, will Hi be rendered as 24 px in all browsers, and if I hadn't stipulated <td class = "largeFont"> then 14px
I am thinking of using the structure in the example below
In the example below, will Hi be rendered as 24 px in all browsers, and if I hadn't stipulated <td class = "largeFont"> then 14px
Code:
<style>
#main .someTable td { font-size : 14px}
,largeFont { font-size : 24px}
</style>
<div id="main">
<table class = "someTable">
<tr>
<td class = "largeFont">Hi</td>
</tr>
</table>
</div>