splitting a line of text

liunx

Guest
Hello...I'm new to this area. Taking a short break from Visual Basic and decided to see if I could do a HTML resume to put up under my ISP (Comcast). I want to keep the resume as basic as possible.<br />
<br />
Everything is looking ok so far but I am wondering how I can code a line where part of the text is left justified (co. name and city/state) and the last part, the dates worked is right justified?<br />
<br />
IE:<br />
<br />
<B>COMPANY ABC</B>, Denver CO <space in here> 1/2000-4/2000<br />
<br />
Hope that makes some kind of sense.<br />
<br />
Thanks<!--content--><p style="text-align:left;">Left text<br />
<span style="float:right;">right aligned text</span></p><br />
<br />
like that?<br />
<br />
Or You could use a table, etc.<!--content-->tried it but the right aligned text would go on the next line rather than keeping it on the same line.<br />
<br />
I may go with the table and use invisible lines for those sections....<br />
<br />
Thanks!<!--content-->How about this:<br />
<br />
<div style="width: 200px;"><br />
<span style="float: left;">Left text</span><br />
<span style="float: right;">right aligned text</span><br />
</div><!--content-->Pyro!!! thank you! that worked very well. I had to change the 200 to something else to make it work for me better but it worked!<br />
<br />
Thank you....!<!--content-->You are very welcome... :)<!--content-->Originally posted by DaveSW <br />
<p style="text-align:left;">Left text<br />
<span style="float:right;">right aligned text</span></p><br />
<br />
<br />
LOL - it was the wrong way round. the left aligned text should have been after the span for it to work.<br />
<br />
:(<!--content-->
 
Back
Top