HTML & CSS
I point my firebug inspector a page element and get this
<h2 class="widgettitle">Recent Comments</h2>
How do I target that item (Recent Comments) from within my CSS ?
My apologies, I wasn't uploading the CSS file properly so couldn;t work out why it wasn't working.
I used :
that not really enough code to go on. You can target the headline using the code you posted but that's it. to target anything else would depend on how you have structured the surrounding and wrapping code.
If the code you posted isn't working, it means that there is a more specific rule being applied to that h2. So as dresden says, we need to see this in context.
This topic is now closed. New replies are no longer allowed.