...">

<object> sensitive width

On my fixed version site, I:

<object type="application/x-shockwave-flash" data="uppod.swf" width="560" height="370">

      

How does the element tag <object>

react?

object{
    width:100%;
    max-height:100%;
}

      

This does not work.

How do I change the attributes width="560" height="370"

?

+3


source to share


2 answers


Uncheck the width and height attributes here:

<object type="application/x-shockwave-flash" data="uppod.swf">

      



and in CSS:

object {
     width:100%;
     max-height:100%;
}

      

+5


source


HTML settings override CSS. Remove them from your HTML tag and set them in CSS only.



<object type="application/x-shockwave-flash" data="uppod.swf">

      

+2


source







All Articles