472,960 Members | 2,186 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,960 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 3314
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.