I have this code for my HTML form and I'm using Twitter Bootstrap for my CSS.

    <form method="post" action="inquiry.php" class="form-horizontal">
        <label><font color="red">*</font> First Name:</label>
        <input name="firstname" type="text" class="input-large" value="<?php echo $firstname; ?>">
    ....
    .....
    </form>

My problem is my input boxes are shrinking. To make it more clear here is some screenshot of the CSS elements.

First Screenshot:

23

Second Screenshot:

14

I hope you can help.
BTW, I'm using Mozilla Firefox.

Recommended Answers

All 4 Replies

Member Avatar for LastMitch

have this code for my HTML form and I'm using Twitter Bootstrap for my CSS.

It has nothing to do with your HTML form it has something to do with your CSS code that is related to you form design.

So why do you the input boxes are shrinking after submitting the form?

Member Avatar for LastMitch

So why do you the input boxes are shrinking after submitting the form?

I mention this already it's in CSS file plus it's seem like you don't have enough space for the div container.

Can I have a link to page? maybe I can understand the problem better if you provide one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.