HighDots Forums  

How do you disable horizontal scrolling?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How do you disable horizontal scrolling? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mr_burns
 
Posts: n/a

Default How do you disable horizontal scrolling? - 08-24-2004 , 07:48 PM






Hi,

Is it possible to disble horizontal scrolling using CSS? I want to try
and use two backgrounds, one tiling vertically and part of the body
background, which will not force scrolling, but one that will be part
of a table stretching of to the right, which will force unwanted
horizontal scrolling. How is this written in the stylesheet? Cheers

Burnsy

Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: How do you disable horizontal scrolling? - 08-24-2004 , 08:26 PM






bissatch (AT) yahoo (DOT) co.uk (mr_burns) wrote:

Quote:
Is it possible to disble horizontal scrolling using CSS? I want to try
and use two backgrounds, one tiling vertically and part of the body
background, which will not force scrolling, but one that will be part
of a table stretching of to the right, which will force unwanted
horizontal scrolling.
You're not making any sense, post a url.

Note that you may not like what we have to say about it though.

--
Spartanicus


Reply With Quote
  #3  
Old   
Neal
 
Posts: n/a

Default Re: How do you disable horizontal scrolling? - 08-24-2004 , 09:56 PM



On 24 Aug 2004 17:48:30 -0700, mr_burns <bissatch (AT) yahoo (DOT) co.uk> wrote:

Quote:
Hi,

Is it possible to disble horizontal scrolling using CSS? I want to try
and use two backgrounds, one tiling vertically and part of the body
background, which will not force scrolling, but one that will be part
of a table stretching of to the right, which will force unwanted
horizontal scrolling. How is this written in the stylesheet? Cheers
If the page requires horizontal scrolling and you disable it, then content
could be lost. I don't advise this approach.

It's possible to do 2 backgrounds, you'll need to nest a div with the
second background just inside the element with the first background. Do
not do backgrounds in the HTML, they aren't content. Set background:
#COLOR url(image.jpg) repeat-x top left; or whatever it takes to do what
you want.

I've not tested it, but I imagine a background image with transparency
will reveal a background set on a parent element.


Reply With Quote
  #4  
Old   
Dave Patton
 
Posts: n/a

Default Re: How do you disable horizontal scrolling? - 08-25-2004 , 01:41 AM



bissatch (AT) yahoo (DOT) co.uk (mr_burns) wrote in
news:651c6ea9.0408241648.361175b (AT) posting (DOT) google.com:

Quote:
Hi,

Is it possible to disble horizontal scrolling using CSS?
Yes. Use HTML for markup, and CSS to create a flexible design.

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/


Reply With Quote
  #5  
Old   
DU
 
Posts: n/a

Default Re: How do you disable horizontal scrolling? - 08-25-2004 , 06:07 PM



mr_burns wrote:

Quote:
Hi,

Is it possible to disble horizontal scrolling using CSS? I want to try
and use two backgrounds, one tiling vertically and part of the body
background, which will not force scrolling, but one that will be part
of a table stretching of to the right, which will force unwanted
horizontal scrolling. How is this written in the stylesheet? Cheers

Burnsy
What is it with people always trying to remove scrollbars?

If content, your content, overflows current (or your requested) window
dimensions, then removing on purpose generated scrollbars will remove

1- the normal, standard and default ability to access overflowed
content. You're depriving the user from reaching, from accessing your
content.

2- the visual feedback by which the user can see that there is more
content than his window can show. So, removing scrollbars, preventing
them from appearing removes the info that there is more content to be
reached. Maybe users would use the mousewheel or PgDn if they knew there
was more content after all...

In the last 20 years, I know of no document-based application which was
created in which the developers decided to remove scrollbars in the
intent, goal, purpose of making it harder for users, readers to reach
overflowed content, to prevent them from using scrollbars. It just
doesn't make sense.

What's so wrong with the scrollbars that your content, your page creates
in the user's window? Why can't you just control your page layout, your
content, and concentrate on these issues?

DU


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.