View Full Version : Xanga >> Align/straight Text


me_like_agua
07-20-2003, 07:33 AM
When I want to post something, I want the texts to be aligned straight without words hanging off edges and I want the text to be closer together. I don't know how to put it in a simple question. Sounds confusing? Here's an example.

http://www.xanga.com/mysticxangel

incubaby
07-20-2003, 01:53 PM
i don't know the code, but i need it too :-/

MaGiCSuN
07-20-2003, 02:20 PM
put in your css:

body { text-align: justify }

or add right after <body> a div, likethis:

<body>
<div align="justify">
whole content here
</div>
</body>

Hope that helps

stargrl329
07-20-2003, 02:41 PM
you can add this code in your head tag so that each line of text will be closer together:
<style type="text/css">
body{ line-spacing:10pt; }
</style>

or if you want each letter to be closer together, try changing "line" in the above code to "letter". you can also change 10 to a higher or lower number to change the spacing amount.

me_like_agua
07-20-2003, 03:45 PM
Ahhh it's still not working. I don't know if I'm doing it right or what.