Overflow: auto does not work in Firefox

css, firefox, html, html-table, overflow

Solution

this question from here maybe solve your problem

nickb answer: "Try wrapping it in a `<div>`. I'm pretty sure the overflow attribute is not defined for a `<td>` element, at least in HTML4 it's not."

try to put your `overflow:auto` to the `wrapper` hope this can help you

pre, div {
    width:100%;
    overflow: auto !important;
}

working demo

Problem

I have a table. Its `<td>` have `overflow: auto`. The width is set to be 100px. In Firefox only, text that exceeds 100px is not hidden and replaced with a scrollbar. How can I hide content and have a scrollbar when it exceeds the width of its container? http://jsfiddle.net/be6tM/10/

Original source

Related problems