Tips for getting Started with the Dreamweaver MX 2004 tutorial

Source: Internet
Author: User
Tags insert key relative dreamweaver root directory
dreamweaver| Skills | tutorials | Introductory Tutorials

Site original content, reproduced please indicate the source Web page teaching network .

  Method of space input

(1) When editing the Web page, sometimes according to typesetting requirements or other reasons need to enter a space, DW MX 2004 provides the best support for Chinese input. Let's start with the settings: Click "Edit" menu-->> "preferences"-->> "General" to check "allow multiple contiguous spaces". The following figure:

You can enter a space (half) by tapping the spacebar directly.

(2) or by adjusting the input method to the Full-width mode of the space bar, each knock, enter a space. The method is: Open the Chinese Input method (take intelligent ABC as an example), press Shift+space to switch to the full angle state, then knocks the space bar to be able to enter the space freely.

(3) We are in the intelligent ABC ime state by the lowercase letter v1 and then select 1 can also enter a space

(4) In addition, you can also use other methods to enter spaces, such as: Copy space to paste in the need to enter a space position.

or enter a certain length of text or punctuation, and then adjust the text to the same color as the current background color. (This method is easy to do, but may not work in a single display under different settings.) )

  Page header information Settings

When browsing the web, the tip of the top is often the topic of the content of the Web page, which helps visitors understand the content of the page in advance, and if not set, the visitor's browser displays "Untitled document":

Set the method as follows:

(1) Enter the caption content directly in the toolbar title field:

(2) In Code view, apply the "Title" attribute to complete. <title> Enter title text </title>

  Tips for changing lines

In the DW4 edit, large text input, the program will automatically line, hit enter the role of another paragraph, if just want to change lines, with carriage return line spacing appears too large. The easiest way to do this is to press the SHIFT key where you want to change the line, and then hit enter, changing the line so that the paragraphs are sorted neatly and orderly.

  Add picture hint information

When we browse the Web, when the mouse hovers over a picture object or link, at the bottom right of the mouse there is sometimes a hint message. Make a note of the target. As shown in the following illustration:

Select the picture, in the property panel "Replace" input box input "Welcome ...".

Note: I have added a hint to the picture above, please test the effect with the mouse.

The following figure is the property panel status:

The picture hint information is added complete. Press the F12 key to browse the effect. Not satisfied with the words can also be modified.

  file Setup method for others to download

In addition to the zip, RAR, exe-type files, the browser is not recognized by the format of the file as a link to the target, browsers default operation is to download. So, you just write the link path of the relevant files accurately, tell the viewer can. Of course, you must first transfer the files for others to your own cyberspace.

  Page Insert background music

There are several ways to insert background music, such as using Plug-ins, controls, and code.

Now let's introduce a way to insert background music using simple code: First of all, you have prepared a MIDI music, such as: Music.mid placed in the site root directory.

Insert the following code between the <body></body> tags. You may not be familiar with the label, so you might as well do it first. First in the editing state, use the mouse to click in the blank space below the page (set an insertion point), confirm the cursor in this position flashing. Click the toolbar button to display the Code view state, find the insertion point cursor position that you just identified, and write the code below.

  

<bgsound src= "Music.mid" loop= "-1" >

Src= "Music.mid" is the location and filename of the specified background music file. loop= "-1" represents the background music loop playback, you can also specify the number of playback. This method of inserting background music is simple, but it is only applicable to IE browser. It is not easy to control and cannot be closed.

The following is a broad range of adaptive code to control music playback:

<embed src= "Music.mid" autostart= "false" loop= "true" width= "$" height= "></embed>"

Src= "****.mid" specifies the path and filename of the music file. It is best to use a relative path (currently the relative path). The ****.mid here is in the same directory as the Web page file.

autostart= "* * *" Sets whether the music file will play automatically when it is loaded. There are two logical options, true and false. True to play automatically. False does not play automatically.

loop= "* * *" Indicates whether the music file is looping, or the number of times the loop is played. For example, loop= "3" means repeat playback 3 times, loop= "1" represents an infinite loop, loop= "True" also represents an infinite loop.

Width= "* *" height= "* *" shows the width and height of the control Panel, when two parameters are set to 0 o'clock, to indicate the hidden control Panel.



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.