How do I make the layer appear on Falsh?
Method:
<param name= "wmode" value= "Transparent"/> Set the Wmode value of flash to transparent or opaque
How do I insert flash on a page using the standard method?
Method:
<object id= "Flash-show" type= "Application/x-shockwave-flash" Data= "*.swf" > <param name= "movie" Value= "*.swf "/> <param name=" wmode "value=" Transparent "/>! [] (*.jpg) </object> As for the width of the flash can be set in CSS
-
How do i select a check box or a radio box when I point to text?
Method 1:
<input type= "checkbox" id= "Chk1" name= "chk"/> <label for= "chk1" > Option one </label><input type= "checkbox" id= "Chk2" name= "chk"/><label for= "Chk2" > Option two </label><input type= "Radio" id= "Rad1" Name= "rad"/><label for= "rad1" > Option one </label>< Input type= "Radio" id= "Rad2" Name= "rad"/><label for= "rad2" > option two </label> this way all major browsers support
Method 2:
<label><input type= "checkbox" Name= "chk"/> Option one </label> <label><input type= "checkbox" Name= "chk"/> Option two </label><label><input type= "Radio" name= " rad "/> Option one </label><label><input type=" Radio "Name=" rad "/> Option two </label> this mode is more concise than Method 1, However, IE6 and earlier browsers do not support
How to switch between Standard mode and quirks mode under IE?
IE6 trigger (with XML declaration before DTD declaration):
<?xml version= "1.0" encoding= "Utf-8"? ><! DOCTYPE html>ie5.5 and earlier browser versions are parsed directly in quirks mode.
Triggers for all IE versions (preceded by the DTD declaration with HTML comments):
<!--let IE into quirks mode--><! DOCTYPE html> When there is no DTD declaration, all IE versions will also enter quirks Mode.
How to distinguish between Display:none and Visibility:hidden?
Method:
The same is display:none and Visibility:hidden can be used to hide an element, the difference is that display:none in the hidden elements, the space is also removed, and Visibility:hidden just hide the content, Its placeholder space is still retained.
How to set the IFRAME background transparency under IE?
Method:
Set the Tag property of the IFRAME element allowtransparency= "Allowtransparency" and set the body background color of the internal page of the IFRAME to transparent. However, this will cause some other problems under IE, such as: Set the transparent IFRAME will not cover the Select