| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Aug 2009
Posts: 133
|
numbers in while loop
Hi, I have a list of logos, 6 across and 3 down. What I want to do is add a style with no margin on the 1st, 7th and 13th item. I've achieved this using the code below. In case more logos are added I want to be able to achieve it without stating the rownum, e.g. PHP Code:
PHP Code:
Would someone be able to help? Thanks in advance Wayne |
|
|
|
![]() |
|