Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Scheduled logout

Hello, in order to introduce new security features and enhance your experience with Opera Forums we have to terminate all sessions that were started before Monday, March 25, 15:00 UTC.
If you find yourself logged out please rest assured that this is completely normal and expected. To participate in the discussions after that date you have to sign-in again using the "Login" button in the upper-right corner of the page.
This is a one-time action. Sorry for any inconvenience!

CSS selector fails

  • vsn 51.0.2830.40

    selector "div:first-child + p:first-letter" fails only in Opera and only if it is in an external style sheet.

    It works in Opera if it is in-line and works properly in Chrome, Firefox, Edge, IE (haven't checked Safari). The Stylesheet also "validates as CSS level 3 !" in W3 CSS test.

    Working properly, or course, means it selects the first letter of a <p> only if it immediately follows the first <div>

    more precisely the CSS is:

    .flowing div:first-child + p:first-letter {
    font-size: 3.2em;
    float: left;
    margin-top: .1em;
    margin-right: 0;
    line-height: .7;
    margin-bottom: 0; }

Log in to reply