I have created a code snippet to display a table like this:
$("#results").append("<table><tr><th>Name</th><th>Phone Number</th></tr>");
$("#results").append("<tr><td>John</td><td>1231231234</td></tr>");
$("#results").append("</table>");
However, when I try to add borders to the table using CSS, it doesn't seem to work correctly.
You can view the issue in this fiddle: http://jsfiddle.net/23NQX/1/
Can someone point out what mistake I am making here?