Jump to content

Recommended Posts

Posted

Hi

I am trying to get a row of 3 screen shots on my site. To do this I know the code needs placing in 3 times,

<?php Screenshots::show_random_screenshot(); ?>

But is there a tag I need to place in to go across the site instead of down in a column. I'm a complete php noob so any help is appreciated. thanks

Screenshot1 Screenshot2 Screenshot3

Posted

You could put them in a table. Something like:

<table align="center" width="100%"border="0" cellspacing="3" cellpadding="3">
 <tr>
   <td align="center"><?php Screenshots::show_random_screenshot(); ?></td>
   <td align="center"><?php Screenshots::show_random_screenshot(); ?></td>
   <td align="center"><?php Screenshots::show_random_screenshot(); ?></td>
 </tr>
</table>

That's what I would do, at least. I'm sure there is a better way...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...