HighDots Forums  

Problems with text-alignments.

alt.html alt.html


Discuss Problems with text-alignments. in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fro
 
Posts: n/a

Default Problems with text-alignments. - 04-07-2008 , 08:16 PM






Hi,

very often I need to put two short pieces of text in one line such
that the first piece is aligned to the left of the line and the second
one to the right. The way I do it is as following:

<table width='100%' border='0'><tr><td>
<div align='left'> piece 1 </div>
</td><td>
<div align='right'> piece 2 </div>
</td></tr></table>

But I think it is not an elegant way to solve the problem. Do you know
a better one? (Pleas do not tell me to go to work in MacDonald's )

Reply With Quote
  #2  
Old   
Neredbojias
 
Posts: n/a

Default Re: Problems with text-alignments. - 04-07-2008 , 11:44 PM






On 07 Apr 2008, Fro <showandbeshown (AT) gmail (DOT) com> wrote:

Quote:
Hi,

very often I need to put two short pieces of text in one line such
that the first piece is aligned to the left of the line and the second
one to the right. The way I do it is as following:

table width='100%' border='0'><tr><td
div align='left'> piece 1 </div
/td><td
div align='right'> piece 2 </div
/td></tr></table

But I think it is not an elegant way to solve the problem. Do you know
a better one? (Pleas do not tell me to go to work in MacDonald's )
Burger Koenig, der hamburger fuhrer, uber alles!

As asdf implied, read-up on floats (but don't let them rain on your
parade...)

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.