disappearing html code

A

Anna K.

Hi there,

I have such a html code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-2">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2 (Win32)">
<META NAME="CREATED" CONTENT="20041027;14412814">
<META NAME="CHANGEDBY" CONTENT="ak">
<META NAME="CHANGED" CONTENT="20041027;14431041">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0">
<IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP" WIDTH="1024" HEIGHT="150"
BORDER="0" USEMAP="#MAP2">
<P>
<MAP NAME="MAP2">
<AREA SHAPE=RECT COORDS="192,24,247,51" HREF="../indexa.html"
TARGET="_parent">
<AREA SHAPE=RECT COORDS="144,24,192,49" HREF="../index.html"
TARGET="_parent"></MAP>
</P>
</BODY>
</HTML>

When I display this page off-line it seems that all is correct, but when I
sent it to the server line : <IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP"
WIDTH="1024" HEIGHT="150" BORDER="0" USEMAP="#MAP2">
disappears from html code and picture is not displayed. It happens only in
higher versions of Internet Explorer e.g 6.0.2600.0000, it seems. On many
computers the page is displayed correctly.

Could someone help? I really don't know what is wrong. On the server side it
has to be Unix System.

Thanks in advance.

Anna Kubiak
 
S

SpaceGirl

Anna said:
Hi there,

I have such a html code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-2">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2 (Win32)">
<META NAME="CREATED" CONTENT="20041027;14412814">
<META NAME="CHANGEDBY" CONTENT="ak">
<META NAME="CHANGED" CONTENT="20041027;14431041">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0">
<IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP" WIDTH="1024" HEIGHT="150"
BORDER="0" USEMAP="#MAP2">
<P>
<MAP NAME="MAP2">
<AREA SHAPE=RECT COORDS="192,24,247,51" HREF="../indexa.html"
TARGET="_parent">
<AREA SHAPE=RECT COORDS="144,24,192,49" HREF="../index.html"
TARGET="_parent"></MAP>
</P>
</BODY>
</HTML>

When I display this page off-line it seems that all is correct, but when I
sent it to the server line : <IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP"
WIDTH="1024" HEIGHT="150" BORDER="0" USEMAP="#MAP2">
disappears from html code and picture is not displayed. It happens only in
higher versions of Internet Explorer e.g 6.0.2600.0000, it seems. On many
computers the page is displayed correctly.

Could someone help? I really don't know what is wrong. On the server side it
has to be Unix System.

Thanks in advance.

Anna Kubiak

Validate your page Anna...

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
R

Richard

Anna said:
Hi there,
I have such a html code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-2">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2 (Win32)">
<META NAME="CREATED" CONTENT="20041027;14412814">
<META NAME="CHANGEDBY" CONTENT="ak">
<META NAME="CHANGED" CONTENT="20041027;14431041">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0">
<IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP" WIDTH="1024" HEIGHT="150"
BORDER="0" USEMAP="#MAP2">
<P>
<MAP NAME="MAP2">
<AREA SHAPE=RECT COORDS="192,24,247,51" HREF="../indexa.html"
TARGET="_parent">
<AREA SHAPE=RECT COORDS="144,24,192,49" HREF="../index.html"
TARGET="_parent"></MAP>
</P>
</BODY>
</HTML>
When I display this page off-line it seems that all is correct, but when I
sent it to the server line : <IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP"
WIDTH="1024" HEIGHT="150" BORDER="0" USEMAP="#MAP2">
disappears from html code and picture is not displayed. It happens only in
higher versions of Internet Explorer e.g 6.0.2600.0000, it seems. On many
computers the page is displayed correctly.
Could someone help? I really don't know what is wrong. On the server side
it has to be Unix System.
Thanks in advance.
Anna Kubiak

"../banner.gif"
Should be either "/banner.gif" with the image in the same directory, or
include the entire correct path name as in
http://www.example.com/images/banner.gif
You see it locally because the path name is correct.
Your server may not like the idea of "../".
 
O

Oli Filth

Anna said:
Hi there,

I have such a html code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-2">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2 (Win32)">
<META NAME="CREATED" CONTENT="20041027;14412814">
<META NAME="CHANGEDBY" CONTENT="ak">
<META NAME="CHANGED" CONTENT="20041027;14431041">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0">
<IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP" WIDTH="1024" HEIGHT="150"
BORDER="0" USEMAP="#MAP2">
<P>
<MAP NAME="MAP2">
<AREA SHAPE=RECT COORDS="192,24,247,51" HREF="../indexa.html"
TARGET="_parent">
<AREA SHAPE=RECT COORDS="144,24,192,49" HREF="../index.html"
TARGET="_parent"></MAP>
</P>
</BODY>
</HTML>

When I display this page off-line it seems that all is correct, but when I
sent it to the server line : <IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP"
WIDTH="1024" HEIGHT="150" BORDER="0" USEMAP="#MAP2">
disappears from html code and picture is not displayed. It happens only in
higher versions of Internet Explorer e.g 6.0.2600.0000, it seems. On many
computers the page is displayed correctly.

Could someone help? I really don't know what is wrong. On the server side it
has to be Unix System.

Thanks in advance.

Anna Kubiak

The IMG's alt tag is "Ad". Do you have an ad-blocker plug-in installed
on the browser?

Oli
 
S

Steve Pugh

Richard said:
"../banner.gif"

Is perfectly fine, it refers to an image called Banner.gif (or
banner.gif in your version) in the directory above the one containing
the HTML file that contains the
Should be either "/banner.gif" with the image in the same directory,

Only if the HTML file is in the site root.
/banner.gif points to a file called banner.gif in the site root
regardless of where the HTML the file is located.
or include the entire correct path name as in
http://www.example.com/images/banner.gif

Waste of bandwidth if you include full paths for all images and links
in your site, reduces the portability of your code and makes testing
locally impossible.
You see it locally because the path name is correct.

The path in this case is simply the ../ which as explained above means
that the image is in the parent directory of the HTML file. If it's
correct locally but not on the server then there are two
possibilities:
1. The image and the HTML are both in the root of the localhost and
the ../ is ignored when the browser makes request for the image
locally; but they are not in the root of the site and hence ../ isn't
ignored.
2. The image has been uploaded to the wrong directory on the web
server.
Your server may not like the idea of "../".

It's got nothing to do with the server.
The browser converts the ../ into a full URL before making the request
for the image.


But that's all totally irrelevant...

Did you read the OP's problem? According to the original post the HTML
code for the <img> element in question isn't showing up when the HTML
is served from the web server. It's got nothing to do with the URL in
the <img> element, the <img> element isn't even being sent to the
browser as part of the HTML code itself.

Steve
 
A

Andy Dingley

When I display this page off-line it seems that all is correct, but when I
sent it to the server line : <IMG SRC="../Banner.gif" ALT="Ad" ALIGN="TOP"
WIDTH="1024" HEIGHT="150" BORDER="0" USEMAP="#MAP2">
disappears from html code and picture is not displayed. It happens only in
higher versions of Internet Explorer e.g 6.0.2600.0000, it seems. On many
computers the page is displayed correctly.

First comment: always tell us the URL. I can't see an obvious
problem from your code, so it's probably the "installation" of it that
has the problem.

Secondly it sounds like only one machine is having trouble seeing it.
I suspect there's a banner-ad stripper running on the _browser_, not
the server.

Thirdly, ignore Richard. He is just an ignorant fool who posts
rubbish.
 
O

Oli Filth

Hywel said:
Just when I think I've heard the dumbest thing, you speak.

I've read about RtS's (Richard's) reputation
(http://www.lart.com/rtsfaq/), but I'm pretty new to this NG. When he
posts utter crap, is he doing it for fun, or is he actually as ignorant
and dumb as he appears? I've been browsing his posts for the last month,
and pretty much every single one is complete shit.

Oli
 
H

Hywel Jenkins

I've read about RtS's (Richard's) reputation
(http://www.lart.com/rtsfaq/), but I'm pretty new to this NG. When he
posts utter crap, is he doing it for fun, or is he actually as ignorant
and dumb as he appears? I've been browsing his posts for the last month,
and pretty much every single one is complete shit.

Not sure. I think calling him a "retard" would be doing a disservice to
those that suffer with a wide range of mental health conditions. I
don't believe he thinks he has a clue - he's been told the opposite too
many times. I guess he's doing it for fun, or he is seriously mentally
challenged.
 
A

Andy Dingley

When he
posts utter crap, is he doing it for fun, or is he actually as ignorant
and dumb as he appears?

Such things are impossible to tell. But he's so _persistent_ in doing
it, that his sheer stupidity becomes indistinguishable from deliberate
and patient trolling.

However I've lost my desktop stress-squeezy pointy-haired-boss doll
with the tear-off velcro arms, and ragging on him makes a reasonable
stand-in.
 
G

George

Such things are impossible to tell. But he's so _persistent_ in doing
it, that his sheer stupidity becomes indistinguishable from deliberate
and patient trolling.

The following is too funny :
However I've lost my desktop stress-squeezy pointy-haired-boss doll
with the tear-off velcro arms, and ragging on him makes a reasonable
stand-in.

"pointy-haired-boss doll" comment just about made me lmao.
 
R

rf

Keith said:
Why are you such a smart ass? Hot you enjoy the spam!

Please do not top post. It took me the best part of a minute to find that
you had actually added something to Hywel's post.
 
H

Hywel Jenkins

Why are you such a smart ass? Hot you enjoy the spam!

And WTF does "Hot you enjoy the spam!" mean fscktard? Have you gone and
subscribed me to junk mail lists? Boo hoo. This is a Hotmail account -
it has built-in protection from pricks like you. All my other email
accounts (if you can find them) run through SpamCop, so send all the
junk you want. I can assure you that it will end up in the trash,
automatically, with the other 1,000 I get every week.
 
K

Keith

What a dork!
Hywel Jenkins said:
And WTF does "Hot you enjoy the spam!" mean fscktard? Have you gone and
subscribed me to junk mail lists? Boo hoo. This is a Hotmail account -
it has built-in protection from pricks like you. All my other email
accounts (if you can find them) run through SpamCop, so send all the
junk you want. I can assure you that it will end up in the trash,
automatically, with the other 1,000 I get every week.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top