4 items per line

Results 1 to 2 of 2

Thread: 4 items per line

  1. #1
    Join Date
    Dec 1969
    Posts
    730

    Default 4 items per line

    I want to display images of some products, but I want to display four products per line.

  2. #2
    Jason Buck Guest

    Default RE: 4 items per line

    I hope this helps. I have a menu on my webpage where I only want 6 items across before breaking to a new line.<BR><BR>If not rstemp.eof then<BR>i = 0<BR> Do While Not rstemp.EOF<BR> if i = 6 or i = 12 or i = 18 then &#039 break the table if 6 items already on the line.<BR> response.write "&#060;/center&#062;&#060;center&#062;"<BR> end if<BR><BR><BR> PassClimat = rstemp("Climat")<BR> TestFile1 = rstemp("DocumentLink")<BR> HideFile = Server.UrlEncode(TestFile1)<BR> StrLink = "&#060;a href=&#039" & HideFile & "&#039&#062;" & rstemp("MenuItems") & "&#060;/a&#062;&nbsp;&nbsp;"<BR> Response.write strLink<BR> rstemp.movenext<BR> i = i + 1<BR> Loop<BR><BR>End IF<BR><BR>If this wasn&#039t quite clear, feel free to contact me.<BR><BR>Respectfully,<BR><BR>Jason<BR>webmaster @wnj.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •