Background image not working :(

  • mistaJussu
  • Born
  • Born
  • mistaJussu
  • Posts: 1

Post 3+ Months Ago

Hi. Im making my first website ever, and I have a problem. I set an image as a background for the page but the image isn't showing up. :cry: Im using Microsoft FrontPage 2003 and I have tried both .bmp and .jpg but nothing works. PLEASE HELP! :cry:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

Your post appears to be very vague which will only make it more difficult for someone to find a solution to.

I understand that because you are new to designing websites it may not be so easy to explain the problem.

If possible could you explain what steps you took in order to get the image to display. Do you have a live website where you can show us the problem? By live i mean is the website currently online or is it just on your computer?

In Frontpage it should show you some html code, could you copy and paste the code in a reply to this thread and someone on Ozzu should be able to help you out as soon as is possible.
  • samuel5212
  • Newbie
  • Newbie
  • samuel5212
  • Posts: 5

Post 3+ Months Ago

if possible, post your code here so someone could give their solutions.

good luck!
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

CSS for it:
CSS Code: [ Select ]
.class {
   background-image: url('path/to/image.jpg');
}
  1. .class {
  2.    background-image: url('path/to/image.jpg');
  3. }
I also don't recommend you use .bmp as not every browser supports it.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9089
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Also .bmp files are rather large in file size and not good for transferring on the internet via web pages. I would always avoid using .bmp files with web pages.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Bigwebmaster wrote:
Also .bmp files are rather large in file size and not good for transferring on the internet via web pages. I would always avoid using .bmp files with web pages.

Well... that too :P

GIF are pretty small in file size... (I think it's it though... may be jpg), but anyway... GIF or JPG is much more widely used in web sites.
  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

Use gif only if the file is a graphic and contains text on it somewhere. Use jpg only if it is a photo of some sort.
  • bishop_ian
  • Newbie
  • Newbie
  • bishop_ian
  • Posts: 14

Post 3+ Months Ago

For any html file you cant use an image which is stored on your computer ,you have to set your computer as a server so the image is directly accessed from internet.The images must be online.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 87 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.