Adjacent selectors not supported in any MSIE?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stan Brown

    Adjacent selectors not supported in any MSIE?

    Brian Wilson's Index Dot CSS at
    <http://www.blooberry.c om/indexdot/css/supportkey/syntax.htm> says
    that no version of MSIE supports adjacent sibling selectors, such as
    p+p.

    Is that actually true?

    I use p+p pretty extensively, because I like the first paragraph of
    a group to be flush left and with a top margin, while later
    paragraphs in a group are indented and have a zero top margin.
    Example:

    Under "Sample Size" the first three paragraphs should be grouped as
    described above (and they are, in Mozilla and Opera).

    --
    Stan Brown, Oak Road Systems, Cortland County, New York, USA

    HTML 4.01 spec: http://www.w3.org/TR/html401/
    validator: http://validator.w3.org/
    CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
    2.1 changes: http://www.w3.org/TR/CSS21/changes.html
    validator: http://jigsaw.w3.org/css-validator/
  • Kris

    #2
    Re: Adjacent selectors not supported in any MSIE?

    In article <MPG.19d8b76822 a52bcc98b40f@ne ws.odyssey.net> ,
    Stan Brown <the_stan_brown @fastmail.fm> wrote:
    [color=blue]
    > Brian Wilson's Index Dot CSS at
    > <http://www.blooberry.c om/indexdot/css/supportkey/syntax.htm> says
    > that no version of MSIE supports adjacent sibling selectors, such as
    > p+p.
    >
    > Is that actually true?[/color]

    IE5/Mac understands it. That's it.

    --
    Kris
    kristiaan@xs4al l.netherlands (nl)

    Comment

    • Stan Brown

      #3
      Re: Adjacent selectors not supported in any MSIE?

      In article <kristiaan-85870C.14422122 092003@news1.ne ws.xs4all.nl> in
      comp.infosystem s.www.authoring.stylesheets, Kris
      <kristiaan@xs4a ll.netherlands> wrote:[color=blue]
      >In article <MPG.19d8b76822 a52bcc98b40f@ne ws.odyssey.net> ,
      > Stan Brown <the_stan_brown @fastmail.fm> wrote:
      >[color=green]
      >> Brian Wilson's Index Dot CSS at
      >> <http://www.blooberry.c om/indexdot/css/supportkey/syntax.htm> says
      >> that no version of MSIE supports adjacent sibling selectors, such as
      >> p+p.
      >>
      >> Is that actually true?[/color]
      >
      >IE5/Mac understands it. That's it.[/color]

      [bitter tone of voice] That's frickin' amazing.

      (I'm ticked at Microsoft, not at you.)

      Just today I did a search at Microsoft's site and found something
      about Microsoft's realizing its commitment to make IE _4_ support
      style sheets fully. I knew there were some dark corners, but p+p???

      --
      Stan Brown, Oak Road Systems, Cortland County, New York, USA

      HTML 4.01 spec: http://www.w3.org/TR/html401/
      validator: http://validator.w3.org/
      CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
      2.1 changes: http://www.w3.org/TR/CSS21/changes.html
      validator: http://jigsaw.w3.org/css-validator/

      Comment

      • Brian

        #4
        Re: Adjacent selectors not supported in any MSIE?

        Stan Brown wrote:[color=blue]
        >[color=green][color=darkred]
        >>> Brian Wilson's Index Dot CSS at
        >>> <http://www.blooberry.c om/indexdot/css/supportkey/syntax.htm>
        >>> says that no version of MSIE supports adjacent sibling
        >>> selectors, such as p+p.[/color][/color]
        >
        > [bitter tone of voice] That's frickin' amazing.[/color]

        I sympathize with the bitterness. But I don't think that MSIE/Win's
        shortcomings could suprise me any more.
        [color=blue]
        > Just today I did a search at Microsoft's site and found something
        > about Microsoft's realizing its commitment to make IE _4_ support
        > style sheets fully. I knew there were some dark corners, but p+p???[/color]

        It forces one to use the class attribute more often than would
        otherwise be necessary, and even then precludes using css in certain
        situations.

        --
        Brian
        follow the directions in my address to email me

        Comment

        • Henri Sivonen

          #5
          Re: Adjacent selectors not supported in any MSIE?

          In article <MPG.19d8b76822 a52bcc98b40f@ne ws.odyssey.net> ,
          Stan Brown <the_stan_brown @fastmail.fm> wrote:
          [color=blue]
          > that no version of MSIE supports adjacent sibling selectors, such as
          > p+p.
          >
          > Is that actually true?[/color]

          On the bright side, if you write p+p, Windows IE ignores the selector.
          If you write p + p, Windows IE 5.0 treats the selector as p.

          --
          Henri Sivonen
          hsivonen@iki.fi

          Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html

          Comment

          Working...