Split Page Results into two columns?
hey all
So I have a page that displays selected product information triggered via a custom function on a report.
It shows the name of the product, price and image
the results are all under one another. How can I modify the code so the results display in two columns?
I.E
Product A Product B
Product C Product D
Product E
Etc
Thanks, here is my code:
- htmlpage ProductSample(empid)
- print = true
- pdf = true
- content
- <%{%> <h2>Mood Board</h2><%prodLst = input.empid.toList();
- for each prod in Add_Product [ID in prodLst]
- {%><%=prod.Product_Name%> <br> £<%=prod.Price%><br><%for each rec in prod.Product_Images
- {
- if (rec.Product_Image.contains("/sharedBy"))
- {
- x = rec.Product_Image.getSuffix("/image/");
- y = x.getPrefix("\" border");
- a = "https://creatorexport.zoho.eu/zoho_z/product-catalog/All_Products/" + prod.ID + "/Product_Images.Product_Image/image-download/" + y;%> <img src = <%=a%> border = "0"></img> <%}
- else
- {%><%=rec.Product_Image%> <%}
- }%> <br><br> <%}
- }%>