Re: Results table formatting

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53573
interpreted = N
texte = Hi Gary, working late on Fri. night eh? I'm not sure of the results your looking for but: [search db=....] [founditems] [showif [index]\2][hideif [index]=[numfound]][/hideif][/showif] [/founditems]
[title]
[tagline]
[/search] The problem with this setup for me is that if you have lots of data in one table and little in the other, then the tables get wierd... ie: ____________________________________ |sadfasdfasdfasdfs|asdfdasdfa | |asdfasdfasdfasdfa|asdfasdfas | |asdfasdfasdfadfas| | |asdfasdfasdsdfsdf| | |asdfasdfasdfsadfs| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |_________________|_________________| |asdfasdadf |asdasdfasdfasdasd| |aasdfadfasd |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| |_________________|_________________| Something like that. I guess I shouldn't use tables if I want the next block of data to align right under the block above it. Maybe I need to learn CSS better? Donovan Gary Krockover wrote: > Ok, easy enough to have a table split after 2 cells into a new row based > on if the index is divisible by 2. However, I need to do the same with > a table that has 2 's. I can't get it to split properly. This > isn't working: > [search db=....] > > > [founditems] > > [showif [index]\2][/showif] > [/founditems] > > [founditems] > > [showif [index]\2][/showif] > [/founditems] >
> [title] >
>
> > [tagline] >
>
> [/search] > > I know I just don't have my splits in the right place, but can't put a > finger on it. Help anybody? > > Thanks! > GK > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Results table formatting ( Gary Krockover 2003)
  2. Re: Results table formatting ( Donovan Brooke 2003)
  3. Re: Results table formatting ( Gary Krockover 2003)
  4. Results table formatting ( Gary Krockover 2003)
Hi Gary, working late on Fri. night eh? I'm not sure of the results your looking for but: [search db=....] [founditems] [showif [index]\2][hideif [index]=[numfound]][/hideif][/showif] [/founditems]
[url][sku][/url]">[title]
[url][sku][/url]"> [tagline]
[/search] The problem with this setup for me is that if you have lots of data in one table and little in the other, then the tables get wierd... ie: ____________________________________ |sadfasdfasdfasdfs|asdfdasdfa | |asdfasdfasdfasdfa|asdfasdfas | |asdfasdfasdfadfas| | |asdfasdfasdsdfsdf| | |asdfasdfasdfsadfs| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |asdfadfasdfadsfad| | |_________________|_________________| |asdfasdadf |asdasdfasdfasdasd| |aasdfadfasd |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| | |asdfasdfasdfasdfa| |_________________|_________________| Something like that. I guess I shouldn't use tables if I want the next block of data to align right under the block above it. Maybe I need to learn CSS better? Donovan Gary Krockover wrote: > Ok, easy enough to have a table split after 2 cells into a new row based > on if the index is divisible by 2. However, I need to do the same with > a table that has 2 's. I can't get it to split properly. This > isn't working: > [search db=....] > > > [founditems] > > [showif [index]\2][/showif] > [/founditems] > > [founditems] > > [showif [index]\2][/showif] > [/founditems] >
> [title] >
>
> > [tagline] >
>
> [/search] > > I know I just don't have my splits in the right place, but can't put a > finger on it. Help anybody? > > Thanks! > GK > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Pricing (1998) 3RD POST Character limit in [Search]? (1998) For those of you not on the WebCatalog Beta... (1997) Trouble with formula.db (1997) WCS Newbie question (1997) [WebDNA] WebDNA Roll Call (2013) Two options to consider (2008) problem: mail changed (1997) Listserver problem (1997) Replacing a variable within a variable. (1998) Odd