Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Background image not showing up
Old 10-27-2008, 10:58 AM Background image not showing up
Junior Talker

Posts: 1
Name: Anne
Trades: 0
Hi, gang. I'm new here so go easy on me! I updated my pages with a background image for the first time.
http://www.annemade-jewelry.com/index.htm
All the pages get their background info from that page.

This is what the page should look like.

The floral background image shows up in IE7 on my computer, so I went ahead and published the site only to find out that the background image isn't visible on my husband's computer (also IE7) or in Firefox.

It's a .jpg but I tried saving it as a .gif and it appears no different:
http://www.annemade-jewelry.com/index2.htm

Thanks for your help!
Anne
AnneMade is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-27-2008, 11:17 AM Re: Background image not showing up
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
This line in the <body> tag:
HTML Code:
background="file:///C:/Documents%20and%20Settings/Anne/My%20Documents/My%20Webs/floralpattern.jpg"
doesn't work, because that is relative to the file system on your computer, not the file system on your webserver.

On a website, you need either an absolute path (ie http://mywebsite.com/images/image.jpg) or a relative path (/images/image.jpg). If you put a slash at the beginning of the path, it will start looking from the root directory of your site, if not, it will start from the directory the current document is in.

I highly recommend you not use FrontPage to generate sites: it is generally a very bad application, and has been discontinued by Microsoft.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 10-27-2008 at 11:18 AM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 11-02-2008, 07:35 PM Re: Background image not showing up
Skilled Talker

Posts: 52
Name: Morten
Trades: 0
Hi AnneMade,

I was checking your site out, and It seems like you havent solved the problem.
You code looks like this:

<body bgcolor="#FFFFFF" text="#666633" link="#666633" vlink="#666633" alink="#666633" background="floralpattern.gif" style="text-align: center">

floralpattern.gif, I know you tried to save it as gif, but it's not working. Is the floralpattern.gif/.jpg laying in the root? Or is it laying in a map, example: images/floralpattern.gif ?
__________________
- Do Nothing!
- Get Nothing!

Please login or register to view this content. Registration is FREE
Rotco88 is offline
Reply With Quote
View Public Profile
 
Old 11-04-2008, 10:47 AM Re: Background image not showing up
Experienced Talker

Posts: 34
Trades: 0
I would recommend doing this using CSS.

.bg-pic {
background: URL("/images/floralpattern.gif") no-repeat;
width: whatever;
height: whatever;
}

You can take out the "no-repeat" and the width and height if you want it to tile.
__________________

Please login or register to view this content. Registration is FREE
pingeyeg is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Background image not showing up
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.48225 seconds with 12 queries