ColdFusion Question:
How would you declare an inline css to format the table with a background color of yellow and give the table cell a right margin of 10 pixels?

Answer:
<style>
table {
background-color: yellow;
}
td {
margin: 0 10px 0 0;
}
</style>
<table>
<tr>
<td>Hello world</td>
</tr>
</table>
table {
background-color: yellow;
}
td {
margin: 0 10px 0 0;
}
</style>
<table>
<tr>
<td>Hello world</td>
</tr>
</table>
Previous Question | Next Question |
What is the difference between absolute and relative div positioning? | How would you format some text using css to be verdana and bold? |