arkadaşlar ürün kategorileri listeletmeye çalışıyorum fakat sayfada istediğim şekilde görünmüyor. uğraştım ama beceremedim ve yardım istiyorum. kodlar aşağıdaki şekilde ve ekran çıktısını da koydum. benim istediğim resimlerin yan yana gelmesi ve üst sıra dolduğunda altından devam etmesi. yardımcı olursanız sevinirim
<% page=request.querystring("page") if page="" then page=1 end if
SET RS=Server.CreateObject("ADODB.Recordset") SQL="SELECT * FROM Groups WHERE status=1 order by groupID ASC" RS.open SQL,Conn,3,1 RS.pagesize=39 if RS.RecordCount<>0 then RS.AbsolutePage=page
%> <% if NOT RS.EOF then %>
<div id="urunkategori"> <%for i=0 to Int(RS.RecordCount/1)%> <% for j=1 to int(RS.pagesize/13) %> <% if not RS.EOF then %> <% count=count+1 %> <% if RS("image1")<>"" then%>
<a href="urunListele.asp?groupID=<%=RS("groupID")%>&name=<%=RS("xname")%>"> <img src="images/grup/<%=RS("image1")%>" width="210" border="0" /> </a> <% end if %> <br /> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=87127129&url=urunListele.asp?groupID=<%=RS("groupID")%>&name=<%=RS("xname")%>" data-href="urunListele.asp?groupID=<%=RS("groupID")%>&name=<%=RS("xname")%>"> <%=RS("name")%></a> </div> <% if count mod 6<>0 then%> <% if RS.RecordCount="1" then %> <% if count<>"1" then%> <%end if%> <%else%> <%end if%> <%end if%> <% RS.MoveNext %> <% end if %> <% next %> <%next%> <%end if%> </div>
Ekran çıktısı --> https://store.donanimhaber.com/71/13/be/7113be0ee3065e867809efcd45a1c3fc.jpg
< Resime gitmek için tıklayın >