DreamWeaver, classic

Source: Internet
Author: User

1) in DW, how do I enter a space?

The question of entering spaces seems to have become a commonplace in DW. We may have seen it N times in many books or articles about DW usage.

The restrictions on space input in DW are for the "halfwidth" text state. Therefore, you can avoid it by adjusting the input method to the fullwidth mode. The method is as follows: open the Chinese input method (take ai abc as an example) and press Shift + Space to switch to the full-angle status. Now it should be okay.

In addition, you can use a number of "workarounds" to enter spaces. For example, you can directly add the HTML code "" that represents spaces in the source code. enter a text object of a certain length, and then adjust the color of the text to be the same as the current background color, but note that the latter may be displayed in some browsers.

(2) how to add prompt information for images and link text?

When we browse a webpage, when the mouse stays on an image object or link, a prompt box appears at the bottom right of the mouse. Comment on the target. In some cases, its role is very important.

Next, let's take a look at how to add the image prompt information and select the image object. In the attribute panel, you will find an "Alt" input box. By default, the input box is blank. Enter the required prompt content here.

Then the production of the link prompt is not that simple. Because DW does not directly provide this function, we need to add HTML code.

InAdd the "Title" attribute. Title = prompt content.

(3) How can I download my ZIP or other types of files for others?

In the view of many beginners, it seems that it is a "mysterious" to download by clicking the mouse. In fact, this is far from the case. In DW, any file in a format that is not recognized by the browser (other than HTM, HTML, ASP, PHP. PERL, and SHTML) as the link target, the default operation is download.

In this case, you only need to write the file name to be downloaded by the viewer, and then create a link to the target file. Make sure that the directory is correct.

(4) How can we ensure that the text on the webpage does not change with the font size of the browser?

As we all know, in the function settings of IE browser, there is a function that allows you to freely set the font size of the window content, so due to the habits of different visitors, the web pages displayed in front of them are sometimes different.

For example, you may have used the font No. 2 during the design. As a result, the extra settings of the browser become larger, and the display effect becomes worse.

The solution is to force the content of the webpage to a proper size. That is, he is not allowed to change. You can use CSS style sheets to forcibly control the font.

(5) How to prevent others from placing your webpage in the framework?

Poor people often steal the fruits of others' work. For example, they put the pages carefully crafted by others into their own frameworks as subpages.

So how can we avoid "theft" of our webpage content?

You only need to add the following code between the source code of the webpage:

II

1) how to automatically add the modified date to the webpage?

You only need to add the following code between the source file <body> </body>.

<Script Language = "JavaScript"> <! -- Document. write ("Last Updated:" + document. lastModifIEd); --> </Script> The Display style in the browser is "Last Updated: 2001/8/19"

(2) how to hide the URL address information of the status bar in the browser?

When you move the cursor over a link, the target address of the link is automatically displayed in the following status bar. Considering security issues, sometimes we need to reset it to "zero", that is, set it to blank.

Now you only need to do some hands and feet in the link code, the following <a href = "http://www.pconline.com.cn/pcedu" onMouseOver = "window. status = 'none'; return true "> Pacific network college </a> (3) how to create an" empty link "?

</

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.