Built my first website but now im having problems!!!!

Associate
Joined
28 Dec 2002
Posts
2,400
Location
Northern Ireland
Hi guys,
I have just built my first website Check it out, If you follow the Jargon buster link on the right and scroll down to motherboard and then click it, it should have a picture in there?

I am making this in dreamweaver 8 and everytime i try to put a picture onto this page it says the following:

This file is outside of the root folder of site "Main Website" and may not be accessible when you publish it.

Your Root folder is:
C:\Documents and Settings\Stuart\Application Data\Macromedia\Dreamweaver 8\Configuration\Serverconnections\MainWebsite

Would you like to move it there now?


This is not the correct location and nothing is there when i go to it. I have all the website files neatly assorted into files and folders.

E.G. for the mother board link its located in:
Main Company Website\Jargon Buster Files\JB_M\Motherboard.html

The picture is stored in:
Main Company Website\Images\Motherboard (WinCE).png

The code looks like this in dreamweaver:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ADSL</title>
<style type="text/css">
<!--
.style1 {
font-family: Calibri;
font-size: 24px;
}
#Layer1 {
position:absolute;
width:104px;
height:95px;
z-index:1;
left: 635px;
top: 410px;
}
#Layer2 {
position:absolute;
width:751px;
height:514px;
z-index:2;
left: 10px;
top: 53px;
}
#Layer3 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 128px;
top: 35px;
}
#Layer4 {
position:absolute;
width:200px;
height:115px;
z-index:3;
left: 150px;
top: 75px;
}
#Layer5 {
position:absolute;
width:200px;
height:115px;
z-index:3;
left: 111px;
top: 59px;
}
-->
</style>
</head>

<body>
<div align="center" class="style1">Motherboard</div>
<div id="Layer2">
SADSDFASDFA;SDKFJ;ASLKDJF;ASLKDJF;ASLKDJF;ASLKDJF;ALSKJFD;ALSKDJF;LAKSD;FASDF
<div id="Layer5"><img src="file:///E|/Dreamweaver Files/Main Company Website/Images/!_logo.jpg" width="215" height="144" /></div>
</div>
</body>
</html>

It show all the text ok but not the picture what could be the problem
 
Last edited:
<img src="file:///E|/Dreamweaver Files/Main Company Website/Images/!_logo.jpg" width="215" height="144" />

Doesn't look right to me. Would be something like

<img src="Images/!_logo.jpg" width="215" height="144" />

Would work.. Link is relative to where the index file is, the link doesn't work for me too.
 
just tried changing it to what you suggested mate and still doesnt work?

Could it be something to do with the fact i have to many folders??
 
Not linking to it properly by the looks of it. Its linking to a local file on your computer rather than a web address. Websites down though so i've only looked at the code.
 
thats the linky working now sorry i got the address wrong :p .
Not linking to it properly by the looks of it. Its linking to a local file on your computer rather than a web address. Websites down though so i've only looked at the code.
I have uploaded everything via cuteftp and never got that problem before
 
Wardie said:
What's with all the weird frames?

As i said this is my first go at this, having absolutly no experience before in this i dont think i have done to bad. But if you can help me out then great.

ace
 
ace2109 said:
As i said this is my first go at this, having absolutly no experience before in this i dont think i have done to bad. But if you can help me out then great.

ace

What have you added the frames for? To help position stuff?

That wasn't an attacking question if it came across that way, i'm just asking :)
 
Wardie said:
What have you added the frames for? To help position stuff?

That wasn't an attacking question if it came across that way, i'm just asking :)

lol i know.

Yea i added them so i can position things where i want them, it was the only way i found easy enough.
 
Ross1234 said:
You need a link back to your homepage

bottom right hand corner, i will add a link to the logo in the top left but have not got round to it.

Strange thing here, i connected directly to my ftp server in my browser and opened up my website in another.

When i click jargon buster and any link down the left it works fine while im connected directly to my ftp server but doesnt work when i am just connected directly to my website????

this is really strange, everything up until now has been working fine, i have been working all weekend on this and only added the jargon buster yesterday and it doesnt work correctly?
 
ace2109 said:
lol i know.

Yea i added them so i can position things where i want them, it was the only way i found easy enough.

That's what tables and cells are for, or divs if you fancy learning how to use them.

If you want to stick with tables you can go to 'layout mode' in dreamweaver and pretty much draw tables and position content however you want and dreamweaver will do the work for you.
 
the code for the links on the "jargon Buster" page is the same as on all the other pages in my site, but they still dont work?
 
Back
Top Bottom