Grow your CSS skills. Land your dream job.

Line-break before mark-tag in Opera

  • # July 4, 2011 at 5:53 pm

    Hi guys,
    I’ve just discovered a strange behavior in Opera (11.50). It breaks the line before <mark>-tags, just like <br />. I checked the DOM and applied styles in Dragonfly: The element is set to display:inline and there are no other styles (nor scripts) that could cause this effect, as far as I can see. Didn’t find anything about this.

    Here is an example: http://www.belleslettres.eu/artikel/mark.php . The word ‘mark’ is set in <mark>-tags in the text.

    If someone has heard about it, thanks for help.

    Runa

    # July 4, 2011 at 9:38 pm

    It’s fine for me in Chrome 12, Firefox 5, Safari 5 and IE 9.

    # July 4, 2011 at 11:43 pm

    It’s about Opera, not Chrome 12, Firefox 5, Safari 5 or IE 9

    # July 5, 2011 at 12:00 am

    Sorry mate, teaches me not to skim read…

    # July 5, 2011 at 2:30 am

    Hello,

    Before mark you have a ‘p’ that is a block element

    # July 5, 2011 at 10:19 am

    I see, lets close this thread. I’ll try to contact Opera. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".