I would like to add some css to make the <embed />
tag look like a <div>
. Currently it adds an arbitrary height and width that often lead to a scrolling box similar to an iframe.
Does anyone know an "embed reset" to make it behave like a div?
Edit: Really I just need to figure out how to get the height to be based on the inner content. Here's what I have so far:
embed {
width: 100%;
display:block;
margin: 0;
/* Below from Eric Meyer's Reset */
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
Thanks, Matt