Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > MSIE, Frames and scrolling

MSIE, Frames and scrolling
Thread Tools
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Feb 9, 2004, 09:23 AM
 
Hi,

I dislike frames, but a client wants them.

I was wondering if anyone knew why I am getting a problem with my Frames-based site only in (surprise, surprise) IE.

http://monkeyfood.com/design/collinslong/collins4/

on IE:win the middle frame has an annoying horizontal scroll-bar.




on IE:mac the middle frame is not even rendered.

Safari, Moz FireFox and Opera render it properly.

Anyone have any clue why?

Here is the code for the frame page:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>collins long</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <link rel="StyleSheet" href="css/frameStyles.css" type="text/css" media="all"/> </head> <!-- see http://academ.hvcc.edu/~kantopet/xht...t=xhtml+frames --> <frameset rows="203px , * , 70px" frameborder="0" framespacing="0"> <frame id = "navFrame" name = "navFrame" src = "navFrame.html" scrolling = "no" frameborder = "0" marginheight = "0" marginwidth = "0" noresize="noresize" /> <frame id = "middleFrame" name = "middleFrame" src="whatAreWe.html" frameborder = "0" marginheight = "0" marginwidth = "0" noresize="noresize" /> <frame id = "bottomFrame" name = "bottomFrame" src="bottomFrame.html" scrolling = "no" frameborder = "0" marginheight = "0" marginwidth = "0" noresize="noresize" /> </frameset> </html>
     
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
Feb 9, 2004, 10:12 AM
 
Hey diggory

re: the horizontal scrollbar. I think you'll be specifying a 100% width for something in the page that's in the middle frame. Try knocking it down to 99%. That ususally gets rid of the scroll bars for me.
     
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
Feb 9, 2004, 10:21 AM
 
yeah i've just checked your css file, and i think all the padding on #maincontent is causing it the scrollbars to appear.

I tried adding a width: 95%; in your #maincontent and it got rid of the scroll bar.
     
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
Feb 9, 2004, 10:25 AM
 
The frame not rendering in IE on the mac is an easy one to fix:

change:
Code:
<frameset rows="203px , * , 70px" frameborder="0" framespacing="0"> to <frameset rows="203px,*,70px" frameborder="0" framespacing="0"> that
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Feb 9, 2004, 02:35 PM
 
Thanks so much - both problems nailed! You star.
     
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Feb 9, 2004, 02:45 PM
 
That's what message boards were made for.

Kudo's
     
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
Feb 9, 2004, 04:04 PM
 
Originally posted by skalie:
That's what message boards were made for.

Kudo's
Certainly were

I can't believe the IE parsing problem with the middle frame. Every other browser deals with it fine. You think that's an example of sloppy MS programming?
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Feb 9, 2004, 05:41 PM
 
Originally posted by derbs:
You think that's an example of sloppy MS programming?
who needs examples, when it comes to them?
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:58 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2