Whats wrong with my CSS?
Posted
by William
on Stack Overflow
See other posts from Stack Overflow
or by William
Published on 2010-03-13T17:52:08Z
Indexed on
2010/03/13
17:55 UTC
Read the original article
Hit count: 122
I'm trying to get my name and trip input fields to line, but they're all over the place. http://prime.programming-designs.com/test_forum/viewboard.php?board=0
#formdiv{
margin: auto;
text-align: left;
width: 30%;
}
.fielddiv1{
background-color: #222222;
border: 2px solid #333333;
vertical-align: middle;
width: 45%;
float: left;
}
.fielddiv2{
background-color: #222222;
border: 2px solid #333333;
vertical-align: middle;
width: 100%;
}
.fieldtext{
width: 100%;
background-color: #333333;
}
© Stack Overflow or respective owner