I want the text of a div to be some lines bellow of the first line of the div if the length is little.
How can I set this text to have a distance form the first line of the div?
The check of the length of this text can be done with css and not with javascript?
I want this
Code:
<div>{little text is here}




{I want it here}





</div>
Now I use this (with mootools)
Code:
m= $('content_text').innerHTML;

 if (m.length<400)
 $('content_text').setStyle("text-align","center");
$('content_text').setStyle("margin-top","10em");
$('content_text').setStyle("margin-bottom","-10em");