Streaming live at 10am (PST)

Is there a way I can justify centred text?


#1

Hi,

Is there a way I can justify centred text?


Here is my public share link: LINK
(how to access public share link)


#2

There's a CSS text-align property for justify (so it's either centered of justify). You can add it through custom code:

In <head>

<style>
.yourclassname {text-align:justify}
</style>

However you should be aware that justofying text exist for a reason that has to do with printed text, on small columns, and to achieve good results, a good software (Indesign) + manual intervention is needed. When done by a browser, it renders poor results often, with no control on the orphans and widows. Also it's proven than a left aligned text is easier to read.

But I reckon a lot of people like justified text. I personally don't really understand why, but I respect it :)


#3

Thanks for the help @vincent


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.