首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >图像是否未显示在母版页中表的列的背景中?

图像是否未显示在母版页中表的列的背景中?
EN

Stack Overflow用户
提问于 2011-02-12 22:01:32
回答 2查看 6.6K关注 0票数 0
代码语言:javascript
复制
   <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!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">
<head runat="server">
    <title>Untitled Page</title>






    <style type="text/css">
        .style1
        {
            width: 50px;
            height: 323px;
        }
        .style2
        {
            width: 650px;
            height: 323px;
        }
    </style>      

</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td style="width:30px; height:20px;">
        <img src="Image/Blue%20hills.jpg" 
            style="height: 83px; width: 734px;" />
    </td>
    </tr>
    <tr>
    <td>
    <table>
    <tr>
    <td style="background-color:Black; background-image:url('~/Images/Bluehills.jpg');"  class="style1">

    </td>
    <td class="style2">
    <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

        </asp:ContentPlaceHolder>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>

    <td>
    reserved &copy; softech infoways
    </td>
    </tr>
    </table>

    </div>
    </form>
</body>
</html>
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4978433

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档