Split database content.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Andrewrun
Forum Newbie
Posts: 7
Joined: Fri Dec 26, 2008 12:46 pm

Re: Split database content.

Post by Andrewrun »

Code: Select all

 
#ccol-one {
float: left;
width:445px;
height: auto;
margin: 10px 0px 0px 0px;
text-align: left;
background-color: aqua;
}
 
#ccol-two {
width: 445px;
height: auto;
margin-left: 455px;
background-color: gray;
}
 
 
Try something like this for the CSS. Basically, you're floating the first column on the left and then giving the second column a margin on the left so that it sits next to the first column. You can play around with numbers to get the desired effect.
newphpnoob
Forum Newbie
Posts: 9
Joined: Tue Dec 23, 2008 3:24 am

Re: Split database content.

Post by newphpnoob »

Oh sweet so the changed I did works just how you mentioned it. :)
newphpnoob
Forum Newbie
Posts: 9
Joined: Tue Dec 23, 2008 3:24 am

Re: Split database content.

Post by newphpnoob »

Thank you very much. Everything worked. :)
Post Reply