Friday, November 13, 2009

Swf Object Javascript not displaying correctly in some browsers

After having issues with some browsers incorrectly displaying the height of an embedded swf object I came across this fix to add to the html before the embed code.


/* hide from ie on mac \*/
html
{
height: 100%;
overflow: hidden;
}

#flashcontent
{
height: 100%;
}
/* end hide */

body
{
height: 100%;
margin: 0;
padding: 0;
background-color: #ffffff;
}

0 Comments:

Post a comment

<< Home