Common problems and solutions in using DW _dreamweaver
Source: Internet
Author: User
1. How to insert a space in a Web page
When we edit Chinese web pages in the Dreamweaver WYSIWYG editing mode, we often need to empty two squares at the beginning of the paragraph, but the Dreamweaver itself does not provide the function of inserting spaces, we can do this: first use the ctrl+shift switch to the Chinese input method, For example, Microsoft Pinyin, and then press shift+ space, when the input characters into full angle mode, you can now in the Dreamweaver by the space bar easily inserted space. Another way is to directly open the HTML Source Code editing window, where you need to insert a space to enter &nbs, the effect is equivalent to the front of a full-width space. Another way to insert a half-width space is also very simple, in HTML, for the character of the line and break, are automatically interpreted as a half-width space, note that only a half corner space, no matter how many rows. Instead of inserting a half-width space in the Dreamweaver, just press the space directly, but only if there are characters in front of it.
2. Why I defined the table length and the actual browsing effect is different
Here are a few things:
A, if the table defines a height of less than 12 pixels, Dreamweaver still shows a height of 15 pixels, because a &nbs is automatically generated in the cell, which is the equivalent of an invisible character, which supports the form The workaround is to delete the &nbs; in the HTML editing window.
b, if the table definition of the width of less than 6 pixels, there will be differences in effect, is also the reason, the solution to see.
c, sometimes change the width of the table, but the table doesn't change, because the cells in the table already have values that are beyond the width of the table, and of course you can't compress the table, the solution is to put the mouse in the cell and the width of the cell is displayed in the property bar. Modify it according to the situation to match the width of the table.
D, sometimes accidentally set up a good table to make a mess, at this time by Ctrl+z although undo the previous cloth operation, but it does not help, at this point, just put the mouse to the area outside the table, the table is equal to a refresh, and back to the previous look.
3. How to keep the page close to the top and left part
Right-click the page in the Non-table area, select Properties, and then you can see the left margin and the top margin settings, set them to 0.
4. How to insert special symbols
Open the object (Objects) bar, select the character (Character) tab, which you can see there are many of our common symbols, such as registered trademark symbols, copyright symbols and so on, click on them will automatically generate their corresponding code in the Web page, At this point, although you do not see the real symbol in the Dreamweaver edit window, but you can use the browser to open it, because these symbols in the HTML does not have a direct character corresponding to it, can only be expressed in some of the specified keywords.
5. How to position the exact layer at different resolutions
Determines where the upper-left corner of the layer appears in the page, inserts a table at that location, inserts a layer into the table, setting the properties of the layer, where the left and top margins are set to empty (nothing is filled in) so that the layers appear in a relative position in the Web page, regardless of how the user adjusts the resolution, the layer is always defined there.
6. How to make a dotted table
First use Photoshop to make a 3*1 pixel picture and a 1*3 pixel picture, in the middle of each with the brush tool to a pixel size point of a black dot, save as two GIF pictures. Then insert a table of three rows, long and wide respectively, 200 and 300, the first row and the third row of cell height are defined as 1, respectively, set the background picture to 3*1 pixels of the picture, and then split the second row into three columns, the first and third column cell width is defined as 1, respectively, set the background picture for 1* 3-pixel picture, and then be sure to delete the default deletion in the HTML editing window from the four cells. Using this method, we can play the imagination, make a lot of personality effects.
7. How to make a table thin border
Dreamweaver provides users with the properties to define a table border border, but many users do not like to use it, because the feeling that it looks very rough, does not achieve the effect we expect. We can use Dreamweaver's other table's properties Cellspace (cell spacing), set it to 1, and then set a background color for the table (the color of the thin border), and then select all the cells to set the background color to the foreground color of the table.
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