Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set two different text-alignments in same paragraph?

Status
Not open for further replies.

jamsa

Programmer
Oct 5, 2001
18
US
I have a simple question that I have not been able to figure out. I have a paragraph which is a quote, aligned left. Then at the bottom, I want to have the persons name and title aligned right, without making a new paragraph. In Dreamweaver, using span tags, this works. When I test it in IE and NS it aligns left.

Does anywone know how to achieve this?
 
You can use the <div> tag ...just put this before the quote
Code:
 <div align=&quot;left&quot;>....QUOTE...</div> and then put this by the Authors Name <div align=&quot;right&quot;>...Author's name...</div>
I can't remember if div is supported in Netscape but if it isn't just trade out the div part with layer somehting like this...<layer align=&quot;left&quot;>
Hope that helps.
Jammer1221
 
Yes, I figured it out. Your answer was precisely correct.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top