Streaming live at 10am (PST)

Margin works like text-indent when an element is set to Display: Inline


#1

In Text Link element margin-left acts same as text-indent. It shifts only the first line, not the whole block. See the screenshot:

upd: Not sure if it's a bug, though. If I set display:block, everything starts working as I expect. It's just a little confusing.


#2

Hey @pjs Would you mind enabling a Share link. Looks like maybe a float before or behind. It could even be an Inline element aligning weirdly with a Block / Inline Block element. A shared link will help resolve this :).


#3

@pjs Yep, this looks like default browser layout behavior for display: inline; links. You may want to try inline-block, which has similar properties to block. Here's a really simple test case that shows browser behavior: http://jsbin.com/xapivitita/1/edit?html,output


#4

Yeah, got it, thanks.

Also, shift+space doesn't type non-breaking space anymore. Is it bug or something's changed?


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.