I'm a newbie with CSS and client side scripting but I'm noticing issues related to getting consistent cross browser displays. For example, creating a CSS navigation menu.
I'm simply trying to create a drop down menu with a green background which shows up perfectly in IE but not in Chrome. When I modify the background-color line in the CSS, the background is correctly displayed in IE but Chrome retains the prior background and so does Firefox.
#menu {
display: block;cc
width: 100%;
margin: 0;
padding: 10px 0 0 0;
list-style: none;
background-color: green;
background-image: linear-gradient(#444, #111);
border-radius: 50px;
box-shadow: 0 2px 1px #9c9c9c;
-webkit-transition-property: background-color, color;
-webkit-transition: 0.3s;
display: block;
// display: table-
I should mention that I'm also including a standard jQuery script (from the JQuery site) and also using JSF Primefaces on the server side.
The strange thing is that Chrome and FF are totally unresponsive to any modifications in the CSS. EG: If I delete the background-color line altogether, a white background will show up in IE but Chrome retains the same background. Before going deeper and positing my entire CSS I would first like to see if I am missing something simple.
I also deleted browsing history and disabled caching for all browsers. IE and FF behaved normally. There were no console errors when loading the application. IE displayed the correct background, FF did not and behaved like Chrome.
When first loading the application in Chrome, there was also no error. When refreshing the application in Chrome however, the following errors were produced in the console.
Uncaught SyntaxError: Unexpected end of input
primefaces.js.xhtml?ln=primefaces&v=5.0:17 Uncaught SyntaxError: Unexpected end of input
jquery-ui.js.xhtml:2128 Uncaught SyntaxError: Unexpected end of input
IonHome.xhtml:43 Uncaught ReferenceError: $ is not defined(anonymous function) @ IonHome.xhtml:43
IonHome.xhtml:43 Uncaught ReferenceError: PrimeFaces is not defined(anonymous function) @ IonHome.xhtml:43
IonHome.xhtml:43 Uncaught ReferenceError: $ is not defined(anonymous function) @ IonHome.xhtml:43
IonHome.xhtml:43 Uncaught ReferenceError: PrimeFaces is not defined(anonymous function) @ IonHome.xhtml:43
I've seen several questions here before also about issues between Chrome and IE, but so far I missed any conclusive answers about my concrete problem above. Would appreciate any guidance. Thanks in advance!