Jump to content

Why won't my text boxes align


ryanfilard

Recommended Posts

Here what I did:

to container_12 I add 100% width =>

<div class="container_12" style="width:100%">

 

And replace all this

                <div class="grid_3">
                    <div id="rss">
                     <form action="login.php" method="post">	
					 <span>Log In</span>
					 <input name="username" type="text" maxlength="15"/> 
					 <input name="password" type="password" />
				 </form>
                    </div><!--rss-->
                </div><!--grid_3-->

 

With this:

<div class="grid_3" style="width: 300px;">
<div style="float:left; width: 210px;">
	<form action="login.php" method="post">
	<span style="float:left;">Log In</span>
	<input name="username" type="text" maxlength="15" style="float:right;">
	<span style="clear:both; float:left;">Password</span>
	<input name="password" type="password" style="float:right;">
	</form>
</div>
<div id="rss" style="float:right; width: 40px;"></div>
</div><!--grid_3-->

 

You are going to figure out where the RSS goes and maybe change the color, but it should align the login pass and the feed for ya.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.