473,789 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

38 New Member
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 3355
eWish
971 Recognized Expert Contributor
I don't believe that min-height will work with table elements.

--Kevin
Aug 22 '08 #2
ssmeshack
38 New Member
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
2609
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 compatiblity guide first, although it is valid CSS (1 and 2) it doesn't work on IE. Can anyone suggest a work-around, preferably one that doesn't involve tables. -- Colin Walls
1
3538
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 assuming this is because ie6 is not fully css 2.0 compliant. has anyone any tips on a good workaround for this so i can make sure the div is a certain height?
2
11738
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 the text - has an unknown size, the middle cell on the right should show the arrow picture. And, most important, the upper and the lower cell should join without a gap. The
2
1839
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: <http://www.cafecopan.com/dev/20050612/home.css> It works fine in Opera 7.53 and Mozilla 1.6, but MSIE 6.0 seems to ignore it. The result is that at small font sizes, the popup images overlap the
1
1639
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 facing a problem in opening some forms from command button a message appear the openform action was canceled and when i open them from the database window(form) there are problem in open event or change event or activate event the same file is work...
2
4144
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 IE if either of the divs goes over the 320px the background colour that is set appears in firefox it doen't the style for the main div is .tmp_mid{ height:100%; min-height:370px; max-height:700px; margin-bottom:7px; background:...
6
3880
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. 2. Why does Firefox ignore my 'min-height:50%' for the container? Again, IE doesn't. See "http://coombes.amandadevries.com/people/Duong.html" to see what I
1
1420
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 = 0 Then MessageBox.Show("please Enter Your Name and Password") txtUserName.Text = "" txtPass.Text = ""
4
1976
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 black;min-height:12px
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10139
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3700
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.