I know this is a common problem but the solutions I have found online have not worked for me.
With a structure like this:
<div class="about-info">
<p>This is the content. There may be a lot of content spanning multiple lines depending on what the site is doing right now.</p>
</div>
.about-info
does not allow .about-info p
to fill the container, truncating the words shown. How can I get .about-info
to allow all of p
to be displayed?
.about-info { position:relative; z-index:-700; }
.about-info p { z-index: -800; position:absolute; top:20px;}
You can see what I am talking about HERE. Using height:100%;
make the div much too large, filling more area than needed. Thanks for any ideas!