?
Solved

Website display problems. (Form and text).

Posted on 2011-02-24
4
Medium Priority
?
297 Views
Last Modified: 2012-05-11
Hi there,

I am trying to get my text and login form lined up so they all look straight. Left to right across the browser.

Problem #1) In IE the (account login >>) text seems fine in the middle and to the left. But the form seems to (top right) of the browser rather than centered in the middle.

Problem #2) Google chrome and mozilla seem to be ok form wise but text wise the text is aligned to the bottom of the form and same for the (account login > >) text. Rather than in the middle of the input fields.

Thanks for any help.

Website http://www.lilkixx.co.uk/new/
<table width="951" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
    <td><table bgcolor="#FFD200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="951">

			  <table width="100%" align="center" cellpadding="3" cellspacing="0">
			    <tr>
				<td align="left"><h3>Account Login > ></h3></td>
				  <td align="right">
				  
				    <form>
        <table cellpadding="3" cellspacing="3" border="0">
          <tr> 
            <td><h3>Username:</h3></td>
            <td> <input type="text" name="user" maxlength="10" /> 
            </td>
			            <td><h3>Password:</h3></td>
            <td> <input type="password" name="password"  maxlength="10" /> 
            </td>
            <td> <input type="submit" value="Account Login!" alt="Account Login!" /></td>
          </tr>
        </table>
      </form>
				  
				  </td>
				</tr>
			  </table>
			  
			</td>
          </tr>
        </table></td>
      </tr>


    <tr>
        <td align="left" valign="top"><table width="951" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td><img src="images/top-join.gif" width="951" height="2" border="0"></td>
          </tr>
        </table></td>
      </tr>

    <tr>
        <td align="left" valign="top"><table width="951" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td background="images/con-left.gif" width="25"> </td>
            <td bgcolor="#ffffff" width="906" align="left" valign="meiddle"> 
              
			  <table width="100%" align="center" cellpadding="6" cellspacing="0">
			    <tr>
				  <td>
				  
				    <h2>Welcome to lilkixx.co.uk</h2>
					Welcome information here...
				  
				  </td>
				</tr>
			  </table>

			</td>
            <td background="images/con-right.gif" width="20" align="left" valign="top"> </td>
          </tr>
        </table></td>
      </tr>

  <tr>
    <td align="left" valign="top"><table width="951" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td align="left" valign="top"><img src="images/footer-img.gif" alt="" width="951" height="7" /></td>
      </tr>
      <tr>
        <td style="padding-bottom:4px; padding-top:4px;" align="center" valign="top" class="footertext">Copyright &copy 2011 all rights reserved.</td>
      </tr>
    </table></td>
  </tr>
</table>

Open in new window

0
Comment
Question by:james130c
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Author Comment

by:james130c
ID: 34972699
****Update****

I put the text and form inside a div and displayed both the div and form inline. The code below. This seemed to make it how i want it but only in IE! If anyone can help me get the same display for firefox and google chrome etc..?

Thanks.
<table width="98%" align="center" cellpadding="4" cellspacing="0">
	  <tr>
	    <td align="left">
		  <h3>Account Login Area > ></h3>
		</td>
		<td align="right">
		
		  <div style="display:inline;">		  
		  <form style="display: inline;">
            <table cellpadding="3" cellspacing="3" border="0">
              <tr> 
                <td><h3>Username:</h3></td>
                <td> <input class="loginatt" type="text" name="user" maxlength="10" /> 
                </td>
			    <td><h3>Password:</h3></td>
                <td> <input class="loginatt" type="password" name="password"  maxlength="10" /> 
                </td>
                <td> <input class="nomarg" type="submit" value="Account Login!" alt="Account Login!" /></td>
              </tr>
            </table>
          </form>
		  
		  </div>
				  
        </td>
      </tr>
    </table>

Open in new window

0
 
LVL 17

Expert Comment

by:selvol
ID: 34976987
Here's simplified code.   Hope it helps some.




<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="Selvol">
<title></title>

<FIELDSET >
<LEGEND><b>Step One: Personal Information</b></LEGEND>
<form  action="" method="">
Username: <INPUT class="loginatt" type="text" name="user" maxlength="10" SIZE="20">
Password: <INPUT class="loginatt" type="password" name="password" maxlength="10">
<input class="nomarg" type="submit" value="Account Login!" alt="Account Login!">
</form>
</FIELDSET>

</body>
</html>

Open in new window

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34977056
I am curious too. I'll check later
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 700 total points
ID: 34978310
valign="top" would help on the table rows, but your padding is also making it hard
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question