Switch to full style
HTML code examples
Post a reply

how to change the alignment text in html

Sat Dec 17, 2011 1:47 am

This example show you how to change the alignment text in within html element like in this case table cells.
Code:
    
<HTML>
<
Title>align of text</Title>
<
BODY>
    <table width="570" border="2" cellspacing="2" cellpadding="2">
        
        
<tr>
        <td align="bottom">text 1</td>
        <td align="center">text 2</td>
        </tr>
        <tr>
        <td align="left">text 3</td>
        <td align="right">text 4</td>
        </tr>
    </table>
</
BODY>
</
HTML>
 




Post a reply
  Related Posts  to : how to change the alignment text in html
 Text alignment problem with IE     -  
 text alignment to right in a awt list box     -  
 Change the text indent in the paragraph     -  
 change the direction of text in your page     -  
 change Font of text in java     -  
 Forum Description Text color change - Need Help     -  
 Change and get html content of element     -  
 Change the body tag background in html     -  
 wrapping text around image in html     -  

Topic Tags

HTML Direction, HTML Table