Reputation: 13153
I have the following code in a JSP:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<body>
<table cellpadding="10">
<tr><td>one</td><td>two</td></tr>
<tr><td>three</td><td>four</td></tr>
</table>
</body>
That's the entire file.
It is in a JSP that gets put in an IFrame. I can't figure out what is interfering with the cellpadding value -- each value should be 10 pixels from the boundary of its table cell, but it isn't. What am I missing here?
Here's the output:
Here's the relevant section from Chrome's 'inspection' window:
Upvotes: 0
Views: 50