Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Server Behaviors - Repeating Regions

Php

     

thanatos

3:58 am on Feb 8, 2009 (gmt 0)

5+ Year Member



I am creating php page that has a repeating region on it. I have it working the way I want it except instead of the repeat region repeating entirely on the y-axis I would like it to return results with two results on the x-axis (instead of one) and continue giving the results on the y-axis.

Like this:
XX
XX
XX
XX

Not:
X
X
X
X

Can anyone help me with this? Thanks in advance.

httpwebwitch

1:18 pm on Feb 11, 2009 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



apply this CSS style to each item:

width:50%;
float:left;

coopster

2:55 pm on Feb 11, 2009 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebmasterWorld, thanatos.

httpwebwitch is showing how you can style it, but are you asking about control structure (logic) before the data is presented? Perhaps like a counter to control how many lines of output? If it isn't style and the solution proposed does not work for you, we may need you to offer some further explanation.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month