It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

non repeating images in tables or cells

non repeating images in tables or cells

Postby mjb on Fri Oct 13, 2006 4:20 pm

Hi everyone,

Anyone know a trick to create this image as a background image in a table but not have the image repeat vertically or horizontally? Here's the code.

<HTML>
<HEAD>
<TITLE>Enter Page Title Here</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META name="generator" content="Trellian WebPage PRO">
<STYLE>
BODY{font-family:arial}
</STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff scroll=auto>
<P>
<TABLE height=21 cellSpacing=0 cellPadding=0 width=572 border=0>
<TBODY>
<TR>
<TD vAlign=top width=572
background="C:\Documents and Settings\Administrator\My Documents\Mark\My Websites\mjb webdesign\pic.jpg"
height=21>
<P></P></TD></TR></TBODY></TABLE></P>
</BODY>
</HTML>
mjb
 
Posts: 0
Joined: Fri Oct 13, 2006 4:11 pm

Postby jdiddy on Sat Oct 14, 2006 3:12 am

Add this code to the <td> tag with the background image:
style="background-repeat: no-repeat"
jdiddy
 
Posts: 3
Joined: Sat Sep 30, 2006 1:16 am


Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests