Log In · Register

 
Text Alignment
imasharkbear
post Feb 28 2009, 01:10 AM
Post #1


Member
**

Group: Member
Posts: 10
Joined: Feb 2008
Member No: 624,564



Text Alignment is pretty simple. But two separate text alignments for one line? I'm stumped.

Lets say I have a DIV content box.
I write something. I make it left aligned. Then I want a space between the text and other text that i want right aligned.
Hmm, like this:

[Favorite Color:_______________________________________Green]
For the sake of confusion, the brackets are the DIV Border.
And the underscores are the "space" between.


I tried a P alignment. But that dropped the text down a line.
and i spent about 10 minutes figuring out how many nbsp i could fit in... didn't work.



Heres a pic:
http://i525.photobucket.com/albums/cc338/c...ldesign/DIV.png


its the text that is split down the middle.




Thank You.
 
 
Start new topic
Replies
Mikeplyts
post Feb 28 2009, 02:22 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



You could just use the table code Fawaz provided or you could try using a div tag.
 

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: