As was explained in an earlier e-mail, you need an set of UL tags around the
LI tags.

<tr>
  <td>
        <UL><!--- HERE --->
   <cfoutput query="deals"><li list-style-position:
outside;>#deals.PA_CATEGORY#</li>
        </UL><!--- HERE --->
  </td>
</tr>

If you don't want the extra white space that the UL provides you can control
it with CSS
<UL style="margin-top: 0;"> will remove all white space from above generated
by the UL.  Be careful <UL style="margin:0;"> will remove all the margins
and you will have a format just like what you are experience now.  The left
margin of the UL is were the bullets live, and if you remove all of it you
get generally unpleasant results.

--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 8:57 AM
To: CF-Talk
Subject: Formatting a List Output Question


Morning,

Got a list problem that's driving me crazy!  This is probably more a CSS
question than Cold Fusion....

I'm trying to output the results of a query into a list. No problems there,
but the formatting is driving me nutz.  The list wraps wrong.  What I'm
getting (using a "*" as the bullet for example here only...

* Item One
* Item Two is long
and wraps under the bullet
*Item Three is long
and wraps under the bullet

What I'm trying to get:

* Item One
* Item Two is long
  and wraps this way
* Item Three is long
  and wraps this way

So, shouldn't the below do what I want?

<tr>
  <td>
   <cfoutput query="deals"><li list-style-position:
outside;>#deals.PA_CATEGORY#</li>
  </td>
</tr>

Of course, I could use a graphic and a two column table....but that doesn't
seem like the best way to go...

I've tried all sorts of CSS tricks, but nothing seems to fix the problem.
Ideas?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to