[css-d] SWF file has huge blank space in IE6

2008-12-16 Thread Anne McKinsey
Greetings,

Just uploaded a Flash file and it looks great in all browsers except  
IE6 where there is about 300 px of blank space just above it. Help!  
Any ideas of what I can do to repair this?

http://www.amckwebandprint.com/
http://www.amckwebandprint.com/Flash/AC_RunActiveContent.js

Thanks very much,

Anne

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] SWF file has huge blank space in IE6

2008-12-16 Thread Gunlaug Sørtun
Anne McKinsey wrote:

 Just uploaded a Flash file and it looks great in all browsers except 
 IE6 where there is about 300 px of blank space just above it. Help! 
 Any ideas of what I can do to repair this?
 
 http://www.amckwebandprint.com/

You can isolate the container and hide the overflow, by adding...

* html #maincontent {
   width: 590px;
   widt\h: 500px;
   overflow-x: hidden;
}

...to prevent IE from expanding the flash file container - see: IE's
auto expansion bug - and push it below the sidebar.
I've included values for both IE6 in standards mode and older versions
in quirks mode.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] SWF file has huge blank space in IE6

2008-12-16 Thread Gunlaug Sørtun
Anne McKinsey wrote:

 Thanks very much for your quick reply. Your fix has corrected the 
 page in IE6 and it looks fine in all browsers except Firefox on PC 
 (Firefox on mac is fine). In Firefox PC the entire main content is 
 pushed over to the very edge of the browser window with about 200 px 
 of space to the left--between it and the sidebar. Any suggestions?

Yes, apply the CSS code I sent - verbatim - to target IE only, and don't
add those values to the regular #maincontent selector.

This what it should look like in your stylesheet...

* html #maincontent {
width: 590px;
widt\h: 500px;
overflow-x: hidden;
}

...with the '* html' preselector for targeting IE only.
Without that preselector you'll be messing up for poor Firefox 2.

 http://www.amckwebandprint.com/ 
 http://www.amckwebandprint.com/main2.css
 
 Gee, what is the widt\h property?

A hack to feed the width-value only to IE version 6. Only working as
intended when using the IE targeting selector...

* html #maincontent { /*IE-garbage here*/ }

 One more question for you or anyone who can answer: the HTML 
 validator turns up about a dozen errors in the flash code. I used 
 Flash 9 to create this file; any ideas on how to clean-up code that 
 Flash creates?

Search for the term valid flash.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/