Below is my code. I am trying to get the second <td> tag in each row to expand so that there is more space between the input text box (1st <td> tag) and the name of the cookie and it's price (3rd <td> tag). Any ideas?

I thought colspan lets you tell a td to occupy the next td cells to the right and had not impact on actual pixel widths... Do you relaly have 90 or 40 columns in your table?
– Jared UpdikeFeb 17 '10 at 0:00

As @Jared implied, colspan is a count of columns, not a pixel width. There's a colspan=180 in there! Ouch!
– paviumFeb 17 '10 at 0:09

You are using the colspan tag incorrectly as others have pointed out. Take those out and start from there.
– Matt McCormickFeb 17 '10 at 0:11

@Jared, pavium & Matt - Thanks for pointing out my error in how I used colspan. I guess I thought I was using it right but obviously not. @Jared and @pavium- no I do not have 90,40, or 180 columns showing up. I just had it like that because it was the only way I could figure out how to increase the width of cells. Any ideas?
– AshleyFeb 17 '10 at 0:20

If you need more space between table columns, you can use CSS margin/width properties with any value suitable for you. I would highly discourage including html visual formatting in your html code, albeit if you do, take the time to learn the meaning of some html properties, as "colspan" does not specify the width between tds, but combines them into one td.

Replace the number with whatever width you want. Note that the columns will be the max size throughout the table. So if column 2 is 200px in row 1 and 300px in row 2, the column will end up being 300px in all rows.