Jump to content
psylentan

:empy question

Recommended Posts

hi every one! im new to this forum, nice to meet you alli 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/

Share this post


Link to post
Share on other sites

You HTML structure is really quite confusing. You should make sure it passes validation first. You're using an XHTML doctype, but then using HTML syntax and some HTML 5 elements. There are also a lot of useless things, like style="display:" on a lot of your elements.

 

I don't see any empty elements that are targeted by your selector. An element is only considered empty if there is nothing between the opening and closing tag, including spaces and line breaks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...