thomas said:
Dear all,
I write a html which can display info. scrolling automatically. Therefore, I
want to remove both the horizontal and vertical scrollbars. Please tell me
such html tag, many thanks.
Regards,
Simon
Here's more arguments for you to consider. The position of major browser
manufacturers on rendering scrollbars (if needed, if content overflows
browser window viewport). They give veto powers to users. In that sense,
they comply with CSS1 and CSS2 specs.
Opera 7.x: File/Preferences...Alt+P/Windows/Show scrollbars and smooth
scrolling are checkboxes at the disposal of the user. The user has the
final word and the veto power on the web developer here. Opera 7 has
offers numerous predefined/accessibility stylesheets and let you define
your own.
Mozilla-based browsers (17 different browsers including Netscape 7.x):
This is what I have in my user.js file
user_pref("dom.disable_window_open_feature.scrollbars", true);
user_pref("layout.frames.force_resizability", true);
and if I wanted to, I could be able to edit the userContent.css and
impose, say,
document.documentElement.style.overflow = auto !important;
document.body.style.overflow = auto !important;
and most likely other declarations supporting the rendering of
scrollbars when needed (in userChrome.css or elsewhere). There is even
Bug 72540: Web pages should have a persistant scrollbar for all pages
http://bugzilla.mozilla.org/show_bug.cgi?id=72540
which is the same equivalent result that MSIE 6 went for:
overflow:scroll for body and root element.
MSIE 6:
Tools/Internet Options.../General tab/Accessibility... button/User style
sheet/Format documents using my style sheet checkbox/Browse style sheet/
document.documentElement.style.overflowY = auto !important; //overiding
default browser value of scroll;
document.documentElement.style.overflow = auto !important; //overiding
default browser value of scroll;
I have not tested this with MSIE 6 but I sure intend to.
The web developer has to concede that the only people who is going to be
using their own browser to view his content is the users. And browser
manufacturers and W3C TRs give the users the final word on the scrollbar
issue.
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunclear/Netscape7/Netscape7Section.html