PDA

View Full Version : Base tag


chshiba
01-05-2007, 07:02 PM
Im a complete newbie with no web development experience and had a web editing job dumped on me.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<BASE href="www.day-lee.com">
<META name="GENERATOR" content="Microsoft FrontPage 4.0">

Using dreamweaver Im trying to edit a website originally created in Frontpage. The site uses a base tag which seems to be giving me some problems when trying to change the images.


<tr>
<td width="407"><img src="/images/river_picture.jpg" width="406" height="150"></td>
<td width="250"> </td>
<td width="343"><img src="/images/TitleBanner.jpg" width="426" height="155"></td>
</tr>

I saved a newly edited image TitleBanner.jpg in the same place as an original image river_picture.jpg but when i preview the site in DW the image TitleBanner.jpg doesnt show up. Even if I delete the river_picture.jpg image it still shows up in the preview. I just want to change some of the images and preview/test the changes in IE without having to change the files on the web server. So did I not set up the site in DW correctly? do I have to upload the new images to the webserver in order to preview it?

davidj
01-05-2007, 08:24 PM
do I have to upload the new images to the webserver in order to preview it?


Yes you do

why not configure dreamweaver to work localy first so both your local and remote files are on your machine. Then take a complete copy of the live site. Then edit away until your happy. Then you just have to upload the site to the live server when your done

chshiba
01-05-2007, 08:30 PM
Thanks for the response.

To preview the site without changing the files on the webserver, can I just change the base root to my local drive? Or is there any other easy way to preview the site using files saved on my local drive and not on the webserver?

davidj
01-05-2007, 08:35 PM
just copy the directory of your local files and rename this copy to reflect its going to become your remote dir (put this anywhere you like. I try to keep them together remote and local).

So now you will have 2 dirs .. local and remote on your machine

now just point the remote settings in dreamweaver to this new dir you created

davidj
01-05-2007, 08:38 PM
oh and welcome to the forum