There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware network networking outlook outlook 2003 outlook express partition password printer problem ram router slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
<a> tags disappearing


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
11-Aug-2004, 04:21 PM #1
Angry <a> tags disappearing
I've been using dreamweaver 4 for a while now and never had a problem until now! I have several webpages that have links on like this <a href="../list.htm" class="link2">Back To Index</a>. THis views fine when you preview the HTM file off the hard drive, but when its uploaded and viewed online this link disappears, totally. If you view the page source its just not there at all. If I attach the link to an image, then when viewed on line the image disappears too. Whats causing items to disappear when I add links to them? Is it anything to do with the fact I'm on Windows XP? I never had this trouble when I used my old PC with 98 on. I am uploading HTM files as ASCII, and all images as Binary so i dont think thats the problem. Any help much appreciated !!
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
11-Aug-2004, 05:08 PM #2
Where is the web site address. Are your style sheets working correctly?
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
11-Aug-2004, 05:20 PM #3
You can view one of the pages at http://www.dvd-world.me.uk/links/confirm.htm. At the end where it says "on our" it should say after that <a href="http://www.dvd-world.me.uk/links/banners/index.htm" class="link2">banners page</a>
I presume the style sheets are workign correctly as they always have done and I've changed nothing recently and as I said when you preview the file off your hard drive in the browser they appear fine. I've tried in Mozilla and IE but the links aren't there in either. Any idea why its disappeared?
bearqst's Avatar
Senior Member with 161 posts.
 
Join Date: May 2004
Location: Interior Alaska
Experience: Advanced
11-Aug-2004, 06:48 PM #4
The link appears when I do a "view source"

<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 131px; top: 23px"><img src="callg.gif" width="195" height="134"></div>
<div align="center"><font face="Arial" size="2">THANK YOU for your submittal,
you will be notified by the webmaster when your link is added</font><font face="Arial" size="2"><br>
To link to our site, all details are given on our <a href="banners/index.htm" class="link2">banners
page</a></font></div>

Post your code
bpettway's Avatar
Junior Member with 3 posts.
 
Join Date: Aug 2004
Experience: Advanced
11-Aug-2004, 07:54 PM #5
I had a similar problem recently when I had to turn someone's html page into a PHP script. It had 2 columns and 4 rows of images, each a link, with a separator image between the columns and rows. On two of my XP/Pro machines, locally, it rendered just fine. But on the website, the images and links vanished--even the source--and using IE or Netscape. On another XP/Home machine they rendered fine. I finally figured out the total width of the cells minus padding was slightly less than the width of the image. This was done in Dreamweaver, BTW. WHen I removed the width and height clause of the image, it rendered fine. But that was the weirdest thing.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
12-Aug-2004, 07:58 AM #6
Looks like it's working to me.
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
12-Aug-2004, 08:22 AM #7
I tried making a new page with nothing on it but the link to the same page and again, when I viewed it online the link had gone and did not show up in the source code. Got me bewildered this one has. I have the same page loaded on another ISP at http://www.themusicvaults.net/submiturl/confirm.htm, and again, the last link disappears when I view online???

The page code is as follows:

<html>
<head>
<title>DVD-World --- Submit URL Confirmation!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.link2 { COLOR: cyan; TEXT-DECORATION: NONE }
.link2:visited { COLOR: cyan; TEXT-DECORATION: NONE }
.link2:active { COLOR: cyan; TEXT-DECORATION: NONE }
.link2:hover { COLOR: #000000; text-decoration: none; text-style:bold; background: yellow}
-->
</style>
<style>
<!--
BODY{
scrollbar-face-color: #FFFFFF;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #003399;
scrollbar-shadow-color: cyan;
scrollbar-highlight-color: #009999;
scrollbar-3dlight-color: blue;
scrollbar-darkshadow-Color:blue;
}
-->
</style>
</head>

<body bgcolor="#000000" scroll="auto" text="#FFFFFF" link="#FFFFCC" topmargin="0" bottommargin="6" leftmargin="0" marginwidth="0" marginheight="0">
<br>
<br>
<br>

<table width="85%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="295">

<div align="center"><img src="hole1.jpg" width="427" height="325" alt="Courtney 'full of' Love!" border="0"></div>
</td>
</tr>
<tr>

<td height="64">
<div id="Layer2" style="position:absolute; width:169px; height:48px; z-index:2; left: 146px; top: 61px">

<p align="center"><b><font color="#990033" face="Arial, Helvetica, sans-serif" size="4">oh...and
yeah!!<br>
thanks!!!!!</font></b></p>
</div>
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 131px; top: 23px"><img src="callg.gif" width="195" height="134"></div>
<div align="center"><font face="Arial" size="2">THANK YOU for your submittal,
you will be notified by the webmaster when your link is added</font><font face="Arial" size="2"><br>
To link to our site, all details are given on our <a href="http://www.dvd-world.me.uk/links/banners/index.htm" class="link2">banners
page</a></font></div>
</td>
</tr>
<tr>
<td height="20" valign="bottom">
<div align="right"><font face="Arial, Helvetica, sans-serif"><a href="../list.htm" class="link2"><font size="2">Back
To Index</font></a></font></div>
</td>
</tr>
</table>
</body>
</html>



and similarly this page:
http://www.dvd-world.me.uk/links/banners/index.htm

when I view this on line the table just appears as acloured empty block, whereas there are 2 JPEG banner logos in it

This is the source code as I view it online for the table:

<table border="5" cellspacing="0" cellpadding="10" align="center" bordercolor="#FF0000" bgcolor="#FFCCFF">
<tr>
<td>
<div align="center"></div>
</td>
</tr>
<tr>
<td></td>

</tr>
</table>

this is how it is on my hard drive:

<table border="5" cellspacing="0" cellpadding="10" align="center" bordercolor="#FF0000" bgcolor="#FFCCFF">
<tr>
<td>
<div align="center"><img src="banner.jpg" width="460" height="80"></div>
</td>
</tr>
<tr>
<td><img src="banner2.jpg" width="460" height="80"></td>
</tr>
</table>

you can see that the <img> tag has disappeared in my online code.

Help please!
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
12-Aug-2004, 08:26 AM #8
and also to highlight this problem, in my previous reply above I posted a URL, after the text "similarly on this page" was a link, it doesnt show up in my browser, I've just viewed the page source and got this (the url line has gone!):

and similarly this page:<br />
<br />
<br />
when I view this on line
bearqst's Avatar
Senior Member with 161 posts.
 
Join Date: May 2004
Location: Interior Alaska
Experience: Advanced
12-Aug-2004, 11:13 AM #9
Are you using DW in code view when you create the page or the WYSIWYG (design view) view ? If in the Design view this may be your problem. Try this, write your page code, copy and paste it to a text file (notepad) and see if your code changes. If not upload it to your site and then convert the page's extension from .txt to .htm and see what happens.
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
12-Aug-2004, 11:25 AM #10
I have been working in the WYSIWYG view as I always have done. I've tried copying the code into a txt file, uploaded it and renamed it to htm and it was the same. The link had gone again even though its still in the txt file, it wasn't showing in the browser or in the page source. Any other ideas?
bearqst's Avatar
Senior Member with 161 posts.
 
Join Date: May 2004
Location: Interior Alaska
Experience: Advanced
12-Aug-2004, 11:38 AM #11
Switch your work format to code view and trying doing your work there. I have never liked WYSIWYG's as a general rule. Mainly because they tend to add useless and un-needed code and/or remove code, such as your seeing now. This may be the problem and not easily resolved, except by practicing with and using the code view to write your pages.

Open the page in quesion in code view, read the code and make sure all your code is there and then try uploading it again. Also, make sure you do a refresh in the "files" list when you upload/download any pages.
bpettway's Avatar
Junior Member with 3 posts.
 
Join Date: Aug 2004
Experience: Advanced
12-Aug-2004, 11:57 AM #12
I think XP has a problem with math. It can't figure out image sizes with cell padding, or something like that. I know this sounds dumb, but it worked for me--Make your image the right size, if it's not already, then leave out the widht and height clauses for the image.
everglade's Avatar
Junior Member with 6 posts.
 
Join Date: Aug 2004
Experience: Intermediate
12-Aug-2004, 01:48 PM #13
I tried removing the numbers in the image size boxes, that didnt help. I have just created a new webpage, this is the code:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<img src="heaton.jpg" width="132" height="99"> <img src="banner2.jpg" width="460" height="80">
</body>
</html>


All it is is 2 images, thats it.

When I view this online its blank, this is the code I see as its source:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>

The URL of this page is

http://www.dvd-world.me.uk/links/banners/index2.htm



HELP HELP!!! it must be doing this for a reason??? I've viewed my old website that I did when I had my last PC and that views fine, all images, links are al there. But if I save the htm page into this new website and upload it to the new domain, images all disappear. If I insert an image that I know views in the old website into a page on the new website it doesnt view. But if I upload one of the new webpages whose images don't view onto one of my other domains where images do view OK on curent pages, then the new page behaves the same as it does on my new domain, ie no images or links. So it must be something to do with the new webpages/ domain/ dreamweaver define site...???I am totally stumped by this behaviour. Any more ideas?
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
12-Aug-2004, 03:00 PM #14
If you are using dreamweaver, how are you defining your sites for working on the pages? I would work on a local copy only and manually upload to the server via FTP. It sounds like the local version is a cached version of the live web site and all of the references and paths are messed up. Are you pressing the F12 to view the pages locally?
__________________
**Disclaimer** Anything below this line ^ is part of my signature for those that may be confused

Sadly, there are no integers on this scale, so your gangly adolescent attempt to be clever has proved futile....Dieter

I have the right "NOT" to be tolerant of others because they are different, weird, or tick me off.....Parody of Andy Rooney

There are no stupid questions, but there are a LOT of inquisitive idiots.
bearqst's Avatar
Senior Member with 161 posts.
 
Join Date: May 2004
Location: Interior Alaska
Experience: Advanced
12-Aug-2004, 03:14 PM #15
Rockin may be right.

I took your page code and uploaded

http://www.fairnet.org/eeglade_test.htm

I added the full path to the images, and there it is.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:40 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.