images not visible

Z

Zeba

Hi,

In the master file for my website, I inserted some image files inside
<body>. The form is given as runat="server" It is getting displayed
correctly in the Design view in Visual Studio. but when I try to run a
related Content page, only the alt text is displayed instead of the
image. What may be the reason ?

A simplified version of my master page html code is :

<body>
<form runat="server">
<div id="header">
<img src="image1.gif" alt="sometext" align="left" id="logo"
style="width: 164px; height: 79px"/>
<img src="Image2.gif" alt="somemoreText" width="73" height="61"/>
<img src="Images3.gif" alt="someotherText" width="331" height="37"
style="position:relative; top:5px"/></div>
</form>
</body>

Thanks !
Zeba
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Zeba said:
Hi,

In the master file for my website, I inserted some image files inside
<body>. The form is given as runat="server" It is getting displayed
correctly in the Design view in Visual Studio. but when I try to run a
related Content page, only the alt text is displayed instead of the
image. What may be the reason ?

A simplified version of my master page html code is :

<body>
<form runat="server">
<div id="header">
<img src="image1.gif" alt="sometext" align="left" id="logo"
style="width: 164px; height: 79px"/>
<img src="Image2.gif" alt="somemoreText" width="73" height="61"/>
<img src="Images3.gif" alt="someotherText" width="331" height="37"
style="position:relative; top:5px"/></div>
</form>
</body>

Thanks !
Zeba

Do you have the content page in the same folder as the images?
 
Z

Zeba

Okayy...I've got my mistake. It was in another folder and I had
actually written the relative path, but used backslashes instead of
forward slashes. Thanks anyway...
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Zeba said:
Okayy...I've got my mistake. It was in another folder and I had
actually written the relative path, but used backslashes instead of
forward slashes. Thanks anyway...

I see.

Well, if you simplify the code that you show so that you totally remove
the source of the error, then it's a bit hard to see what's wrong... ;)
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top