Home › Forums › CSS › CSS selector for parent with blank element › Reply To: CSS selector for parent with blank element
November 19, 2017 at 11:29 pm
#262795
idan
Participant
That sounds like a good start, I do have these classes on the li
elements
<li id="size1" class="size">
<p>Queen</p>
<p>80" x 90"</p>
</li>
<li id="size2" class="size">
<p>King</p>
<p></p> <!-- N/A -->
</li>
The values in the <p>
element vary across each item, some items have a value only in Queen, some have King, others have both