ColdFusion Question:
Download Questions PDF

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>

Download ColdFusion Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between absolute and relative div positioning?How would you format some text using css to be verdana and bold?