una texto tag para pagina justificar justificado imagen etiquetas con como comando codigo ajustar html css twitter-bootstrap

tag - justificar texto con imagen html



¿Es posible justificar el texto dentro del framework bootstrap? (3)

Esta podría ser una pregunta tonta, pero estoy seguro de que no soy el único que se pregunta.

Soy consciente de las clases de alineación: <p class="text-center">Text Centered within the block element</p> <p class="text-right">Text aligned to the right within the block element</p> <p class="text-left">Text aligned to the left within the block element</p>

¿Hay un conjunto de clases en Twitters Bootstrap Framework que justifique el texto?

por ejemplo, <p class="text-justify">Sample Text Goes Here</p>

¿Por qué parece que bootstrap no incorpora una función de utilidad como text-align: justify ?


En Bootstrap 3 puedes usar esto:

<p class="text-justify">Justified text.</p>


No. Pero puedes agregar una nueva clase en bootstrap.css

.text-justify { text-align: justify; }

Actualizar

Las versiones anteriores de bootstrap no admitían text-justify . Pero bootstrap 3 ha agregado una clase text-justify .


Puede agregar a su main.css , custom.css , o el archivo *.css que haya creado, o directamente a la parte superior del archivo bootstrap.css :

.text-justify { text-align: justify; }

Si agrega esto directamente al archivo bootstrap.css , a partir de v3.0.0, iría de esto:

/*! * Bootstrap v3.0.0 * * Copyright 2013 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world by @mdo and @fat. */ /*! normalize.css v2.1.0 | MIT License | git.io/normalize */ article, aside, details, ... ... …

a

/*! * Bootstrap v3.0.0 * * Copyright 2013 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world by @mdo and @fat. */ /*! normalize.css v2.1.0 | MIT License | git.io/normalize */ .text-justify { text-align: justify; } article, aside, details, ... ... …