Jul 25, 2008

Problem Displaying A Table Row In Ie

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Problem Displaying A Table Row In Ie

kvarnerexpress
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:

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">&nbsp;
       Password: <input type="password" name="password">&nbsp;
       <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:
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.
     }

 

 

 


Reply

Saint_Michael
its your text that is the problem if you take the
CODE
<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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : displaying


    Looking for problem, displaying, table, row

Searching Video's for problem, displaying, table, row
advertisement



Problem Displaying A Table Row In Ie



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE