Posts

Showing posts with the label css

Finding all elements with z-index inside a a page

var all = document.querySelectorAll('*'); for(var i = 0; i < all.length; i++) {if(all[i].style.zIndex > 0) {console.log(all[i].style.zIndex); console.log(all[i]);}}

Looks like a bug in Google Charts for aria-label="A tabular representation of the data in the chart."

Looks like a bug in Google Charts Library . It have a new feature adding a div with aria-label =" A tabular representation of the data in the chart. " that holds the data of your graph in a table. It is discussed here: https://groups.google.com/forum/#!topic/google-visualization-api/k2Kk772j2no But for me it created a bug in the css causing the whole screen to be very wide with a bottom scroll. After some investigations with Firebug I noticed the aria-label =" A tabular representation of the data in the chart. " have a style="position: absolute; left: -10000px" causing this endless horizontal scroll. The solution for me was to add in the css a " display:none ": .small_graph svg + div {display:none;} http://www.jobstrends.co.il