Re: [css-d] Floated blocks inside list items
On 6/23/05, Philip Wills <[EMAIL PROTECTED]> wrote: > Hi Mike, > > The following appears to work at least for the small test case: > > li {clear: both; border: 1px solid white;} > .question { margin-right: 200px; } > .button { width: 15%; float:right; } Phil, That border did the trick. I don't begin to know why (even tried other methods of giving the item "layout" in IE, like height. Much appreciated! __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Floated blocks inside list items
Hi Mike, The following appears to work at least for the small test case: li {clear: both; border: 1px solid white;} .question { margin-right: 200px; } .button { width: 15%; float:right; } Question text Without the border the question text drops down in IE and if you put any width, or float the question then the numbers disappear. Hope that helps. Phil Wills __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Floated blocks inside list items
On 6/20/05, Jason Mark Roehrig <[EMAIL PROTECTED]> wrote: > Mike wrote: > > >li div { float: left; } > > > Change to: > > li div {display:inline;} thanks for the response. However, that wouldn't produce the desired result. that would just make the button appear at the end of the question text because the divs wouldn't be blocks anymore. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Floated blocks inside list items
Mike wrote: li div { float: left; } Change to: li div {display:inline;} __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/