RE: Outputting columned UL tags

2008-08-15 Thread Jenny Gavin-Wear
to a question is a slap-down. Jenny From: Dave Phillips [EMAIL PROTECTED] Sent: 14 August 2008 19:02 To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Outputting columned UL tags Why does this matter and why are we wasting

Re: Outputting columned UL tags

2008-08-15 Thread Scott Stewart
: Dave Phillips [EMAIL PROTECTED] Sent: 14 August 2008 19:02 To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Outputting columned UL tags Why does this matter and why are we wasting bandwidth and time on this discussion? I'm sure that most people would agree that there are just some things

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
ULs and LIs are better for search engine optimization. ??? Plus they're better semantic code. ??? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
tables are not. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 9:00 AM To: CF-Talk Subject: Re: Outputting columned UL tags ULs and LIs are better for search engine optimization. ??? Plus they're better semantic code

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
So it's a little lighter, codewise, plus ULs and LIs are MEANT to display lists of things while tables are not. Frankly, I don't see your point. ULs and LIs are meant to display lists, right, but what you want to do is not a list, it is a TABLE, so why not use a table ? --

Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
I looks like Andy wants a list displayed in three columns. A table implies that that the first row contains a record of data with fields. I could have missed something, but the item at the top of column 1 is not related to the item at the top of column 2 or column 3. So it is just a 3 column list.

Re: Outputting columned UL tags

2008-08-14 Thread Ian Skinner
Claude Schneegans wrote: so why not use a table ? Or at least a table of lists. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
Aye... Got it working, thank you. Claude...this isn't really tabular data. It's simply a list of links. -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 9:48 AM To: CF-Talk Subject: Re: Outputting columned UL tags I looks like Andy wants

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
this isn't really tabular data. It's simply a list of links. This distinction is completely academic and irrelevant. The purpose of a table in HTML has never be to display data exclusively, but anything. HTML is a formating language, not a database facility. When you display things so they look

RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
a TABLE. Besides...TABLEs are for tabular data. Sure you CAN put other stuff into them, but that wasn't their original intended purpose. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 10:30 AM To: CF-Talk Subject: Re: Outputting columned UL

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
So even if I'm only saving a few characters, it's better than using a TABLE. Provided you know how to do it. If you have to ask other people, then you are creating your own problem, just for saving a few characters... Besides...TABLEs are for tabular data. Sure you CAN put other stuff into

RE: Outputting columned UL tags

2008-08-14 Thread Dave Watts
This distinction is completely academic and irrelevant. The purpose of a table in HTML has never be to display data exclusively, but anything. Well, no, that's not correct. Tables were intended to display tabular data. They weren't designed for generic layout uses, and as a result they're not

Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
On Thu, Aug 14, 2008 at 11:26 AM, Claude Schneegans [EMAIL PROTECTED] wrote: Besides...TABLEs are for tabular data. Sure you CAN put other stuff into them, but that wasn't their original intended purpose. IMO you are making a confusion between database tables and HTML tables. Just to agree

RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
, August 14, 2008 11:27 AM To: CF-Talk Subject: Re: Outputting columned UL tags So even if I'm only saving a few characters, it's better than using a TABLE. Provided you know how to do it. If you have to ask other people, then you are creating your own problem, just for saving a few characters

Re: Outputting columned UL tags

2008-08-14 Thread William Seiter
Andy, Beautiful news for you!!! You can use either method and your 'display' will be correct. Loop over a td in a table or loop over a li in a ul that is formatted through CSS. The CSS method's main benefit to users is that the code is 'accessible' to screen readers, but you will need to

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
then HTML tables are best used for database type information. No doubt about that. But the question here is should I use a table to output a list if I want it to look like a table, my answer is definitely YES. The only purpose on HTML is to define the layout of a page. If your layout requires

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
Tables were intended to display tabular data. Correct, then if you want a list to be displayed as a tabular data, use a TABLE. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this

RE: Outputting columned UL tags

2008-08-14 Thread Dave Phillips
-Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 12:55 PM To: CF-Talk Subject: Re: Outputting columned UL tags then HTML tables are best used for database type information. No doubt about that. But the question here is should I use

Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
On Thu, Aug 14, 2008 at 12:57 PM, Claude Schneegans [EMAIL PROTECTED] wrote: Tables were intended to display tabular data. Correct, then if you want a list to be displayed as a tabular data, use a TABLE. I hate to drag this out further, but there what if there was more to it than display?

Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
I hate to drag this out further Me too... -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Outputting columned UL tags

2008-08-13 Thread Andy Matthews
I'm looking to output a series of ULs and LIs in a 3 column fashion, like this: link1--link4--link7 link2--link5--link8 link3--link6 I've got code which lets me do it like this: link1--link2--link3 link4--link5--link6

Re: Outputting columned UL tags

2008-08-13 Thread Claude Schneegans
I'm looking to output a series of ULs and LIs in a 3 column fashion Why ULs? Isn't this more a table case? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

RE: Outputting columned UL tags

2008-08-13 Thread Dave Phillips
columned UL tags I'm looking to output a series of ULs and LIs in a 3 column fashion, like this: link1--link4--link7 link2--link5--link8 link3--link6 I've got code which lets me do it like this: link1--link2--link3 link4--link5

RE: Outputting columned UL tags

2008-08-13 Thread Andy Matthews
Not really, because these are links. ULs and LIs are better for search engine optimization. Plus they're better semantic code. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 3:02 PM To: CF-Talk Subject: Re: Outputting columned UL

Re: Outputting columned UL tags

2008-08-13 Thread Matt Williams
Try this out. myVar would be your quey record count or whatever. cfoutput cfset myvar = 24 cfset numColumns = 3 cfloop from=1 to=#Round(myvar/numColumns)# index=i link#i# - cfloop from=1 to=#numColumns# index=j cfset nextOut = i + Round(myvar/numColumns)*j /

Re: Outputting columned UL tags

2008-08-13 Thread Matt Williams
On Wed, Aug 13, 2008 at 3:03 PM, Dave Phillips [EMAIL PROTECTED] wrote: Andy, Check out Ben Nadel's blog entry from March last year: http://tinyurl.com/5tjcmf It looks like what I just sent you is the same idea as Ben Nadel's blog. Mine is just a lot less pretty with less line breaks and