Jump to content

Location within cell


ondi

Recommended Posts

As you can see http://www.walthamforest-fc.co.uk/stats/test.php the images appear in the correct area, but I would like to move them down slightly. (The badge, competition logo and match menu image)

I've been trying for a while now, but by using cellpadding i can't get the right end result as my background image is repeated.

Can anyone see where i'm going wrong? Here's my code: (a mixture of html and php)

 

echo"<center>

<TABLE 
  ALIGN=center
  BORDER=0
  CELLSPACING=0
  CELLPADDING=0>
<TR VALIGN=center  ALIGN=center>
<td background=\"http://www.walthamforest-fc.co.uk/stats/nextmatchleft.jpg\" width=\"150\" height=\"69\"><img src=\"/stats/images/smalls/$data[opp_id].jpg\"> <img src=\"/stats/comps/$data[type].jpg\"></TD>
<td background=\"http://www.walthamforest-fc.co.uk/stats/nextmatchright.jpg\" width=\"101\" height=\"69\"><img src=\"/stats/matchmenu.png\"></TD>
</TR>
</TABLE>
<TABLE 
  ALIGN=center
  BORDER=0
  CELLSPACING=0
  CELLPADDING=0>
<TR VALIGN=center  ALIGN=left>
<td align=\"center\" background=\"http://www.walthamforest-fc.co.uk/stats/bottomback.jpg\" width=\"251\" height=\"100\" colspan=\"2\">
$data[time]<br>
$data[type]<br>
$data[opp]<br>
HOME - $data[stadium]<br>
Kick off: $data[clock]<br></TD>
</TR>
</TABLE>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • 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.