On 03/10/2006 00:15, Deckard wrote:
>
> But as you can see, the lines are one line below the text :(
> The mind bogles :(
>
> http://www.wordlife.eu/wizard.php
Floating elements makes them sit adjacent to the object below them in
the markup, so a simple fix would be to place the inputs above their
labels in the markup.
A better fix would be to add a negative margin-top to the inputs:
.oneField input {
margin-top: -1.4em;
}
And make sure you force the containing spans to "float contain" the
elements (although you should be using block level elements, since
inline elements are invalid in XHTML Strict):
http://www.ejeliot.com/blog/59
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/