1 reply [Last post]
psylentan's picture
Last seen: 7 years 44 weeks ago
Timezone: GMT+2
Joined: 2015-01-31
Posts: 1
Points: 2

hi every one! im new to this forum, nice to meet you all

i have done a really wide research trough the web (still havent found what i need)

im an SEO manager of a websiet that someone built. im working on some basic css for subcategories in that website,
im trying to select an empty li that appears (not sure about the reason, i believe it has something with the odd/even stuff)
and i just cant select it right. it shows an empty li on pages that have even number of li items and i just want to make it display: none; but cant select it right.

can you guys explain please?

this is an example page with the issue - http://www.kabbalahjewelrydesigners.com/hamsa-jewelry/

stiletto's picture
Last seen: 7 years 41 weeks ago
Timezone: GMT+2
Joined: 2015-02-24
Posts: 1
Points: 1

:empty pseudo class

selects elements that have no children at all (including text nodes). See this: