One, horizontal law
1. A documentation is built in Dreamweaver, insert horizontal, doubleclick horizontal, v attribute face plate.
2. High H = 0 Pixel is installed on horizontal attribute face plate.
3.Copy this is horizontal, in attribute face plate Shade tick off a dot to drop.
4. Undertake previewing by F12, contrast please below (1) (2) source code and effect.
| (1) Source code: <hr Size="0" Color="#3366FF" Noshade> (2) Source code: <hr Size="0" Color="#3366FF"> |
5. What make two H = 1 Pixels additionally is horizontal, have respectively Shade and do not have Shade.
| (1) Source code: <hr Size="1" Color="#3366FF" Noshade> (2) Source code: <hr Size="1" Color="#3366FF "> |
6. Those who make two H = 2 Pixels is horizontal, define color, have respectively Shade and do not have Shade.
| (1) Source code: <hr Size="2" Color="#3366FF" Noshade> (2) Source code: <hr Size="2" Color="#3366FF"> |
7. Those who make two H = 2 Pixels is horizontal, color is default value, have respectively Shade and do not have Shade.
| (1) Source code: <hr Size="2" Noshade> (2) Source code: <hr Size="2 "> |
Saw a few kinds of above horizontal effects, we discover, set when horizontal high H for " 0 Pixel " and " 1 Pixel " when, no matter horizontal have) of Shade (shadow, it shows the filament that is 1 Pixel in IE browser. Once discovered in forum some netizens are high H setting fraction is numeric, be like: Of 0.1 and so on, in an attempt to achieves the result of the filament of 1 Pixel, substantial, in Dreamweaver webpage editor, attribute face plate cannot set decimal numerical value, but if we are direct,input in source code, attribute face plate admitted, can show decimal numerical value. In the meantime, IE browser is height under 2 Pixel horizontal identifying for 1pixel.
In make horizontal when we were made have Shade and do not have Shade, it is when horizontal height H through comparative discovery when 2 Pixels is the following, shade is not effective, look to the ability when 2 Pixels above only get Shade result.
2, form law
Form often is used at fixed position in webpage design, especially large website, form is great, but the server as a result of them is powerful, rate falls won't slow.
Introduce the another magical function of form here, filament of the level that make.
1. In Dreamweaver, insert the form that an one-way sheet lists, install Border="0" Cellspacing="0" Cellpadding="0" . The backdrop that sets table in attribute face plate next is lubricious.
| (1) Source code: |
2. Duplicate the form above, by Ctrl + Tab key enters source code window, add the system among <td></td> automatically " " delete.
| (2) |
The course previews contrast, discovery is become " " after deleting, form contracted, the setting color of the setting also became the color of horizontal filament. What must notice is, had better be in set when setting color again " " delete, or alter again in designing the window color is some more troublesome.
3, setting law
Setting standard is relative for measure is some more, need has Photoshop and Dreamweaver with the software that arrive,
1. builds the file of size of 1 Pixel of a 1 × by Ctrl + N in Photoshop.
2. adjusts foreground color, the setting becomes the color with need linear make it, press Alt + Delete, fill file.
3. Press shortcut key Ctrl + Alt + Shift + S, save the file for Bg.gif of webpage image file
4. Open Dreamweaver, build a documentation, click thrust form button, insert the form that an one-way sheet lists, the setting is as follows: Border="0" Cellspacing="0" Cellpadding="0" .
5. Make form is in pitch on condition, v attribute face plate, click " Bg " pushbutton inserts background picture " Bg.gif " . Show source code and result below come out, let everybody make quite, the principle that comes true to the effect has more thorough knowledge.
| (1) Source code: |
6. Duplicate the form above, by Ctrl + Tab key enters source code window, add the system among <td></td> automatically " " delete.
| (2) Source code: |
The making likelihood in some webpages at the same time set unit case or the height of form is 1 Pixels, need not set actually.

No comments:
Post a Comment