Jump to content

Display objects in row without table in tpl


LexHammer

Recommended Posts

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!

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.