• Here’s a quirk (I think) I’ve found in CSS (and Beel confirmed it):
    If you’ve got sidebar menu items generically defined in the CSS under the #menu ul li ul li a (or a similar nesting), color, margin, and padding elements (and maybe more) are strictly governed by that #menu nesting, and even if you’ve got

    • elements nested within that menu that change the color or margin, etc., of a SPECIFIC element, the menu nesting trumps those subsequent definitions.
      I had to reorganize my entire menu <div> last night because one specific

    • would not conform to the CSS rules, and thinking I was crazy, I asked Beel to do the same, and he found the same quirk.
      So, any CSS gurus out there know what I’m talking about? And do you concur?
      This was the nesting of my index.php:
      <div id="menu">

      blah blah blah
      <li id="fubar">
      <php call>

    </div>
    Is there sometimes an inherting conflict in CSS between div IDs and li IDs if the menu is grouped into one big

      ? I’m not sure what the issue is, I’m just stabbing in the dark.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Despite the name, I’d bet Slappo would love to kiss you! He has been thumping his head against the desk over this for quite some time!

    @ ohdear. Shurely not right to have 2 ids for different elements with the same name *main* in your example. Please give the poor browser a chance.

    Hehe no kiss necessary ?? I hoped I helped Slappo ??
    Hmm, where do I give 2 ids for different elements, the same name?
    As far as I can see I had one instance of each id in the html part of the example.

    Thread Starter slappo

    (@slappo)

    I just got back to this! I’m going to check this out. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS quirk?’ is closed to new replies.