dlearman1
asked on
How to center-justify a multi-line text block that is centered in div using flex?
I'm new to flex. Here is what I'm trying to use so far?
.communityPromo{
width:100%;
max-width: none !important;
display: flex;
flex-flow: row wrap;
justify-content: center; // center text block
align-content:center;
This centers the text block in the div, but the text block remains left-justified.
}
.communityPromo{
width:100%;
max-width: none !important;
display: flex;
flex-flow: row wrap;
justify-content: center; // center text block
align-content:center;
This centers the text block in the div, but the text block remains left-justified.
}
Can you show us more of your code - the style is not enough to replicate the problem.
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Julian... that worked great
You are welcome.