ruby on rails - Twitter bootstrap icons are not loading in Firefox & IE -


in rails 3.2.9, using twitter bootstrap plugin in firefox(both in linux & windows) & ie(in windows) icons not loading. in chrome & chromium icons loading fine.

in linux, firefox version 20.0 & in windows, ie version 9 & 10.

my bootstrap_and_overrides.css.less file contains,

@import "twitter/bootstrap/bootstrap"; @import "twitter/bootstrap/responsive";  // set correct sprite paths @iconspritepath: asset-path("twitter/bootstrap/glyphicons-halflings"); @iconwhitespritepath: asset-path("twitter/bootstrap/glyphicons-halflings-white");  // set font awesome (font awesome default. can disable commenting below lines) // note: if use asset_path() here, compiled bootstrap_and_overrides.css not //       have proper paths. use absolute path. @fontawesomeeotpath: asset-path("fontawesome-webfont.eot"); @fontawesomeeotpath_iefix: asset-path("fontawesome-webfont.eot#iefix"); @fontawesomewoffpath: asset-path("fontawesome-webfont.woff"); @fontawesomettfpath: asset-path("fontawesome-webfont.ttf"); @fontawesomesvgpath: asset-path("fontawesome-webfont.svg");  // font awesome @import "fontawesome";  // glyphicons //@import "twitter/bootstrap/sprites.less";  // custom less stylesheets goes here // // since bootstrap imported above have access mixins // may use , inherit here // // if you'd override bootstrap's own variables, can here // see http://twitter.github.com/bootstrap/customize.html#variables names , documentation 

please me solve issue.

download glyphicons image , put in asset folder,then call .

  @iconspritepath: asset-path("/assets/glyph-iconset.png");   @iconwhitespritepath: asset-path("/assets/glyph-iconset-white.png");   // glyphicons       @import "twitter/bootstrap/sprites.less"; 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -