Cherubae
04-03-2003, 08:00 PM
I have some buggy code and for the life of me I can't figure out what's causing me the headache.
I have a div-based layout (http://www.fogu.com/hm4/index.php) which is resulting in different problems for different browsers.
headache #1
I placed an iframe in the middle-right side to handle the text content; it's nested inside of a div but spreads off the side of the screen in IE and Net7. I can only assume it's spanning the width of the browser window and not the width of the div. Opera handles the width of the iframe correctly, but doesn't seem to like the overflow:hidden in the body tag, so it also scrolls down the whole page along with scrolling the iframe. I can add a margin-right:250px to offset the width of the left-side divs (which happen to be 250px wide) and that corrects IE, but not Net7.
css file -> http://www.fogu.com/hm4/hm4_layout.css
I've tried just having the iframe not nested inside of a div and use positions to put it in the right spot. Works fine for IE, but not Opera or Net7. setting the width:auto doesn't seem to work either.
headache #2
I have a flash animation that plays across the top. It only appears if a user is in 1024x768, but I've also had to restrict it to IE only; when ever the flash animation plays in Opera or Net7, the symbols that are off to the sides of the "stage" also show up in the animation. All works fine excet for Net7, which doesn't show the Flash as intened (via some javascript) but it continues to display "Loading...." in the status bar. The only thing I can think that might cause this is either the Flash/javascript combo or something on the page is screwy (via css?) and it's loading over and over.
headache #3
I have my bottom div with a background image. The background image displays fine in Net7 and IE, but Opera just won't pull it up for some reason and I have no idea why. I have it set as...
#bottom {width:100%; height:100%; top:420px; left:0px; z-index:2; background-color: #99CCFF;
background-image:url(/hm4/img/bottom_background4.png); background-repeat:repeat-x;
cursor:url(/hm4/img/nappy.cur), auto;}
Many eyes welcome to cure my headaches
I have a div-based layout (http://www.fogu.com/hm4/index.php) which is resulting in different problems for different browsers.
headache #1
I placed an iframe in the middle-right side to handle the text content; it's nested inside of a div but spreads off the side of the screen in IE and Net7. I can only assume it's spanning the width of the browser window and not the width of the div. Opera handles the width of the iframe correctly, but doesn't seem to like the overflow:hidden in the body tag, so it also scrolls down the whole page along with scrolling the iframe. I can add a margin-right:250px to offset the width of the left-side divs (which happen to be 250px wide) and that corrects IE, but not Net7.
css file -> http://www.fogu.com/hm4/hm4_layout.css
I've tried just having the iframe not nested inside of a div and use positions to put it in the right spot. Works fine for IE, but not Opera or Net7. setting the width:auto doesn't seem to work either.
headache #2
I have a flash animation that plays across the top. It only appears if a user is in 1024x768, but I've also had to restrict it to IE only; when ever the flash animation plays in Opera or Net7, the symbols that are off to the sides of the "stage" also show up in the animation. All works fine excet for Net7, which doesn't show the Flash as intened (via some javascript) but it continues to display "Loading...." in the status bar. The only thing I can think that might cause this is either the Flash/javascript combo or something on the page is screwy (via css?) and it's loading over and over.
headache #3
I have my bottom div with a background image. The background image displays fine in Net7 and IE, but Opera just won't pull it up for some reason and I have no idea why. I have it set as...
#bottom {width:100%; height:100%; top:420px; left:0px; z-index:2; background-color: #99CCFF;
background-image:url(/hm4/img/bottom_background4.png); background-repeat:repeat-x;
cursor:url(/hm4/img/nappy.cur), auto;}
Many eyes welcome to cure my headaches