No image

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
5digits
-


Joined: 19 Aug 2006
Posts: 17

PostPosted: Sat Aug 19, 2006 7:45 am    Post subject: No image Reply with quote

I dont know what is the problem actually. Has I want to publish my website on the net, I have put the index.html and images under htdocs folder.

When I visit 127.0.0.1 only my black background appears but not the image? How could I fix this problem?
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sat Aug 19, 2006 9:20 am    Post subject: Reply with quote

Fix your HTML code.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Aug 19, 2006 12:07 pm    Post subject: Reply with quote

The body-tag should look like this:
Code:
<body background="images/your-bg.png">

Sure, you could do it with CSS as well, but I perfer the old style.
Back to top View user's profile Send private message
abyssisthebest
-


Joined: 30 Jun 2005
Posts: 319
Location: Boston, UK

PostPosted: Sat Aug 19, 2006 1:06 pm    Post subject: Reply with quote

The code for CSS is:
Code:

body{
  background-image:url("./images/bg_image.gif");
}

_________________
My online Portfolio
Back to top View user's profile Send private message Send e-mail MSN Messenger
5digits
-


Joined: 19 Aug 2006
Posts: 17

PostPosted: Sat Aug 19, 2006 6:36 pm    Post subject: Reply with quote

Thank you guys! I solved this issue just by publishing the website directly to the htdocs. :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
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


Powered by phpBB phpBB Group