分类 Web 下的文章

This page shows you how to remove spaces from a text field. Any spaces entered by the user will be removed when they click anywhere outside the text field. Try it here:

Step 1

Add the following code to your head:

Step 2

Use the following code for your text field:


Flash

I added a background picture to a flash object embedded in a web page. In order to make the background picture can be displayed through the flash animation, I added oneobject parameter:

The whole html code are as follows:

The above code can work properly when a user is using Internet Explorer (IE). However, when a user is using Firefox, the background of the flash is blank. The reason is the Firefox does not recognize the

So, I need to add it to the embed src as follows:

For the Firefox browser, you also need to set align="..." to make it be displayed in the right position.