I'm very confused and frustrated. Here's what my HTML and the result without any element such as H2, H1, or UL.
<div id="about"> <p>2 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris arcu metus, tempor eget aliquet vel, luctus ut ligula. Curabitur et augue nunc, id molestie magna. Vivamus eu dui vitae est scelerisque adipiscing. Sed ac felis sapien, in scelerisque ligula. Suspendisse potenti. Aliquam lobortis, turpis ut hendrerit dictum, eros turpis tristique sem, at semper erat nulla ac nulla. Aliquam erat volutpat. Quisque vestibulum, augue non ultrices condimentum, nulla dui aliquam nunc, at eleifend justo odio eu augue. Donec egestas ipsum quis est tempor blandit. Phasellus tincidunt sem vel ligula ullamcorper sed gravida neque pretium. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus nunc arcu, commodo ut volutpat at, rutrum vitae felis. </p> </div>
Bam, it's wrecked. http://i153.photobucket.com/albums/s228/siioking/2-1.png Why does it completely split from all styling of the parent? I combed my CSS but failed to find the problem. I thought some nice person could take a quick look through and locate the problem.
#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; }
The result: http://i153.photobucket.com/albums/s228/siioking/1-7.png
However, if I simply add this in:
Bam, it's wrecked. http://i153.photobucket.com/albums/s228/siioking/2-1.png
Why does it completely split from all styling of the parent? I combed my CSS but failed to find the problem. I thought some nice person could take a quick look through and locate the problem.
Here you've styled the paragraph, but nowhere do you style the ul
You would need to change this to:
Edit: no, I see. Bad practice.