6 jun
2017

Is it possible to center a div with another element that wouldn't affect the centering?

Is it possible to center a div in a div and have an element on the right in the first div but not effect the centering of the other element. For the image below, could Text1 still be in the center of the blue div independent of Text2 being on the right?

https://i.stack.imgur.com/1pXav.png

(Text1 is relatively centered when there isn't that much text in it but it is still slightly off center.)

COMENTARIOS

DEJA TU COMENTARIO

© 2017 website by Rubit Corporation