# Typing absolute values [closed]

When I type this

I get this

How can I get the fraction properly centred?

Edit: testing another version here (typed, not pasted)

$$\left|\frac xy\right|$$

displays correctly in Chrome and in the Android app

Pasted from 3 versions that display wrongly in the sandbox: $$\left|\frac xy\right|$$

$$\left|\frac xy\right|$$

$$\left|\frac {x+1}{y+1}\right|$$

Further edit: I think it might be the browser getting overloaded. I noticed after inserting the above versions that they the two that did display were momentarily misaligned as in the screenshot, then corrected themselves.

Update: I left the misdisplayed version open in Chrome while I went away to do something else. When I came back 15 minutes later, it was displaying properly. That doesn't prove that it's the browser struggling, but I'm happy to assume that it is. So problem solved.

## closed as off-topic by Matt Samuel, Shailesh, JonMark Perry, José Carlos Santos, TheSimpliFireDec 10 at 8:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question does not appear to be about Mathematics Stack Exchange or the software that powers the Stack Exchange network within the scope defined in the help center." – Matt Samuel, Shailesh, JonMark Perry, José Carlos Santos, TheSimpliFire
If this question can be reworded to fit the rules in the help center, please edit the question.

• Thanks. I'll see if it works for me (I tried a few versions but I don't think I quite had that one.) – timtfj Dec 4 at 22:05
• I've not tried yet - - phone browser is grinding to a halt. I'll reply again when I have, though. – timtfj Dec 4 at 22:37
• @amwhy It seems not! I'm til getting the alignment issue. It's currently in the top slot in the sandbox. First version is pasted from your comment, second is typed in and supposedly identical but gives an error, third version is pasted from yours then edited. – timtfj Dec 4 at 22:52
• Pasted into a comment $$\left|\frac xy\right|$$ – timtfj Dec 4 at 22:53
• It displays fine in the comment, but not in an answer in the sandbox. Maybe it's a bug there. Typing it here: $$\left|\frac xy\right|\$$ – timtfj Dec 4 at 22:54
• It seems like it. I think it was just the browser struggling with all the MathJax in the sandbox and giving up before it got as far as adjusting the alignment. Thanks for the help! – timtfj Dec 4 at 23:37
• Actually the one in the comment "Typing it here:' is just displaying as code, but I won't bother about that unless it keeps happening in comments. – timtfj Dec 4 at 23:41
• How bizarre. I'm guessing something didn't like the colon I had before before it, maybe. – timtfj Dec 5 at 0:20