Solved

scrollbars & compatability with Opera

Posted on 2004-03-26
3
234 Views
Last Modified: 2010-04-09
After I upgraded to IE6, many of the web pages I've designed acquired horizontal scrollbars.  My question is this: how do I get rid of them?  The only one of these that is online at the moment is www.vintondalebaptist.org - my first 'professional' website.

This brings me to my next question: when I try to view the site with Opera 7, only one frame shows up.  This really confuses me because it displays all other pages with framesets correctly.

Also, any other suggestions for the site would be very much appreciated.

~Sam
0
Comment
Question by:samrummel
3 Comments
 
LVL 5

Accepted Solution

by:
prohacx earned 50 total points
ID: 10702757
Hi there!

Well, firt of all, I would start by rewriting your frameset like so:

<frameset cols="100%" rows="95,*">
      <frame name="top" src="top.html" scrolling="no">
      <frameset cols="180,*" border="0" cellpadding="0" cellspacing="0">
            <frame name="navigation" src="navigation.html" noresize scrolling="auto" border="0" cellpadding="0" cellspacing="0">
            <frame name="main" src="main.html" scrolling="auto">
      </frameset>
</frameset>

<noframes>
      <body>
Your browser is incapable of displaying pages containing frames.<br> Please download a newer version of Internet Explorer at <a href="http:\\www.microsoft.com\ie\download.html" target="_blank">Microsoft.com</a>.
      </body>
</noframes>

You used one frameset too many (not necessary). It really works fine in IE, but I have my doubts for other browsers... I don' have Opera installed (new PC), but try this, it probably works better.

Also, the reason why you get a horizontal scrollbar is simply because the content you put inside that frame is wider than the space provided on the screen. You can always set a border for your body, table, ... (use bordercolor too!!!) to see how the content really gets rendered, you'll see...

Switching off scrollbars can be done through stylesheets, but then you'll have to be sure that all content will be visible at all times, otherwise it's no good solution. Also, it's browser dependant...

Good luck!

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now