7) How to control the paragraph line spacing in a table box?
The line-height in the CSS is defined.
Style = "Line-Height: 4"
============================================================================================================================================================================================================= ======================= 8) How do you use different HOVER and LINK, VISITED?
A: active {font-size: 12px; color: # 0066cc; text-decoration: none;
This style should pay attention to the sequential Visited -> Active -> Hover
Link is the same
============================================================================================================================================================================================================= ======================== 12) As a web designer, I don't know if you have this experience: there are many materials for your website. Word documentation, although it is very convenient to read, you can add it to the web page.
Not very convenient. Especially the Word document containing the table, if you want to add a place, it is really laborious. Although Word can save the document as a web page, the generated waste
There are too many code, and the file size is too big.
However, Dreamweaver has provided us with a very convenient command, which can reduce the Word's HTML file volume, but everyone may not pay attention to it.
use.
Let's open Dreamweaver first, click on the command menu, take a closer look. Will find two items: clean up HTML, clean the HTML of Word, it seems that Dreamweaver
A command for processing a Word document has been provided. Below we let everyone understand this command through an instance.
Here is a curriculum that uses Word, you can download it. Below we will use this form to go to this form step by step by step.
The file is converted into a clear HTML file.
Step1:
Dreamweaver is dealing with DOC documentation, so we need to use Word to save this document as an HTML format, which is relatively simple, select file in Word
- Save as ", save the type to select HTML.
STEP2:
Observe another HTML document, there are more than 50 K! This is just a curriculum!
Use Dreamweaver to open this html file, select the code view, you can see the code here is bad! First use the Dreamweaver's menu we just mentioned.
Order → Clean the HTML of Word, process the document.
At this time, look at the code, much better than the original, but there are still a lot of garbage code. Again and check the size of the document, rapidly dropped from the original 50 K to less than 20K.
STEP3:
Take a closer look, there are many labels, we don't need, such as
, ,
. In fact, we can completely delete them. The following uses another menu "life"
Order → Clean HTML "to clear the document. Select the" command → cleaning html "in the menu, click the specified label, and fill in the labels we have just seen.
The format is like this: label name, label name. For example, we should fill in P, SPAN, DIV (note: intermediate half-width comma "," separated). Then click OK. Wait a minute
I will find that our documentation is quite clean. Take a closer look at the TD tag and find that its Class property is meaningless. Let's delete it below. Handmade one one ordered? when
Not! We can use the lookup with the replacement command to remove them all. Ok, start action.
STEP4:
Open the lookup and replacement menu (edit → lookup and replacement, shortcut Ctrl f) provides four ways to find the drop-down box in front of the lookup. Source code, text, text advanced,
And designated labels. Here, it can be cleaned with a source code or a specified label. Here we use the specified label to clean up the Class property, let everyone know it.
Usage. The way the source code should be a more understanding, this is not much.
============================================================================================================================================================================================================= ==================================== How to play the same sound file between different pages of a site?
Everyone has this experience. When you visit a site home page, he will hear the background sound file set by this page, such as a piece of music. When you link to another page of the site, the music stops.
. How to make the voice continue. In fact, you only need to build a web page for the upper and lower framework, build the sound file in the next frame, and set the width of the lower frame to a pixel, and
The frame is page content, when the visitor leaves the home page, because the content of the frame is not changed, the sound is not interrupted. Everyone should pay attention to two points, first, set the frame of the frame to 0;
Second, hide the play interface of the sound file, then set the background of the upper and lower frames to the same.
16) I want to have a certain distance from the border of the text, how to achieve?
Welcome to "Weaving Forum" div> td>
TR>
table>
============================================================================================================================================================================================================= =========================================== How to implement a prompt to close the window!
You can define a style sheet: style = "border: 1px # 000000 dashed"
Put it in
, for example:
td>
TR>
TABLE>
There is also a tabby table, the point line is also the same, as long as the dashed is changed to dotted.
Note that the effect of the dashed line can only be viewed in IE5.5 or later.
============================================================================================================================================================================================================= ===================================== 19) How to make layers above the flash object