Jump to content

[SOLVED] need help with aligning


runnerjp

Recommended Posts

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 :P lol

Link to comment
https://forums.phpfreaks.com/topic/40698-solved-need-help-with-aligning/
Share on other sites

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"); } ?> 

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>

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"); } ?> 

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.