Ultimately I want to suppress the display of a "selected h3" tag, so its not be displayed when a page is being printed.
Normally I would code something like this:
h3 {display:none;}
If I knew exactly how to select the h3 tag in the code example below.
So how do I select the <h3> tag containing the text/verbiage “Success Stories” just before the <div> tag with the
class of “verticalCallouts” shown in the abbreviated code example shown below:
<h3>Success Stories</h3>
<div class="verticalCallouts">...</div>
I've tried everything I can think of and also have not found any examples of selecting a tag before a known tag and class.
This is part of a project to create a print.css file, that will eventually be used to print most if not all of the pages on our school website.
Any help would be greatly appreciated.
Thanks.
Henry



Reply With Quote

Bookmarks