[thelist] UL Wrapping

rudy limeback r937 at interlog.com
Fri Oct 27 22:58:39 CDT 2000


>I'm not sure if this went through to the list the first time -

>
>Is there a way to have an unordered list wrap around an image much like
>the way you can with standard text instead of placing the content into
>two table cells?

hi jay

yes, it did   ;o)

i think maybe the question was a bit deceptive, not that there was anything
really wrong with the way you asked the question, but at first glance it
seemed as though the "standard" way of doing it that you alluded to would
be the answer


<img align=left src=1pix_00c.gif width=50 height=50>
<ul>
<li><p>one potato</p></li>
<li><p>two potatos</p></li>
<li><p>three potatoes</p></li>
<li><p>four</p></li>
</ul>

sure enough, this works just as expected, the list starts off to the right
of the image and then wraps around back to the left margin when it gets
past the image

what if you want the list to start at the left margin and then flow around
an image part way through the list?  oh, this works okay too, but the most
amazing thing happens, in internet explorer 4 anyway -- the list bullets
disappear!  it looks like they are "under" the image, which is indented

<ul>
<li><p>five potatos</p></li>
<img align=left src=1pix_06C.gif width=20 height=20>
<li><p>six potatos</p></li>
<li><p>seven potatoes</p></li>
<li><p>more</p></li>
</ul>

i guess if you want the image part way down the list you'll have to "fake
it" with two lists

<ul>
<li><p>five potatos</p></li>
</ul>
<img align=left src=1pix_06C.gif width=20 height=20>
<ul>
<li><p>six potatos</p></li>
<li><p>seven potatoes</p></li>
<li><p>more</p></li>
</ul>


holler if this wasn't the answer you were looking for...


rudy
r937.com





More information about the thelist mailing list