I utilize Ckeditor on my website for adding articles. These articles are typically sourced from Word documents and contain footnotes. In the latest Ckeditor build (7125), I've managed to link each article to its respective footnote using automatic anchors. Here is the link to the initial footnote (which refers back to the source).
<a href="#_ftn1" name="_ftnref1" title="">[1]</a>
<!-- This is the footnote -->
<div id="ftn1">
<a href="#_ftnref1" name="_ftn1" title="">[1]</a>
First footnote. I want this to be highlighted...
</div>
Each footnote is enclosed within a div element as shown.
By applying the following CSS, I was able to highlight the <a>
:
a:target { background:yellow; }
My query is: How can I emphasize the entire <div>
that houses the child <a>
? (Using 'ftn1' as an example.)
Thank you!