471,624 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

Problem with min-height... (Please Help Me)

Hai all,

Im having problem to set minimum height to <td> tag. It only takes height only not min-height. Im ie7 browser and developing web based system in Visual Web Deveploper 2008 (C# .Net).

Here is the entire code:
Expand|Select|Wrap|Line Numbers
  1. <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default2.aspx.cs" Inherits="_Default" %>
  2. <%@ Register TagName="Ticket" Src="~/UserControl/Ticket.ascx" TagPrefix="uc1" %>
  3. <%@ Register TagName="User" Src="~/UserControl/User.ascx" TagPrefix="uc1" %>
  4. <%@ Register TagName="History" Src="~/UserControl/History.ascx" TagPrefix="uc1" %>
  5.  
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7.  
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head runat="server">
  10.  
  11.     <title>HelpDesk System</title>
  12.     <script language="JavaScript" type="text/JavaScript">
  13.     <!--
  14.     function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  15.         if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  16.         document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  17.         else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
  18.     }
  19.     MM_reloadPage(true);
  20.     //-->
  21.     </script>
  22.     <link href="~/style/StyleSheet.css" rel="stylesheet" type="text/css" />
  23.     <style type="text/css">
  24.  
  25.     </style>
  26. </head>
  27. <body>
  28.     <form id="form1" runat="server">
  29.     <asp:Panel ID="AnonymousMessagePanel" runat="server" Visible="false" Font-Size="Medium">
  30.                 <span class="style70"><span class="style9">Your login is not valid! Please go to</span> </span>
  31.                 <asp:HyperLink ID="HLLogin" runat="server" NavigateUrl="~/Default.aspx" 
  32.                     Font-Size="Medium" style="color: #6699FF">login</asp:HyperLink>
  33.                 .</asp:Panel>
  34.     <asp:Panel ID="AuthenticatedMessagePanel" runat="server" Visible="false">
  35.     <table align="center" frame="border" style="border-collapse: collapse; height:100%;" width="800" >
  36.     <tr><td height="82" colspan="3" bgcolor="#3162BB" class="style17">
  37.         HelpDesk System</td></tr>
  38.     <tr valign="top">
  39.         <td bgcolor="#EFF3FB" rowspan="2" class="style5" height="100%">           
  40.  
  41.             <table align="center" cellpadding="2" cellspacing="2">
  42.                  <tr>
  43.                     <td>
  44.                         <br />
  45.                         <asp:Label ID="lblWelcome" runat="server" 
  46.                             style="font-size: x-small; font-weight: 700" ></asp:Label>
  47.                         <br />
  48.                         <asp:Label ID="lblUserLevel" runat="server" 
  49.                             style="font-size: x-small; font-weight: 700"></asp:Label>
  50.                         <br />
  51.                         <asp:Label ID="lbTimeDate" runat="server" 
  52.                             style="font-size: x-small; font-weight: 700"></asp:Label>
  53.                         <br />
  54.                         <span class="style22"><span class="style23">
  55.                         <asp:LinkButton ID="lbLogOut" runat="server" CausesValidation="false" 
  56.                             onclick="lbLogOut_Click" style="font-size: small">Logout</asp:LinkButton>
  57.                         </span></span>
  58.                     </td>
  59.                 </tr>
  60.                  <tr>
  61.                     <td>
  62.  
  63.                     </td>
  64.                 </tr>
  65.                 <tr>
  66.                     <td style="text-align: left; font-family: Arial; " class="style23">
  67.                     <asp:HyperLink ID="HLTicket" runat="server" 
  68.                     NavigateUrl="~/Default2.aspx?menu=2" style="font-family: Arial">Ticket</asp:HyperLink>
  69.                     <br />
  70.                     <asp:HyperLink ID="HLUser" runat="server" 
  71.                     NavigateUrl="~/Default2.aspx?menu=3" style="font-family: Arial">Helpdesk User</asp:HyperLink>
  72.                     </td>
  73.                 </tr>
  74.             </table>
  75.  
  76.             <br />
  77.             <br />
  78.             <table cellpadding="2" cellspacing="2" align="center" >
  79.                 <tr>
  80.                     <td style="text-align: center" >                    
  81.                     </td>
  82.                 </tr>
  83.                 <tr>
  84.                     <td style="text-align: center" >
  85.                     <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
  86.                 BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" 
  87.                 DayNameFormat="Shortest" Font-Names="Arial" Font-Size="8pt" 
  88.                 ForeColor="#003399" Height="200px" 
  89.                 onselectionchanged="Calendar1_SelectionChanged" 
  90.                 style="text-align: left; font-family: Arial;" Width="220px">
  91.                 <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
  92.                 <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
  93.                 <WeekendDayStyle BackColor="#CCCCFF" />
  94.                 <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
  95.                 <OtherMonthDayStyle ForeColor="#999999" />
  96.                 <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
  97.                 <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
  98.                 <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" 
  99.                     Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
  100.             </asp:Calendar>
  101.                         </td>
  102.                 </tr>
  103.             </table>
  104.         </td>
  105.         <td bgcolor="#FFFFFF">
  106.             <uc1:User runat="server" ID="User1" Visible="false" />
  107.             <uc1:History runat="server" ID="History1" Visible="false" />
  108.             <uc1:Ticket runat="server" ID="Ticket1" Visible="false" />
  109.         </td>
  110.         <td bgcolor="#EFF3FB" rowspan="2" class="style8a">              
  111.             &nbsp;</td>
  112.     </tr>
  113.  
  114.     <tr>
  115.         <td class="style10" bgcolor="#EFF3FB">              
  116.  
  117.         </td>
  118.     </tr>
  119.  
  120.    </table>
  121.     </asp:Panel>
  122.     </form>
  123. </body>
  124. </html>
And the tag <td> that i want to add min height is here:

Expand|Select|Wrap|Line Numbers
  1. <td bgcolor="#FFFFFF" min-height="800px">
  2.             <uc1:User runat="server" ID="User1" Visible="false" />
  3.             <uc1:History runat="server" ID="History1" Visible="false" />
  4.             <uc1:Ticket runat="server" ID="Ticket1" Visible="false" />
  5.         </td>
Please can anyone help me with this?
Thank you in advance.

Regards,
Meshack
Aug 22 '08 #1
2 3205
eWish
971 Expert 512MB
I don't believe that min-height will work with table elements.

--Kevin
Aug 22 '08 #2
I don't believe that min-height will work with table elements.

--Kevin
Hai Kevin,

I have tried div tag also but it seems no change at all. Is there any other way to correct this problem.
Thanks for ur post.

Meshack.
Aug 22 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Colin Walls | last post: by
1 post views Thread by slim | last post: by
2 posts views Thread by Philipp | last post: by
2 posts views Thread by Warren Post | last post: by
6 posts views Thread by amandadev | last post: by
4 posts views Thread by Jeff | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.