runnerjp Posted March 1, 2007 Share Posted March 1, 2007 hey how do i align the login area to the left so that a can have the text to the side?? at the moment the text spears under the login box <p align="left"> <?include("include/loginbox.inc.php"); ?> </p> <? include("include/adminerr.inc.php"); if($auth[error]) { include("include/messages/index_unverified.inc.php"); } else { include("include/messages/index_verified.inc.php"); } ?> thank you update: sorry shudda put this in ccs or html rlly cos its a positionin error...schoolboy error.. stil help wud be gr8 lol Quote Link to comment https://forums.phpfreaks.com/topic/40698-solved-need-help-with-aligning/ Share on other sites More sharing options...
MadTechie Posted March 1, 2007 Share Posted March 1, 2007 try using div instead <div align="left"> <?include("include/loginbox.inc.php"); ?> </div> <? include("include/adminerr.inc.php"); if($auth[error]) { include("include/messages/index_unverified.inc.php"); } else { include("include/messages/index_verified.inc.php"); } ?> Quote Link to comment https://forums.phpfreaks.com/topic/40698-solved-need-help-with-aligning/#findComment-197007 Share on other sites More sharing options...
runnerjp Posted March 1, 2007 Author Share Posted March 1, 2007 nope that didnt work..... here r the codes 4 login <form action="login.php" method="POST"> <table width="153" cellpadding="4" cellspacing="0" class="login_tbl"> <tr> <td height="46" colspan="3" align="center" class="login_cell"> <strong>Existing Members log in here :</strong></tr> <tr> <td width="61" class="login_cell"><p>Username</p></td> <td width="74" class="login_cell"><p> <input type="text" name="login" maxlength="20" size="10" style="font-family:Arial,sans-serif; font-size:9pt;" /> </p></td> </tr> <tr> <td class="login_cell"><p>Password</p></td> <td width="74" class="login_cell"><p> <input type="password" name="password" maxlength="20" size="10" style="font-family:Arial,sans-serif; font-size:9pt;" /> </p></td> </tr> <tr> <td height="25" colspan="2" class="login_cell"><p align="center"> <input name="submit" type="submit" style="font-family:Arial,sans-serif; font-size:9pt;" value="Login!" /> </p></td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/40698-solved-need-help-with-aligning/#findComment-197113 Share on other sites More sharing options...
MadTechie Posted March 1, 2007 Share Posted March 1, 2007 That seams fine, i really can't see where you have a problem ? where are you putting the code <p align="left"> <?include("include/loginbox.inc.php"); ?> </p> <? include("include/adminerr.inc.php"); if($auth[error]) { include("include/messages/index_unverified.inc.php"); } else { include("include/messages/index_verified.inc.php"); } ?> Quote Link to comment https://forums.phpfreaks.com/topic/40698-solved-need-help-with-aligning/#findComment-197340 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.