|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Applying a css
i was wondering if i was posibble to apply a css for elements but only on a specific table. for example lets say you want to have
td { font-size: 10px } but you just want to apply it to a specific table with an id. how do u do this, if it is possible? |
|
#2
|
|||
|
|||
|
RE: Applying a css
#someid {
font-size: 10px; } <td id="someid"> or <td style="font-size: 10px"> |
|
#3
|
||||
|
||||
|
RE: Applying a css
If you want the table to have the id instead of the cell:
Code:
#someid td {
font-size: 10px;
}
<table id="someid">
<tr>
<td>...</td>
</tr>
</table>
|
|
#4
|
|||
|
|||
|
RE: Applying a css
Thanx so much guys this is something new that i learnt in css cuz i am used to
table#whateva { } and this time i realised that when it came to things like <p></p> i would have to put in too many ids so this is definitely the solution. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Applying a css |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|