Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


non repeating images in tables or cells



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
mjb



Joined: 13 Oct 2006
Posts: 1

PostPosted: Fri Oct 13, 2006 5:20 pm    Post subject: non repeating images in tables or cells Reply with quote

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
View user's profile Send private message
jdiddy



Joined: 30 Sep 2006
Posts: 3

PostPosted: Sat Oct 14, 2006 4:12 am    Post subject: Re: non repeating images in tables or cells Reply with quote

Add this code to the <td> tag with the background image:
style="background-repeat: no-repeat"
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap