Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Problem Displaying A Table Row In Ie

Recommended Posts

I got a table with 1 row in it which shows a login form.
The row should be displayed on 1 line. However, in IE this doesn't work. It seems to be spreading over 2 lines.

html Code:

<table class="tableBorder"><tr class="normalTableRow">    <td> Welcome, you are currently not logged in</td>    <td align="right">        <form method="post" action="processing/login.php">        Username: <input type="text" name="name">         Password: <input type="password" name="password">         <input type="submit" name="subLogin" value="Login">        <input type="hidden" name="location" value="<?php echo currentLocation(); ?>">        </form>    </td></tr></table>


Is there anyway i can get a one line row in IE like i get in FF?

Here are the relevant css classes:
css Code:
   1.      .tableBorder {      2.           width: 100%;   3.           border-style: solid;   4.           border-width: 0;   5.           border-color: #BFACBF;   6.           border-collapse: collapse;   7.           border-spacing: 0px;   8.       }   9.         10.       .normalTableRow{   11.           border-style: solid;  12.           border-width: 1px 1px 1px 1px;  13.           border-color: #4D3D4D;  14.           background-color: #BFACBF;  15.           color: #4D3D4D;  16.           vertical-align: top;  17.      }  18.         19.      .normalTableRow td{     20.           border-style: solid;  21.           border-width: 0px;  22.           border-color: #4D3D4D;  23.      }

Share this post


Link to post
Share on other sites

its your text that is the problem if you take the

<td> Welcome, you are currently not logged in</td>
then your fine, but i think another problem is table size try making it larger to fit everything in.

but in my opinion i think having the log on form like that is kind of tacky it waste space and clutters your webpage

but work on the text and table resizing and it should be fine.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.