Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    Member #
    4992
    Hi,

    I have this little problem with a table:

    [Link]

    If you are on internet Explorer you should see the upper cell stretch. The weird part of this problem, is that it only occurs for Internet explorer.
    Ive tried almost everything , and i just cant get over this problem.

    Any help is appreciated...

  2.  

  3. #2
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    In this line:

    <table cellpadding="0" cellspacing="0" border="1" bordercolor="black" style="width:100%; height:100%;">

    Take out the height: 100%

    It's not properly supported across all the browsers.

  4. #3
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    Member #
    4992
    I know that it would solve the problem, but is there any other way to make the table use the whole screen?

  5. #4
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    Have a play with this - it's a mess because it's modified from another page but it does what I think you're looking for:

    Code:
    <html>
    <head>
    <style>
    		.main	
    				{
    				padding: 0px;
    				margin: 10px;
    				border: 0px;
    				font-family: tahoma;
    				}
    		.banner
    				{
    				align: center;
    				}
    		.table
    				{
    				border: 1px solid #000;
    				vertical-align: top;
    				background-color: #fff;
    			
    				}
    		
    				
    				.head1
    			{ background-image: url(head1.gif);
    						height: 30px;
    						}
    </style>
    </head>
    
    
    <BODY class="main" align="center">
    
    <table align="center" valign="top" width="100%" cellspacing="0"
     cellpadding="0" height="100%"><tr>
    <td align="center" valign="top" class="head1"></td></tr>
    <tr>
    <td class="table" height="100%"><br>
    <table width="100%" cellspacing="0"
     cellpadding="0" border="0">
    <tr>
        <td width="50%">
    <form method="post" action="index.php">
    <input type="hidden" name="doit" value="weeh">
    <input type="text" name="user" value="Username">
    <input type="password" name="pass" value="********">
    <input type="submit" value="Login">
    </form>
    	</td>
    </tr>
    
    </table>
    </td>
    </tr></table>
    
    </body>
    </html>

  6. #5
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    Member #
    4992
    I figured this out earlier, but thanks anyway


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:40 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com