开发者

I have a CSS overflow issue

开发者 https://www.devze.com 2023-04-10 07:39 出处:网络
On this website http://rwl.rwlwater.com/ I have a small issue... I added overflow: hidden to the featured slider div, the pictures were sh开发者_JAVA技巧owing up stacked if the javascript was enabled

On this website http://rwl.rwlwater.com/ I have a small issue... I added overflow: hidden to the featured slider div, the pictures were sh开发者_JAVA技巧owing up stacked if the javascript was enabled or the user had a slow internet connection..

But now I have another problem.. The description had a little thing positioned outside the slider and it's hidden now...If I add overflow-x: visible it adds the scroll bar and that's not what I want. I want the description to be fully visible, but the overflow-y to be hidden.


change it to

overflow-x: auto;
overflow-y: hidden;

Check out http://www.brunildo.org/test/Overflowxy2.html for examples of all combinations


In your #slides .description change

right: -11px;

to

right: 11px;

or something similar.

Works for me in Chrome inspect element.

0

精彩评论

暂无评论...
验证码 换一张
取 消