Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
body/html overflow vs DIV overflow in Netscape and Opera
Old 06-15-2005, 03:55 PM updated:: body/html overflow vs DIV overflow in Netscape and Opera
Novice Talker

Posts: 11
Trades: 0
My CSS works in IE and Mozilla but not Netscape or Opera

(new set of test pages below)

I used the following Windows-based browsers in my tests:
IE 6.0.29
Mozilla Firefox 1.0
Netscape 7.1
Opera 7.54.

My test page(s) is a 2 column page built with 2 relative positioned DIVs, with "overflow:auto;" set in both DIVs.
Because of this, I turned off overflow on the body tag and on the html tag (overflow: hidden;). I didn't want to have 2 scroll bars on the right side of the window.

In order to force vertical scrollbars, I've added text content (the related style sheet) to each test page.

My focus is to find a cross-browser style sheet that doesn't render blank pages and also only has 1 right-side scrollbar (when scrolling is needed).

Test 1:
http://64.23.63.119/x1test.html
I use "overflow: hidden;" in both the html and body tags.
IE and Firefox render the page as I'd hoped.
Netscape and Opera both render a blank page.

Test 2:
http://64.23.63.119/x2test.html
I comment out "overflow: hidden;" in both the html and body tags.
My test page displays in all 4 browsers, but I get an extra right side scroll area in most of them.
Opera renders the page as I'd hoped (one scroll bar).

Test 3:
http://64.23.63.119/x3test.html
I use "overflow: hidden;" in the html tag only.
Firefox and Netscape display wonderfully.
My test page displays in IE, but I get an extra scroll area.
Opera renders a blank page.

Test 4:
http://64.23.63.119/x4test.html
I use "overflow: hidden;" in the body tag only.
IE and Firefox display wonderfully.
Netscape and Opera both render a blank page.

I can only imagine what other browsers (Mac-based, Unix-based, AOL, etc) display. But I do not have access to them for testing.

Thx,
Rich

Last edited by justjackOH; 06-16-2005 at 11:01 AM..
justjackOH is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-27-2005, 01:10 AM
Novice Talker

Posts: 8
Trades: 0
i don't follow what you're trying to do here... but, suggestions:

i think you already designated a fixed height/width for your DIVs, casted away "overflow"...

you could always make your scrollbars transparent (http://www.xentrik.net/css/scrollbars.php), though filters aren't known to work in Mozilla.
aquilolumen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to body/html overflow vs DIV overflow in Netscape and Opera
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26180 seconds with 12 queries