Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Strange Nested Element Issue Re: [Solved] Strange Nested Element Issue

#75143
SmashDeveloper
Participant
#home p, #about p, #section p {
margin-top: 45px;
font-family: "ff-nuvo-web-pro-1", "ff-nuvo-web-pro-2";
color: #fff;
background-color: rgba(0, 0, 0, 0.7);
padding: 7px 10px;
width: 550px;
}

You would need to change this to:


#home p, #about p, #about ul #section p { /* add the other elements you want to use... it's now hardcoded in but it should work */
margin-top: 45px;
font-family: "ff-nuvo-web-pro-1", "ff-nuvo-web-pro-2";
color: #fff;
background-color: rgba(0, 0, 0, 0.7);
padding: 7px 10px;
width: 550px;
}