Posted by fuli open on 01/31/07 03:55
On Jan 30, 5:41 pm, Ben C <spams...@spam.eggs> wrote:
>
> Add
>
> embed { display: none; }
This rule works. Thanks.
>
> to the styles-- it seems to be leaving a gap for the embed element at
> the top.
>
> What is embed anyway? It doesn't seem to be in HTML 4.01, and tidy tells
> me: "Warning: <embed> is not approved by W3C".
>
> The hidden attribute on embed is presumably what's supposed to translate
> into display:none, but Opera may reasonably be having trouble with that.
>
> It may be you should use object instead of embed.
<embed src="http://www.ibiblio.org/chinese-music/MP3/
TD11.Colorful_Clouds_Chasing_Moon.mp3" loop='true' hidden='true'
autostart='true' />
I like to use object, and tried to replace the above embed tag with
the following object tag.
<object data="http://www.ibiblio.org/chinese-music/MP3/
TD11.Colorful_Clouds_Chasing_Moon.mp3">
<param name='autostart' value='true'/>
<param name='hidden' value='true'/>
<param name='loop' value='true'/>
</object>
But it didn't work. I guess the syntax is incorrect. Teaching is
appreciated. But I heard embed is a better compromise for different
browsers. Thanks again.
[Back to original message]
|