page is showing in Chrome but not in Firefox

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Post Reply
osherdo
Posts: 3
Joined: February 8th, 2016, 11:42 am

page is showing in Chrome but not in Firefox

Post by osherdo »

I have this fiddle:

https://jsfiddle.net/v4qL77e1/5/

It does work well in google chrome but not in Firefox.

The contenteditable div is just not showing in it.

Can you tell me please how can I take care of it?

thanks.
User avatar
DanRaisch
Moderator
Posts: 127188
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: page is showing in Chrome but not in Firefox

Post by DanRaisch »

Moving to Web Development.
osherdo
Posts: 3
Joined: February 8th, 2016, 11:42 am

Re: page is showing in Chrome but not in Firefox

Post by osherdo »

EDIT: It is showing- yet when you type text inside and then remove it - the placeholder is gone and not showing again.
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: page is showing in Chrome but not in Firefox

Post by jscher2000 »

I watched in the Inspector. When I deleted the last character, Firefox inserted the following into the div:

Code: Select all

<br></br>
That prevents it from becoming empty again.
osherdo
Posts: 3
Joined: February 8th, 2016, 11:42 am

Re: page is showing in Chrome but not in Firefox

Post by osherdo »

Hey @jscher2000 thanks for replying.

With which inspector did you noticed that?

And do you know how can I prevent firefox from doing so?
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: page is showing in Chrome but not in Firefox

Post by jscher2000 »

osherdo wrote:With which inspector did you noticed that?
It's one of the Developer tools. https://developer.mozilla.org/docs/Tools/Page_Inspector
osherdo wrote:And do you know how can I prevent firefox from doing so?
Sorry, no idea.
FoxyEmma
Posts: 3
Joined: November 20th, 2015, 1:40 am

Re: page is showing in Chrome but not in Firefox

Post by FoxyEmma »

I've had a similar issue that my old Joomla blog never showed properly on Firefox, but it would usually display correctly on Chrome and IE. But I also found a few other bugs with Joomla and found the CMS rather confusing, so I switched to WP (best decision ever!)
johnmacd
Posts: 34
Joined: June 13th, 2013, 4:27 am

Re: page is showing in Chrome but not in Firefox

Post by johnmacd »

You can try to clear the cache.
Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
WordPress Developer Miami providing best WordPress Websites for small businesses.
Post Reply