LexHammer Posted February 2, 2011 Share Posted February 2, 2011 Hello, I want to make a list with 2 columns on one of my pages with link to categories on my page. But they appear in only one column (on below the other) and i want them to be like: Pictures Videos Pictures2 Videos2 These are my codes <li> <a href="user_album_add.php">Pictures</a> <li> <a href="user_album2_add.php">Pictures2</a> <li> <a href="user_video_add.php">Video</a> <li> <a href="user_video2_add.php">Video2</a> What should i do? Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/226464-display-objects-in-row-without-table-in-tpl/ Share on other sites More sharing options...
jamesxg1 Posted February 2, 2011 Share Posted February 2, 2011 Hello, I want to make a list with 2 columns on one of my pages with link to categories on my page. But they appear in only one column (on below the other) and i want them to be like: Pictures Videos Pictures2 Videos2 These are my codes <li> <a href="user_album_add.php">Pictures</a> <li> <a href="user_album2_add.php">Pictures2</a> <li> <a href="user_video_add.php">Video</a> <li> <a href="user_video2_add.php">Video2</a> What should i do? Thank you! This is not PHP this is a CSS/HTML issue, but try something like this. <table border="0" width="250" cellpadding="3" cellspacing="3"> <tr> <td><a href="user_album_add.php">Pictures</a></td> <td><a href="user_video_add.php">Video</a></td> </tr> <tr> <td><a href="user_album2_add.php">Pictures2</a></td> <td><a href="user_video2_add.php">Video2</a></td> </tr> </table> James. Quote Link to comment https://forums.phpfreaks.com/topic/226464-display-objects-in-row-without-table-in-tpl/#findComment-1168892 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.