[SOLVED] Style p inside div
Hi all,
This has probably been answered a million times and I do know the answer but for some reason, it doesn't work for my page so I'm thinking it might have something to do with how Atahualpa is configured. Basically, within a particular div that I set up, I want to remove the top margin of paragraphs. I know I'm supposed to do this... Code:
.mydiv p { margin-top: 0px; } It does work when I individually style each p like this... Code:
<p style="margin-top: 0px;"></p> Any suggestions? |
I’ll take a look when my power comes back on. I replying from my phone right now. We were hit with a northeaster and 95% of my town is without power.
Have you used a code explorer to see what other css might being applied to the element? |
That was a great idea.
Through the Google Chrome's native code explorer, I found that the following element was the correct element to manipulate. Code:
div.post-bodycopy p { } Daniel |
And hope you and your town get back your power soon!
|
All times are GMT -6. The time now is 01:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.