CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 how to create custom separator?

Print topic Send  topic

Author Message
DeRyl
Posted: 10/19/2004, 1:38 AM

hello,

I have grid component called "competition"

the html structure is just like that:

<!-- BEGIN Grid competition --><font class="td_titles">choose competition:</font>   
      <table border="0" width="100%" cellspacing="0" cellpadding="2">  
        <tr>  
          <!-- BEGIN Row -->  
          <td><input type="checkbox" value="1" name="{league_Name}" {league}></td>   
          <td>{idn} {descr}</td>  
          <!-- END Row -->  
          <!-- BEGIN Separator --><td bgcolor="#ffffff" width="1"></td><!-- END Separator -->   
        </tr>  
       </table>  
 <!-- END Grid competition -->

all I want is to break line [next <tr>...] after each 3 rows from recordset

I need somethink like this:

data1 data2 data3
data4 data5 data6
data7 data8 data9
...

how to create such "custom separator - line break" in this table?
and how to create a required code?

can anyone help me?

with best regards
DeRyl
DonB
Posted: 10/24/2004, 5:10 PM

You might try a table with a fixed width (let's say 600 px). then have one
<TR><TD>...</TD></TR> (a table with one large cell). Instead of generating
the "row" values in <TD> blocks, make them a <DIV width='200'>.

You should see the page fit the <DIV> blocks 3-across.

--
DonB

http://www.gotodon.com/ccbth


"DeRyl" <DeRyl@forum.codecharge> wrote in message
news:64174d28ed01c0@news.codecharge.com...
> hello,
>
> I have grid component called "competition"
>
> the html structure is just like that:
>
>
<!-- BEGIN Grid competition --><font class="td_titles">choose  
> competition:</font>  
>       <table border="0" width="100%" cellspacing="0" cellpadding="2">  
>         <tr>  
>           <!-- BEGIN Row -->  
>           <td><input type="checkbox" value="1" name="{league_Name}"  
> {league}></td>  
>           <td>{idn} {descr}</td>  
>           <!-- END Row -->  
>           <!-- BEGIN Separator --><td bgcolor="#ffffff"  
width="1"></td><!-- END  
> Separator -->  
>         </tr>  
>        </table>  
>  <!-- END Grid competition -->
>
> all I want is to break line [next <tr>...] after each 3 rows from
recordset
>
> I need somethink like this:
>
> data1 data2 data3
> data4 data5 data6
> data7 data8 data9
> ..
>
> how to create such "custom separator - line break" in this table?
> and how to create a required code?
>
> can anyone help me?
>
> with best regards
> DeRyl
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.