Click here to Skip to main content
12,404,895 members (68,728 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
In Master page contains images and Menu Bar .

i add child content i'm adding master page but images are not allowed.
Posted 28-Jan-13 1:16am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

write master page code and child code separately here
  Permalink  
Comments
kumar2233 28-Jan-13 7:39am
   
master page code :
.....................

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="91" align="left" valign="middle"><img src="../Images/logo.jpg" width="357" height="61" alt="logo"></td>
<td width="50%" align="left" valign="middle"><table width="382" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="36" align="left" valign="bottom"><img src="../Images/Phone.png" width="25" height="17" alt="phone"></td>
<td width="346" align="left" valign="middle">

Toll Free No 1800 258 5678

</td>
</tr>
</table></td>
</tr>
</table>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server" >


i add new default page i attach master page. In this page images are not displayed in Default page [Child page].
AdityaPratapSingh 28-Jan-13 10:45am
   
<img> should end with />
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

1.img should end with />

2.change source of img control as "src="Images/logo.jpg".
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100