Forums - C# Corner

Forum guidelines
ravi Gautam

ravi Gautam

  • 1.5k
  • 14
  • 679

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>
<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;">
         <td class="header_row">
            <img src="images/sunburn.jpg" width="100%" height="250px" alt="Image" />
      <td align="center">
         <asp:ContentPlaceHolder ID="MainContent" runat="server">

Answers (2)