?
Solved

scrollbars & compatability with Opera

Posted on 2004-03-26
3
Medium Priority
?
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
prohacx earned 200 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

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 …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

650 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