Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 9th, 2004, 08:11 PM
jamesbak jamesbak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 124 jamesbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 26 sec
Reputation Power: 5
Full size Image as Background??

Is it possible to make a full size image a background of (say) a cell which is the same size as the image itself.

I would like to make a cell that is 540X125 and have an image the same size be the bg so that I can add things on top without ever having the image fill out the cell if at all the cell size changes.

Another way I can put this question is: Is it possible for me to have a single image as a background of a bigger table cell without having the pic filling and covering the whole table cell with itself?

Thanks!

Reply With Quote
  #2  
Old April 10th, 2004, 02:29 PM
wilfred's Avatar
wilfred wilfred is offline
user interface specialist
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: NL
Posts: 63 wilfred User rank is Private First Class (20 - 50 Reputation Level)wilfred User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 15 h 49 m 38 sec
Reputation Power: 5
yep, you can

I suggest you use CSS to do it...
the css may go like;
Code:
<style type="text/css">
<!--
.background
	{
	text-align: left;
	background-attachment: fixed;
	background-image: url(http://www.wnas.nl/images/bg_bike.gif);
	background-repeat: no-repeat;
	background-position: 20px 20px;
	vertical-align: top;
	
	}

-->
</style>


And attach it to a cell like this,

Code:
<td width="200" height="400" class="background">Content stuff<br /> here</td>


I hope it helps, if not please post again, I may not have understood the question correctly
__________________
Pixely gfx and tiny type does not a designer make...

www.wnas.nl/

Reply With Quote
  #3  
Old April 11th, 2004, 09:20 AM
jamesbak jamesbak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 124 jamesbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 26 sec
Reputation Power: 5
Thank you for replying!
I have never used css but I believe I just put that code in the <head> of my doc and call it as you specified in the <td>; is that it?

Basically what I was trying to achive is have some text or other graphics appear over a header. Please check it over here www.ariseuganda.org/over.htm please advise is this will remain stable because if for some reason it behaves differently things can look really ugly. There, p'se notice that the blue header actually appears as a bg and that stuff on top of it is actually content in the cell. That is the kind of concept I want to use.
Thanks for your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Full size Image as Background??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway