image in line?

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: macek, egami, gesf

techker
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Nov 04, 2007 8:05 pm

image in line?

Postby techker » Sun Apr 06, 2008 2:41 am

hey guys im trying to make my images on a page apaer in line horizontal?

but i always get them vertical???

link to see
http://silvergym.ca/supps2.php

code

Code: Select all


<body>
<table width="525" height="314" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><?php while ($info=mysql_fetch_array($QQQ1)) {?>
    <?php echo '<a href="/admin/photo/'. $info['bin_data'] .'" target="_blank">
<img src="/admin/photo/thumbs/'. $info['bin_data'] .'" border="0" alt="" style="display:inline" />
</a>
<br />'; ?>
    <? }?></td>
  </tr>
</table>

</body>

tsu4five
New php-forum User
New php-forum User
Posts: 10
Joined: Sun Mar 16, 2008 3:00 pm

Re: image in line?

Postby tsu4five » Sat Jun 07, 2008 12:19 pm

they are horizontal..
unless you mean that's just a site that shows how you would like your pictures to be :D
try skipping the <br />

btw, why do you put "/" after style="display:inline"?

techker
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Nov 04, 2007 8:05 pm

Re: image in line?

Postby techker » Sat Jun 07, 2008 12:22 pm

this was an old post.i fix what i wanted.

thx buddy!!


Return to “CSS”

Who is online

Users browsing this forum: No registered users and 1 guest

cron