| View previous topic :: View next topic |
| Author |
Message |
mjb
Joined: 13 Oct 2006 Posts: 1
|
Posted: Fri Oct 13, 2006 5:20 pm Post subject: non repeating images in tables or cells |
|
|
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> |
|
| Back to top |
|
 |
|
|
jdiddy
Joined: 30 Sep 2006 Posts: 3
|
Posted: Sat Oct 14, 2006 4:12 am Post subject: Re: non repeating images in tables or cells |
|
|
Add this code to the <td> tag with the background image:
style="background-repeat: no-repeat" |
|
| Back to top |
|
 |
|