when I use a table I cannot see my own logo?!!!

Topics: Themes
Jul 1, 2008 at 9:37 AM
Jun 27 at 1:09 PM
<input name="ctl00$ctl00$Content$TabContentPanel$Content$PostRepeater$ctl00$PostId" id="ctl00_ctl00_Content_TabContentPanel_Content_PostRepeater_ctl00_PostId" value="101211" type="hidden">
Hi there. Any time I add an image(jpeg) to the heading of the master page, I can see them when the page is not published but when I publish the page I see just the "alt" text of the image and the image disappears online?!
Would you please be kind enough to help me resolve the problem?
Looking...
Thanks anyway



Jun 29 at 4:23 AM
<input name="ctl00$ctl00$Content$TabContentPanel$Content$PostRepeater$ctl02$PostId" id="ctl00_ctl00_Content_TabContentPanel_Content_PostRepeater_ctl02_PostId" value="101445" type="hidden">
IF you are talking about editing the html of the site.master to include an image in the header of your theme, you could put your image in a folder called "images" inside of the theme's folder...

you could edit your html to look something like this:

<div id="header">
    <div class="style">
    </div>
</div>

and your css might look like this:

#header .style {
background: url(images/your_image.jpg) no-repeat;
display: block;
height: 280px; }

I have seen that work...



Jun 30 at 12:50 PM
<input name="ctl00$ctl00$Content$TabContentPanel$Content$PostRepeater$ctl04$PostId" id="ctl00_ctl00_Content_TabContentPanel_Content_PostRepeater_ctl04_PostId" value="101560" type="hidden">
Hi and thanks a lot.
It really worked.



Today at 1:39 AM
<input name="ctl00$ctl00$Content$TabContentPanel$Content$PostRepeater$ctl06$PostId" id="ctl00_ctl00_Content_TabContentPanel_Content_PostRepeater_ctl06_PostId" value="101740" type="hidden">
Sorry it works in design mode in Visual Studio 2008 but when I preview it or upload it to my site I just see the image place holdres.
!!!
The follwing is the code of my master page:
Standard theme:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="site.master.cs" Inherits="site" %>
<%@ Register Src="SidePanel.ascx" TagName="InfoBox" TagPrefix="uc1" %>
<%@ Import Namespace="BlogEngine.Core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server" profile="http://gmpg.org/xfn/11">
    <link rel="stylesheet" href="style.css" type="text/css" />
    <link rel="shortcut icon" href="~/pics/blogengine.ico" type="image/x-icon"/>
    <style type="text/css">
        .style1
        {
            width: 100%;
            height: 94px;
        }
    </style>
</head>
<body>
<div id="header">
    <div class="style">
        <table cellpadding="0" cellspacing="0" class="style">
            <tr>
                <td style="width: 221px; height: 94px">
                    <img alt="" src="Images/Himage_r1_c1.jpg" /></td>
                <td style="width: 100%; height: 94px">
                    <img alt="" src="Images/Himage_r1_c2.jpg" /></td>
                <td style="width: 525px; height: 94px">
                    <img alt="" src="Images/Himage_r1_c3.jpg" /></td>
            </tr>
        </table>
    </div>

  </div>
 
     
  <div id="menu">
    <ul>
      <li><a href="~/" runat="server" rel="home"><%=Resources.labels.home %></a></li>
      <li><a href="~/archive.aspx" runat="server"><%=Resources.labels.archive %></a></li>
      <li><a href="~/contact.aspx" runat="server"><%=Resources.labels.contact %></a></li>
      <li><a href="<%=Utils.FeedUrl %>" class="feed"><img src="~/pics/rssButton.gif" alt="Feed" runat="server" /><%=Resources.labels.subscribe %></a></li>
    </ul>
  </div>

So what is wrong with that.
n.b. I am using standard theme.
Looking forward... and thanks a lot in advance
Lovencare