Forums

width

quantz 17 Feb, 2011
Good evening,

Maybe can someone help me with the following problem. On my site http://plantennamen.infoyou can see a simple form. There is a space between the labels "Name,Email etc" and the textboxes. This spaces I have made with a lot of tabs ( ). But there must be a simple way to make a big space with no tabs. In the code you can see "width 150px" but that doesn't work. So does someone know witch css code (or something differant) I have to make to solve this problem?

Regards, Maarten
GreyHead 17 Feb, 2011
Hi Maarten,

It's past midnight here - too late to play 'hunt the form'. Please will you post a link to the page you want us to look at.

Bob
GreyHead 18 Feb, 2011
Hi Maarten,

I don't see any form on that page :-(

Bob
GreyHead 18 Feb, 2011
Hi Maarten,

You just have an odd mixture of CSS on the form, I think that some of the ChronoForms CSS is missing.

In particular the text-align: justify messes thing up. If you remove this from the form elements, add float:left to the input tags and
label {
    color: #8E8E8E;
    display: inline-block;
    float: left;
    text-align: left;
    width: 150px !important;
}

to the tables then it is more or less OK.

Bob

PS accumulating tabs and spaces doesn't do much in HTML unless you use non-breaking spaces they will just be reduced to a single space.
This topic is locked and no more replies can be posted.