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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.