[thelist] how to set text-flow in css

Lonnie Kraemer lwkraemer at earthlink.net
Thu Jan 23 20:18:01 CST 2003


> > In a table it would look like this:
> > <table><tr><td valign="top">* </td><td>hello this is some long
> > text.</td></tr></table>
> >
> > Any idea how to do this with css?
>
> You've got two <td>'s so why not use two <div>'s instead?
>
> <div style="color:red; float:left;">*</div>
> <div style="color:blue; border:1 solid black; float:left;
width:400px;">hello this is
> some longhello this is some longhello this is some longhello this is
some
> longhello this is some longhello this is some longhello this is some
longhello this
> is some longhello this is some longhello this is some longhello this
is some
> longhello this is some longhello this is some long</div>

because ALL non-implicit floats require a width. * does not own an
implicit width.




More information about the thelist mailing list