Turante / sandbox-theme

Automatically exported from code.google.com/p/sandbox-theme
0 stars 0 forks source link

CSS: Don't use div-prefixes for IDs #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
IDs should exist only once per document, therefore qualifying the element
having an ID is redundant and should be omitted.

steps to reproduce the problem?
1. Install Wordpress and Sandbox, activate a Sandbox childtheme
2. Modify an div-Element with an ID via a childtheme (eg. div#menu)

Notice that this works:
div#menu {
color:#444;
}
But this doesn't:
#menu {
color:#444;
}

I was using Wordpress 2.9.2 and Sandbox 1.6.1.

I created and attached a patch.

Original issue reported on code.google.com by Bengt.Lueers@gmail.com on 14 Mar 2010 at 12:10

Attachments: