tags:

views:

219

answers:

3

Form (with firebug highlight hover the td):

example

Label column CSS:

width: auto;
padding: 0;
margin: 0;

The problem:

Why my left columns have that invisible "padding-right"? It's not possible to shrink columns to fit their content?

--EDIT--

The problem was the table itself. I defined table with "width: 100%". Removed that and the problem is gone.

A: 

maybe problem with margin?

width:auto;
padding: 0px;
margin: 0px
fl00r
I added "margin: 0" to my post but it's not the problem.
Rui Carneiro
<table cellpadding='0' cellspacing='0'>?
fl00r
A: 

Try using:

border-collapse: collapse;

to style your table

matpol
A: 

The problem was the table itself. I defined table with "width: 100%". Removed that and the problem is gone.

Rui Carneiro