PDA

View Full Version : Images won't appear?




ComicStix
Sep 13, 2009, 01:17 PM
On my first website that I am making http://readysetskateboard.netau.net/index.html
My images will not show up. I have an image of a skateboard and it won't show up and I have a background image that won't show up. I coded it and then looked at design view in Dreamweaver and my images showed up but now they won't when I put the site online. I had a root directory and then I put the images in images folder in the root directory folder. I changed the links and everything but they STILL won't work. Can you guys help me out?

Troublesome code with the pictures:

1.body {
background-image: url(Images/bluepurplestripe.gif)
}

2.<img src="Images/skateboard.jpg" alt="Skateboard" width="250" height="200" align="middle" />



bootedbear
Sep 13, 2009, 02:50 PM
I can't see the site, but a few things to check:

Is the CSS stylesheet in the same folder as the HTML? The relative reference in the CSS file will be relative to that file, not the including HTML file.

"images" or "Images"? Case sometimes counts.

Cerebrus' Maw
Sep 13, 2009, 06:07 PM
1.body {
background-image: url(Images/bluepurplestripe.gif)
}


Try changing this to:


body {
background-image: url('Images/bluepurplestripe.gif');
}


Edit: It also have something to do with the fact that your site is under review. Wait till the site is Live, and then check again.

ComicStix
Sep 14, 2009, 06:27 PM
Try changing this to:


body {
background-image: url('Images/bluepurplestripe.gif');
}


Edit: It also have something to do with the fact that your site is under review. Wait till the site is Live, and then check again.

How do I get the site live?

Cerebrus' Maw
Sep 14, 2009, 07:14 PM
How do I get the site live?

It seems fine now, but when I first visited, there was a warning (probably by your host) saying that the site was under review to make sure it met the policies of the hosting company.

Seems fine now, though. Hope you solved your problem?