1.: The text in the table does not wrap automatically. What should I do?
There are two possible situations:
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, but this is only the display effect in DW. In fact, line breaks can be done normally in IE. 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, "Song Ti").
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 SWF file to have a transparent background on the web page. The specific method is :
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">
Note that this effect is only supported by IE.
3.: The background music cannot be played continuously due to page switching. How to make it play continuously?
Use frame division to implement it. Define the display height (or width) of one frame as 0, set the background music in it, and set the background music in the other frame. Page switching does not affect the entire background music playback.
example:
<html>
<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>
Four.: When changing the font size setting of IE, the page font does not change. How to achieve this?
Use CSS to define the page font, for example:
<style type="text/css">
<!--
body { color: #333333; font-family: "宋体", "Arial"; font-size: 9pt}
td { color: #333333; font-family: "宋体", "Arial"; font-size: 9pt}
-->
</style>
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 in the form of http://www.downcodes.com or file://d:/homepage/default.htm is where the file is on the network Or the local absolute position;
relative address: it is the address of the linked file relative to the current page. For example, to link the file address at the same level as the current page, just use the "file name"; to link the file in the subdirectory below the current page Use "directory name/file name"; use "../file name" to link files in the directory one level above the current page; use "../directory name/file name" to link files at the same level but in another subdirectory "; Files under the link root directory (the root directory of your website, not the root directory of the hard disk) can be in the form of "./file name". 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 the layer is relative to the left and upper borders of the browser, while the relative positioning of the layer is relative to its carrier (table or other layer)~~
6.: How to remove the underline of a link?
Use CSS:
<style type="text/css">
<!--
a:link { text-decoration: none}
a:visited { text-decoration: none}
a:hover { text-decoration: none}
-->
</style>
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">
<!--
a { text-decoration: none}
-->
</style>