?
Solved

scrollbars & compatability with Opera

Posted on 2004-03-26
3
Medium Priority
?
257 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
1 Comment
 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

850 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