div Background not showing on pages in sub folder.

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I have a site that I'm trying to use Nested Master pages on certain
pages on my site. Both Master Pages reside in the root of my site and
the graphics are in an images folder. When setting up pages in a
restricted folder the images on the master doesn't display when
rendered. Below is a portion of my master page. Can someone tell me
why the TriR_Header.png doesn't display as soon as I navigate to the
pages in the restricted folder? If setting the DIV background-image
isn't the the right approach, I'm open to suggestions. I'd like to
only use 1 master page throughout the site.

Thanks for your time.



<div id="Header" align="Right"
style="height: 60px; width: 1024px; background-image: url
('images/TriR_Header.png');">
<table style="height: 100%">
<tr>
<td valign="bottom">
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx" Style="color: #FFFFFF;
font-weight: 700; font-family: Tahoma;
font-size: 10pt">Home</asp:HyperLink>
</td>
<td valign="bottom">
<asp:HyperLink ID="ContactUsHyperLink0"
runat="server" NavigateUrl="~/RUA.aspx"

Style="color: #FFFFFF; font-weight: 700;
font-family: Tahoma; font-size: 10pt">Request Account</asp:HyperLink>
</td>
<td valign="bottom">
<asp:HyperLink ID="ContactUsHyperLink"
runat="server" NavigateUrl="~/ContactUs.aspx"
Style="color: #FFFFFF; font-weight: 700;
font-family: Tahoma; font-size: 10pt">Contact Us</asp:HyperLink>
</td>
<td valign="bottom">
<asp:LoginStatus ID="LoginStatus1"
runat="server"

style="color: #FFFFFF; font-size: 10pt;
font-family: Tahoma; font-weight: 700"
onloggedout="LoginStatus1_LoggedOut" />
</td>
<td valign="bottom">
&nbsp;
</td>
</tr>
</table>
</div>
 
Many Thanks to a co-worker!

<style type="text/css">
div.one
{
z-index: 1;
margin-left: 11px;
margin-top: 11px;
}
div.two
{
z-index: 2;
width:1024px;
left: 11px;
margin-top: -23px;
background-color: Transparent;
}
div.three
{
width: 1024px;
text-align: left;
background-color: #FFFFFF;
text-align: left;
}
div.four
{
position: relative;
width: 1024px;
height: 30px;
}
</style>
<body bgcolor="#cccccc" style="text-align: center;">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div align="center">
<div id="Header" class="one">
<asp:Image ID="Image1" runat="server" ImageUrl="images/
TriR_Header.png" />
<div />
<div align="center">
<div id="menu" class="two" align="right">
<table style="height: 100%">
<tr>
<td valign="bottom">
<asp:HyperLink ID="HyperLink1"
runat="server" NavigateUrl="~/Default.aspx" Style="color: #FFFFFF;
font-weight: 700; font-family:
Tahoma; font-size: 10pt">Home</asp:HyperLink>
</td>
<td valign="bottom">
<asp:HyperLink
ID="ContactUsHyperLink0" runat="server" NavigateUrl="~/RUA.aspx"
Style="color: #FFFFFF;
font-weight: 700; font-family:
Tahoma; font-size: 10pt" Enabled="False" ToolTip="This option is not
available at this time.">Request Account</asp:HyperLink>
</td>
<td valign="bottom">
<asp:HyperLink ID="ContactUsHyperLink"
runat="server" NavigateUrl="~/ContactUs.aspx"
Style="color: #FFFFFF; font-
weight: 700; font-family: Tahoma; font-size: 10pt">Contact Us</
asp:HyperLink>
</td>
<td valign="bottom">
<asp:LoginStatus ID="LoginStatus1"
runat="server" Style="color: #FFFFFF; font-size: 10pt;
font-family: Tahoma; font-weight:
700" OnLoggedOut="LoginStatus1_LoggedOut" />
</td>
<td valign="bottom">
&nbsp;
</td>
</tr>
</table>
</div>
</div>
</div>
 
Back
Top