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 August 25th, 1999, 03:20 AM
mrtesting
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
how to format a jpg file to fit as a body background image ?

i am trying to put a image in the

<body background="book.jpg">

but the image appears only partially.
The top left side since it's height is so tall appears and it also appears on the right.

but the bottom side did not appear at all.

what size shoud i put it as ?

Reply With Quote
  #2  
Old September 29th, 1999, 06:22 AM
Ranj
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hi...when you use an image as the background for a page it gets tiled automatically. Thus in 640*480 you may see an image partially, while at 800*600 it may be centered but in larger windows it will get tiled.

So design an image as well as the html page such that it fits exactly without having scroll bars etc.

Reply With Quote
  #3  
Old October 15th, 1999, 06:19 AM
Faz
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Or better, create a little tile for your page. This pic will be of small size (2 kB)and it will create a solid background with no lines or white spaces.
Don't create a page that is dependent on the user's screen resolution (or when you do, make a script that will redirect to the correct page according to the screen res).
You can create a tile with e.g. Adobe Photoshop (filter -> other -> tile maker)

Reply With Quote
  #4  
Old January 15th, 2000, 07:42 AM
Pelt Pelt is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Location: Oslo, Norway
Posts: 1 Pelt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mrtesting:
how to format a jpg file to fit as a body background image ?

i am trying to put a image in the

<body background="book.jpg">

but the image appears only partially.
The top left side since it's height is so tall appears and it also appears on the right.

but the bottom side did not appear at all.

what size shoud i put it as ?
[/quote]

Answer:

Depends on the resolution on the screen of those who are watching it...
Try to set your own screen resolution to 800x600 to be shure it is looking good also for those with that low resolution. Make the jpg as big as you want it, then add the following text in your HTML source (somewhere in between the <head> and </head>:

<style>
<!--
BODY {background-image: url(book.jpg); background-repeat: no-repeat; }
-->
</style>

Be shure to change the "book.jpg" -part with the name and path of your jpg, if it has another name (and another path)...

Then your background jpg will show only once...

Hope that helped you out.


------------------
Pelt

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > how to format a jpg file to fit as a body background image ?


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 3 hosted by Hostway