Jump to content

Recommended Posts

Hi there

 

I'm trying to move the small tables from center to the left but it doesn't work. Has anyone got an idea how to do it, please?

 

Thanks

 

visitor

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-ch" lang="de-ch">
<head>
    <title>Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="Stylesheet" href="styles.css" />
</head>
<body>
          
     <br />
      
     <div>
      <fieldset>
       <legend>SELLER DETAILS</legend>
        <table>              
         <tr>
           <td align="right">TRANSFER AGENT</td>

           <td colspan="4">
            <input class="norm" type="text" size="58" name="TA_Name" id="TA_Name" /></div></td>
          </tr>

          <tr>                  
           <td align="right">BIC (TA)</td>
                
           <td><input class="norm" type="text" name="TA_BIC" id="TA_BIC" /></div></td>
          </tr>
                
          <tr>
           <td align="right">CUSTODIAN A/C WITH T/A</td>

           <td><input class="norm" type="text" name="cust_ac_ta" id="cust_ac_ta" value=""/></td>
          </tr>

          <tr>
           <td align="right">REMARKS</td>
                 
           <td colspan="4">
            <input type="text" size="58" class="roundcorner_textbox" name="comment" id="comment" /></div></td>
           </tr>
          </table>
         </fieldset>
        </div>
      
        <br />
        
        </body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/216013-move-tables-from-center-to-the-left/
Share on other sites

  • 3 weeks later...

It's just a big image. Here it is. Still not clear what he's trying to change from center "to the left" though. It'd be nice to see the code on the page to determine if there is a stylesheet.

 

[attachment deleted by admin]

Here we go. I put the stylesheet pointed to in the above code together with the domain in that browser screen grab and pulled the stylesheet. The body tag has a "text-align:center;" that's being inherited by your table.

 

body {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 12px;
background-color: #FFFFFF;
text-align: center;
margin: 0;
padding: 0;
}

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.