problem with firefox table alignment

i got this web page i am trying to write and i got a problem when viewing it via firefox i.e works fine,
it seems that the text box in the table cause the alignment of the previous rows to go crazy.
if i remove the <INPUT TYPE=text name="day"> line it works fine.
attached is my HTML
please take in mind that i am a newbe regarding HTML and web scripting
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

<tr> is not a block but a table row

So you need to replace every 'block' by 'table-row' such as = 'table-row';

Add the following code and it looks a lot better already :) It has to do with the display property you set with your javascript code. The code below 'solves' it for now, but you might want to look at it to fit it to your needs:

 display: inline-block;
 width: 200px;


Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
And like ronan said, you shouldn't use block on table rows, but the fix above (inline-block) is a fix 'for now'. Try to read more about the properties on the common sites like W3C:

Sorry for spam btw :)
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

sorry it doesnt work with IE

Better fix (tested FF and IE) : = ''; //  reset it rather than 'block' or 'table-row'

2 solutions:

a) = ''; // set to inherited style
b) = 'auto'; // set to default
RadwareAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.