All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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: . The word ‘mark’ is set in <mark>-tags in the text.

    If someone has heard about it, thanks for help.


    # July 4, 2011 at 9:38 pm

    This reply has been reported for inappropriate content.

    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

    This reply has been reported for inappropriate content.

    Sorry mate, teaches me not to skim read…

    # July 5, 2011 at 2:30 am


    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed