I would like to put this property for a div:
.content { position: relative; overflow-y : auto; overflow-x: visible; }
According to this page , if it is indicated as “visible” and the other is “scrolling” or “auto”, then “visible” is set to “auto”. Thus, it is not possible to use overflow-y: auto and overflow-x: visible at the same time.
However, I need to place these properties for the website, is there any way to do this?
Vanessa found the answer on her own. Here he is:
OK, I fixed the problem :) If someone has such problems: do not forget to remove the relative position of the parent element (which has the overflow property): an absolute div will be set according to the parent div, which have a relative position. If not, it will be placed according to the body! - Vanessa Jan 19 '12 at 5:38
Vanessa
source share