I have been having this problem for a while and after many hours scouring Google with no result, I come to you!
I have a scrollbar within my site that is currently determined by the height of the div. However, I want the scroll bar to be 150px while still retaining the size of my div (300px)
Is that possible at all?
All replies are very much appreciated!
No. Please explain what you
Please explain what you are trying to accomplish and why and maybe we can help you with an alternative?
To explain in the most basic way I can.
I have a site.
On a page on the site is a section of text that is longer then the maximum height of the page itself.
That text was placed inside a DIV with the height I wanted and overflow set to auto.
It all works perfectly. However, the vertical scroll bar is the height of the DIV, say 300px, but I want the scroll bar to be much smaller, perhaps 150px.
The reason I am doing this is purely from an aesthetic point of view. BUT it needs to be done as the design would plop without it.
Does that make sense?
Do you have a live site with
Do you have a live site with the design implemented or maybe a graphic we could look at. I am having a hard time seeing what you are saying.
No worries. Attached is the image. I had to black out some sections due to privacy issues.
As you can see in the image, the text on the left has a scrollbar. But I want that scrollbar to be half the size, but keeping the text div the same height.
Making more sense ?
Ya, i don't think what you
Ya, i don't think what you are after is going to be possible... at least not in my scope of knowledge.
Hopefully someone else will be along who might be able to help you further.
Thanks for that
Ye, itn seems sooooooo simple, but impossible to get a clear answer.
Thanks again ....ANYONE ELSE ? :curse:
You can`t do that, because scrollbar always will have the same size than DIV height
The only way that I know to do that is using scrollbars in flash
So there is no way around this. I cant believe that the powers that be have never considered this. GRRRR
i can do it in flash, but not the solution we are looking for various if not obvious reasons.
thanks for that though!
From a usability standpoint,
From a usability standpoint, scrollbars are best not messed with. People know how they expect the scrollbars on their browsers to look and act. Anything that creates a huh? moment subtracts from the page's usability.
The graphic designers hate that, but which is more important, pleasing them or pleasing the reader?
I def agree with you. But, such is life , and I can only argue sooo much.
Have a great day !¬
I must agree with gary. Why
I must agree with gary. Why would you want to do that? It would confuse a lot of people.
Yes people might get confused.
However, in terms of ease of use the solution the designers "developed" is very compeling.
I do absolutely agree with you guys in the sense that there are standards that most users are used to and what many designers adhere to. Like the pedals in a car, right ? Or how western countries are normally reading from left to right etc.
What I am concerned about is why these types of options/funtions are not built in to CSS etc. It's not like I was placing the scroll bar on another page all together, rather sizing it down slightly to fit in the page nice and snug. This would not send users into a wild panic and cause them to completely loose their footing, would it ?
Thanks again all !
I have seen this done with
I'll look into that. Naturally there are all the accessibility issues that need to be considered.
Many thanks for your response!!!