Solved

scrollbars & compatability with Opera

Posted on 2004-03-26
3
238 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

839 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