views:

64

answers:

1

This code:

<table cellpadding=0 cellspacing=0 border=0>
    <tr>
        <td bgcolor=red>
            <input type='text' />
        </td>
    </tr>
</table>

Gives this output in Safari and all other browsers: alt text

The question is how to remove the indent that is highlighted with background color. Problem occurs in Safari only, CSS margin/padding/border does not help.

+1  A: 

There’s probably some margin on that input element. Try to remove it, e.g.:

<input type='text' style="margin:0" />
Gumbo