1.: The text in the table does not wrap automatically. What should I do? First, you use CSS to set the font of the text in the table to English font, so that the text in the table will not wrap automatically in DW. However, this is only the display effect in DW. In fact, it can wrap normally in IE. of. If you want the text to automatically wrap in the editing state of DW, just set the font of the text in the table to Chinese font (for example, "Songti"). Second, you enter a series of English or numbers without spaces in the form. They are recognized by IE as a complete word, so they will not wrap automatically. In this case, you can forcefully break up the text through CSS. ,For example: <td style="word-break:break-all">……</td> 2.: How to make the layer float on top of Flash? Just set the background of the SWF file to be transparent on the web page. Here are the specific steps: In DW, in the properties panel of the SWF file, click parameters, add the parameter wmode, and select transparent as the value; or directly modify the code of the web page and add: <param name="wmode" value="transparent"> 3.: The background music cannot be played continuously due to page switching. How to make it play continuously? Use frame division to implement, define the display height (or width) of one frame as 0, set the background music in it, and page switching in the other frame does not affect the playback of the entire background music. example: <html> 4.: When changing the font size setting of IE, the page font does not change. How to achieve this? Use CSS to define page fonts, for example: <style type="text/css"> Basically, setting the default font for body and td is equivalent to defining most of the text content on the page. Note that after using CSS to define the default font, do not use such a tag, as this will block the default settings of CSS. 5.: Absolute address and relative address? Absolute positioning and relative positioning? Absolute address: An address such as http://www.downcodes.com or file://d:/homepage/default.htm is the absolute location of the file on the network or locally; Relative address: It is the address of the linked file relative to the current page. For example, to link to a file address at the same level as the current page, just use "file name"; to link a file in a subdirectory below the current page, use "directory name/file" Name"; link to the previous page of the current page Use "../filename" for files in a directory; use "../directoryname/filename" to link to files at the same level but in another subdirectory; link to the root directory (the root directory of your website, not the hard disk) Files in the root directory) can be in the form of "./filename". Absolute and relative are easy to understand. Relative means having a reference, while absolute is fixed. Why do we advocate the use of relative addresses? For example, if you have an index.htm, which references some pictures in the images directory, if you use relative addresses, you only need to upload the original set of things to The new space will do, because the relative position of the files to each other has not changed, so these addresses are still valid. But if an absolute address is used when inserting a picture, when the space address changes, the referenced picture path will also change accordingly. Of course, absolute addresses are sometimes used, such as friendly links to other people's homepages, etc. The same is true for relative positioning. If the layer is positioned relative to a cell, wherever the cell moves, the layer will go. From a dialectical point of view, in fact, absolute positioning is also relative. It is the same as what we call relative The difference in positioning is that the absolute positioning of a layer is relative to the left and upper borders of the browser, while the relative positioning of a layer is relative to its carrier (table or other layer)~~ 6.: How to remove the underline of a link? Use CSS to achieve: <style type="text/css"> Among them, a:link represents the general link style; a:visited represents the visited link style; a:hover represents the link style when the mouse passes over. text-decoration: none means no underline, text-decoration: underline means underline. If the styles of the three link states are the same, it can also be simplified to: <style type="text/css">
There are two possible situations:
Note that this effect is only supported by IE.
<head>
<title>Frame page</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset rows="0,*" frameborder="NO" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" noresize src="bgsound.htm" >
<frame name="mainFrame" src="main.htm">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
Sorry, your browser does not support the display of frames.
</body>
</noframes>
</html>
<!--
body { color: #333333; font-family: "宋体", "Arial"; font-size: 9pt}
td { color: #333333; font-family: "宋体", "Arial"; font-size: 9pt}
-->
</style>
<!--
a:link { text-decoration: none}
a:visited { text-decoration: none}
a:hover { text-decoration: none}
-->
</style>
<!--
a { text-decoration: none}
-->
</style>