Total members 11894 |It is currently Thu Nov 21, 2024 11:50 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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>
 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  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 Font of text in java     -  
 Change the text indent in the paragraph     -  
 change the direction of text in your page     -  
 Forum Description Text color change - Need Help     -  
 Change the body tag background in html     -  
 Change and get html content of element     -  
 wrapping text around image in html     -  



Topic Tags

HTML Table, HTML Direction
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com