Bit of a newbie question! Ive been googling this for some time now. I would like to right align a piece of text without creating breaks above or below it. Ex:
blah blah blah blah blah
--------------------------------------->blah blah blah
blah blahblah blah blah
Thanks!
How to right align without header or paragraph tags?
Started by nomonaynohonay, May 26 2010 07:12 PM
5 replies to this topic
#1
Posted 26 May 2010 - 07:12 PM
|
|
|
#2
Posted 27 May 2010 - 01:07 AM
<p>blah blah blah blah blah <span align=right>blah blah blah blah blah </span> blah blah blah blah blah blah blah</p>
You mean something like that?
#3
Posted 27 May 2010 - 10:51 PM
Hey Zakk. Not sure if im doing this wrong but the output is simply one line for me: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. With no change in alignment or breaks. Any suggestions? Thanks for the help.
#4
Posted 27 May 2010 - 10:55 PM
Easy way, add the <br/>
or if using tables.
Adding a SPAN into the PARAGRAPH tag is useless because the SPAN is inline. so need to use something that is BLOCK styled without using the STYLE Tag.
blah blah. <br/> <div align="right">blah blah!</div> <br/> blah blah.
or if using tables.
<table> <tr> <td> blah blah </td> </tr> <tr> <td align="right"> blah blah </td> </tr> <tr> <td> blah blah </td> </tr> </table>
Adding a SPAN into the PARAGRAPH tag is useless because the SPAN is inline. so need to use something that is BLOCK styled without using the STYLE Tag.
#5
Posted 28 May 2010 - 04:54 PM
Thanks AndyW! The div tag works perfectly. I needed it for dates for job titles in my resume without skipping lines!
#6
Posted 28 May 2010 - 10:19 PM
Not a problem. Glad to be of assistance.


Sign In
Create Account

Back to top









