bonucci Posted February 21, 2013 at 02:16 PM Report #496462 Posted February 21, 2013 at 02:16 PM Olá tudo bem, espero ter uma assitência, tenho um scroll no qual foi sacado online, mas tem um problema, estou tentando por o scroll redimensionavel, de uma forma resumida, o scroll aumentar ou diminuir consoante o tamanho do browser, sabem-me como poderei o conseguir? Abaixo deixo o link: http://tiny.cc/87nusw abr
HappyHippyHippo Posted February 21, 2013 at 02:36 PM Report #496465 Posted February 21, 2013 at 02:36 PM (edited) pode necessitar de mais coisas, mas a ideia fundamental seria: html, body { height: 100% } /* tirar todos os estilos que ditam que a scrollbar/divs tem 200px de altura */ #scrollbar1 { height: 100%; } #scrollbar1 .scrollbar { background: transparent url(../images/bg-scrollbar-track-y.png) repeat-y 0 0; } #scrollbar1 .viewport { height: 100%; } Edited February 21, 2013 at 02:37 PM by HappyHippyHippo IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
bonucci Posted February 21, 2013 at 02:57 PM Author Report #496468 Posted February 21, 2013 at 02:57 PM pode necessitar de mais coisas, mas a ideia fundamental seria: html, body { height: 100% } /* tirar todos os estilos que ditam que a scrollbar/divs tem 200px de altura */ #scrollbar1 { height: 100%; } #scrollbar1 .scrollbar { background: transparent url(../images/bg-scrollbar-track-y.png) repeat-y 0 0; } #scrollbar1 .viewport { height: 100%; } Já alterei, mas continua com alguns problemas, poderá ver online, alterei como me falou.
HappyHippyHippo Posted February 21, 2013 at 03:00 PM Report #496470 Posted February 21, 2013 at 03:00 PM (edited) quais são os problemas ? o não usares um css reset ? http://meyerweb.com/eric/tools/css/reset/ ou a seguinte linha que não tem sentido : #scrollbar1 { margin: 20px 0 10px; } Edited February 21, 2013 at 03:02 PM by HappyHippyHippo IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now