I am trying to get my input field to align to the left of the table cell. I have tried float and that throws everything out of whack. The cells width are being created dynamically so I can’t add a padding to the right to push it to the left. I am also using jQuery if there is some way to use it.
UPDATE:
I have tried the suggestions that have been offered. Here is a link to my page where I am having the problem. The input boxes at the footer of the table I can’t get to align left. CSS is not my strong suite.
All else being equal, an input in a table data cell will align to the left by default.
If it is a table heading cell, then apply
text-align: leftto the cell.If that doesn’t work, then stop doing whatever it is you are doing that is making it something other than left aligned.