HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
prevent cutting of background images in td cell of table
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
ing0



Joined: 14 Jan 2005
Posts: 2

PostPosted: Fri Jan 14, 2005 4:20 am     prevent cutting of background images in td cell of table Reply with quote

Yeah, u heard it right

It's about this background image side.jpg



This is the site

http://wargod.atspace.com/Template.htm

And this is the code of the "News:" cell

Code:

<table border=0 width="100%">

<tr>
<td width="4%" height=20>
&nbsp;
</td>
<td width="92%" height=20>
&nbsp;
</td>
<td width="4%" height=20>
&nbsp;
</td>
</tr>

<tr>
<td width="4%" height="100%" background="side.jpg">
&nbsp;
</td>
<td width="92%" height="100%">

<BR>
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="350" HEIGHT="200" id="jumpingonplane" ALIGN="">
 <PARAM NAME=movie VALUE="jumpingonplane.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="jumpingonplane.swf" menu=false quality=high bgcolor=#FFFFFF  WIDTH="350" HEIGHT="200" NAME="jumpingonplane" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</center>
<BR>
<center><strong>*** Welcome to the WaR GoDs main site! to join simply click the link to your left. ***</center></strong>
</br>
<p>
<center><strong>News and events.</strong><p><strong><font color="#E4D1B2">
All clan members must sign up to
clanbase.com! Read [LT] Ingos post in the information section in the forum for
more details. All of you must do this!</font></strong></p>
<p><strong>We are now part of call of duty Infobase.</strong></p>
<p><strong>Ranks revised! look in the members section for more details.</p>
</center></srtong>

<p>New Teamspeak server up and running: IP 81.106.207.207:8767. Enjoy :p.</p>
</br>
<p>All new members must first contact one of the Generals of the clan.
To find out there contact information please click on the members list to your left.</p>
</br>
<p>Practice day set at the moment is every Sunday at 7. All come to Ts/Xfire. The practice will go roughly for about 1 hour.</P>
If you cant make it its not a problem.
</br><p>New members will have there Teamspeak password emailed to them within 24 hours of joining. If this doesn't happen please tell in the generals part of the forums.</p>
</br><p>New forums added to site :p. hopefully the link works. Please feel free to chat away.</p>
</br><p>Last updated: 12/01/05 By Profit</p>

</td>
<td width="4%" height="100%" background="side.jpg">
&nbsp;
</td>
</tr>

<tr>
<td width="4%" height=20>
&nbsp;
</td>
<td width="92%" height=20>
&nbsp;
</td>
<td width="4%" height=20>
&nbsp;
</td>
</tr>
</table>


This code is a 3x3 table

So i have 4 edge cells, 4 corners and 1 cell in the middle for the content.
If you look on the site u see the side.jpg background image repeated several times, but the table resizes to the middle cell content. And the side.jpg is 20 pixels in height.
So if the major content cell would be 196 pixels in height, u see the side.jpg repeated 9 times and the 10th time the image got cut of, and i don't want that because i'm making corners and top and bottom edges so all the edges and corners connect like one whole. And if a image got cutted off it won't match.

So i could preset the size of the major content to something *x20. But if i edit the major content i allso have to figure out each time how many background side images i need.

Is there any (easy) way to overcome this.[/code][/url]
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial