473,405 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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 3339
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

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

Similar topics

4
by: Colin Walls | last post by:
I want to put a reasonable size graphic as a background on set of webpages. Some of them are quite short, so I put a min-height on the body tag. Of course I should have checked the CSS...
1
by: slim | last post by:
hi all, i'm playing with the layout of a web page and wanted a div to be a certain height. the min-height attribute seems to have no effect in ie6/xp, but works fine in opera7/xp. i'm...
2
by: Philipp | last post by:
Dear CSS list reader, IE6 does not support min-height, max-height. Is there a workaround for the following problem? http://www.scentech.ch/public/htmlcss/test1.html The left cell - where is...
2
by: Warren Post | last post by:
I need to set a minimum height for div.content at: <http://www.cafecopan.com/dev/20050612/index.en.html> I do this at line 30 of my CSS using min-height: ...
1
by: funfair | last post by:
HI,EVERY ONE first problem, i have create a database in access 2003 it worked fine untill i have format my laptop . now im working on office 2003 on windows xp and i have norton 2006 but im...
2
by: rapsody | last post by:
Hi, Ih ave a div tag with a backgound image as 320px and 2 div tags inside the main tag one floating left the other right. In each of the 2 div the height is expandable so may go over the 320px, in...
6
by: amandadev | last post by:
Hi there, I actually have two problems with the following site: http://coombes.amandadevries.com: 1. Why does Firefox ignore my request for a 'red' background for my ..container? IE doesn't....
1
by: icetalks | last post by:
have a look at this code , its for logging the user in after checking his UserName and Password. dim check as boolean = false ... ... If txtUserName.Text.Length = 0 And txtPass.Text.Length =...
4
by: Jeff | last post by:
I need to set a minimum height for a div, yet have it expand with the contents. I have this from 2005: <style type="text/css"> div{ height: 12px; background-color: red; 1px solid...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.