Denis
Denis

Reputation: 2469

Possible Chrome li width render issue

I have used this template , when decide to check this layout in Chrome and found tricky css bug as for me.

Have a look at list in top of the page: Sign in - Sign up - My account.
That's how I see this.
enter image description here

Zoom normal, Chrome version 27.0.1453.116 m, Windows 7

I have played about 30 minutes with this, but still did not found good solution.

Other browsers show this correct, even Safari and IE!

Does someone have any ideas what this could be?

If set width of UL bigger - Chrome will show it correct, but why the hell I should think about width?

Upvotes: 1

Views: 502

Answers (1)

Steven Don
Steven Don

Reputation: 2431

What Chrome does is quite valid, though perhaps unexpected. Adding a rule to prevent wrapping makes it work as you expected in Chrome:

white-space: nowrap;

Upvotes: 2

Related Questions