I figured it out.
In case you're wondering, I simply switched the spanned section
and the floats.
<caption>
<span>Loan Amount Restricted by Tier LTV Maximum ?</span>
Yes ==> Lower The Loan Amount
</caption>
caption {
float:right;
text-align:right;
}
caption span {
float:left;
text-align:left;
}
Thanks to Ron who pointed me in the right direction.
Marc Luzietti
Flagship Project
Bayview Financial, L.P.
(305) 341-5624
Marc Luzietti
02/07/2006 10:55 AM
To: [email protected]
cc:
Subject: Floating in with the tide
When I try and float right something in the same element
as something not floated, the line always breaks, i.e.,
<caption>
Loan Amount Restricted by Tier LTV Maximum ?
<span>Yes ==> Lower The Loan Amount</span>
</caption>
with the following CSS:
caption {
text-align:left;
}
caption span {
float:right;
}
Is there an elegant way to get them to line up without using
margin-top: -1.3em for the caption span?
Marc Luzietti
Flagship Project
Bayview Financial, L.P.
(305) 341-5624
______________________________________________________________________
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/