Inefficient rules

More
13 years 9 months ago #1574 by trogladyte
Inefficient rules was created by trogladyte
I love this extn but, when running YSlow and Page speed, they came back with inefficient rules in it. Listing is below. I'm no code guru so wondered if someone who is could comment on just how "bad" these might be and whether (if they are bad) there's an easy fix.

TIA, Ian

Very inefficient rules (good to fix on any page):
• div#top div#nav ul Tag key with 2 descendant selectors and ID overly qualified with tag and ID overly qualified with tag
• div#nav ul li Tag key with 2 descendant selectors and ID overly qualified with tag
• div#nav ul li a Tag key with 3 descendant selectors and ID overly qualified with tag
• div#header_hotslider div#slide-holder img Tag key with 2 descendant selectors and ID overly qualified with tag and ID overly qualified with tag
• div#header_hotslider div#slide-holder div#slide-controls div#slide-nav a Tag key with 4 descendant selectors and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag
• div#header_hotslider div#slide-holder div#slide-controls div#slide-nav a.on Class key with 4 descendant selectors and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and Class overly qualified with tag
• div#nav ul li a Tag key with 3 descendant selectors and ID overly qualified with tag
Inefficient rules (good to fix on interactive pages):
• div#header_hotslider div#slide-holder div#slide-controls p.text Class key with 3 descendant selectors and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and Class overly qualified with tag
(inline block #1) has 1 very inefficient rules, 1 inefficient rules, and 0 potentially inefficient uses of :hover out of 9 total rules.
Very inefficient rules (good to fix on any page):
• div#header_hotslider div#slide-holder div#slide-controls div#slide-nav a Tag key with 4 descendant selectors and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag
Inefficient rules (good to fix on interactive pages):
• div#header_hotslider div#slide-holder div#slide-controls div#slide-nav ID key with 3 descendant selectors and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag and ID overly qualified with tag

Please Log in to join the conversation.

Time to create page: 0.322 seconds
Powered by Kunena Forum