ravi Gautam

ravi Gautam

  • NA
  • 20
  • 8.5k

form and table images are not working togeaher

Oct 12 2017 10:32 AM
when I write the code the appearance is working fine in the "design tab " but when I run this project is not working fine.Only table row background image is showing but form background image is not showing. 
 
 
 
<html lang="en">
<head runat="server">
<title>CITY DETAILS</title>
</head>
<body>
<form runat="server" id="master_form" style="background-image:url(.\images\website.jpg)">
   <link rel="Stylesheet" type="text/css" href="StyleSheet_master.css" />
   <Table runat="server" Width="100%" class="auto_style1" style="table-layout:fixed;">
      <tr>
         <td class="header_row">
            <img src="images/sunburn.jpg" width="100%" height="250px" alt="Image" />
      </td>
   </tr>
   <tr>
      <td align="center">
         <asp:ContentPlaceHolder ID="MainContent" runat="server">
         </asp:ContentPlaceHolder>
      </td>
   </tr>
</Table>
</form>
</body>
</html>
 

Answers (2)