Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Hide Scrollbars in Overflow Auto

Reply
Thread Tools

Hide Scrollbars in Overflow Auto

 
 
vunet.us@gmail.com
Guest
Posts: n/a
 
      03-06-2007
How can I hide scrollbars which appear in my floating div element with
CSS property overflow:auto? I do need to use auto overflow. Thank you.

 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      03-06-2007
Gazing into my crystal ball I observed writing in
news: ups.com:

> How can I hide scrollbars which appear in my floating div element with
> CSS property overflow:auto? I do need to use auto overflow. Thank you.
>
>


http://www.w3.org/TR/CSS21/visufx.html#overflow

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      03-06-2007
Adrienne Boswell wrote:

> Gazing into my crystal ball I observed writing in
> news: ups.com:
>
>> How can I hide scrollbars which appear in my floating div element
>> with CSS property overflow:auto? I do need to use auto overflow.
>> Thank you.

>
> http://www.w3.org/TR/CSS21/visufx.html#overflow


<quote>
hidden
This value indicates that the content is clipped and that no
scrolling user interface should be provided to view the content outside
the clipping region.
</quote>

Makes me wonder how visitors will be able to see the content that is
outside the boundaries of the div.

--
-bts
-Motorcycles defy gravity; cars just suck
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      03-06-2007
wrote:
> How can I hide scrollbars which appear in my floating div element with
> CSS property overflow:auto? I do need to use auto overflow. Thank you.
>

And if the content exceeds the alloted space how do you propose the user
is to access the content? Maybe you want 'overflow: hidden'?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
vunet.us@gmail.com
Guest
Posts: n/a
 
      03-06-2007
On Mar 6, 11:30 am, "Jonathan N. Little" <lws4...@centralva.net>
wrote:
> vunet...@gmail.com wrote:
> > How can I hide scrollbars which appear in my floating div element with
> > CSS property overflow:auto? I do need to use auto overflow. Thank you.

>
> And if the content exceeds the alloted space how do you propose the user
> is to access the content? Maybe you want 'overflow: hidden'?
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com


I do need overflow auto as it is a fix to Mozilla bug
https://bugzilla.mozilla.org/show_bug.cgi?id=167801. However, I am
going to create a JS function to resize div if content goes outside of
the visual box, I guess, unless there is a better way.

 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      03-06-2007
wrote:
> I do need overflow auto as it is a fix to Mozilla bug
> https://bugzilla.mozilla.org/show_bug.cgi?id=167801. However, I am
> going to create a JS function to resize div if content goes outside
> of the visual box, I guess, unless there is a better way.


...and for the 10% who have JavaScript disabled, blocked by a corporate
firewall, or other means? What will they do?

Why do you want to hide content? What is so bad about a scrollbar?
People are used to seeing vertical scrollbars.

Oh, consider also that in some circumstances mouse wheels will not work
in a scrolling div or an iframe.

--
-bts
-Motorcycles defy gravity; cars just suck
 
Reply With Quote
 
vunet.us@gmail.com
Guest
Posts: n/a
 
      03-06-2007
On Mar 6, 11:56 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalid> wrote:
> vunet...@gmail.com wrote:
> > I do need overflow auto as it is a fix to Mozilla bug
> >https://bugzilla.mozilla.org/show_bug.cgi?id=167801. However, I am
> > going to create a JS function to resize div if content goes outside
> > of the visual box, I guess, unless there is a better way.

>
> ..and for the 10% who have JavaScript disabled, blocked by a corporate
> firewall, or other means? What will they do?
>
> Why do you want to hide content? What is so bad about a scrollbar?
> People are used to seeing vertical scrollbars.
>
> Oh, consider also that in some circumstances mouse wheels will not work
> in a scrolling div or an iframe.
>
> --
> -bts
> -Motorcycles defy gravity; cars just suck


Every single point is already being considered. Users always have JS
enabled, content is always visible, etc. It's just too much to
describe why. But thank you for the hint.
If overflow = auto means scrollbars will always be seen and there is
no way to remove them, then I wil just apply the JS fix I mentioned
above to fix the height of the box.

 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      03-06-2007
wrote:

> Every single point is already being considered.


Really?
> Users always have JS
> enabled,


Really? According to whom?

> content is always visible, etc. It's just too much to
> describe why.


Really? Of course since you didn't supply a URL that would show what you
are *really* trying to do, how knows! The Moz bug that you reference is
a pretty minor and obscure one...and a change of design can usually resolve.

> But thank you for the hint.
> If overflow = auto means scrollbars will always be seen and there is
> no way to remove them,

Not what was said, but auto only appears *if* the content exceeds the
container.

> then I wil just apply the JS fix I mentioned
> above to fix the height of the box.
>


Way to go!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
vunet.us@gmail.com
Guest
Posts: n/a
 
      03-06-2007
On Mar 6, 12:34 pm, "Jonathan N. Little" <lws4...@centralva.net>
wrote:
> vunet...@gmail.com wrote:
> > Every single point is already being considered.

>
> Really?
>
> > Users always have JS
> > enabled,

>
> Really? According to whom?

It is an intranet AJAX app.
>
> > content is always visible, etc. It's just too much to
> > describe why.

>
> Really? Of course since you didn't supply a URL that would show what you
> are *really* trying to do, how knows! The Moz bug that you reference is
> a pretty minor and obscure one...and a change of design can usually resolve.
>
> > But thank you for the hint.
> > If overflow = auto means scrollbars will always be seen and there is
> > no way to remove them,

>
> Not what was said, but auto only appears *if* the content exceeds the
> container.
>
> > then I wil just apply the JS fix I mentioned
> > above to fix the height of the box.

>
> Way to go!
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Shipping Auto Shipping Scheduling:car moving auto transport linkswanted ASP .Net 0 02-16-2008 02:40 AM
Hide Scrollbars in Overflow Auto vunet.us@gmail.com Javascript 5 03-11-2007 02:23 PM
how hide scrollbars: conclusion adrien Javascript 7 08-17-2003 05:34 AM
how to hide scrollbars in netscape? adrien Javascript 6 07-25-2003 01:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57