Today, I helped my friend put a big picture on M, so I planned to use slice to keep it as a page and multiple small pictures. so I sorted out the following article. First, let's give a brief description of why I chose Photoshop instead of Firework. Friework Dreamweaver Flash is known as a three-swordsman in web page production. Friework and Dreamwaver are more closely integrated. here, only photoshop is selected because of my preferences. besides, firework is rarely used, he doesn't like the layer panel he provides very much.
The PS version we use is similar to that of CS3, but it must be
Complete Installation.
Let's talk about it.
Why use slice:
1. using slice is the most straightforward web page layout method. Don't think about how to design tables or DIV any more. what do you first think about is what your webpage looks like? Put what you think
ImageJust come out !!
2. slice can effectively reduce the page file size and improve the page browsing experience of the browser. Think about whether to download an image quickly or divide it into several small images and download it quickly?
How to slice:
1. open the PS diagram you designed and select the slicing tool
Slice based on the webpage structure and image features
You can adjust the water and position of a slice by using the slice option.
3. choose "webformat" from the File menu. the index.html image file will be generated during storage and stored in the images folder (for CS3, select "html" and "image)
4. use the Dreamweaver software to open the html file you just saved and edit it. delete unnecessary images and fill in the content.
Slice principles and FAQs:
A slice is the basis for table generation. the slice process should first be overall and partial, that is, the whole page should be divided into several parts, and then a small part of the page should be segmented.
2. for the special effect of the gradient effect or rounded corner image, it must be displayed on the page and be cut out separately.
3. when editing data in DW, use less images. if you can use the background color instead, use the background color, use the pattern, and use the pattern tile as much as possible to form the background.
4. what should I do if the table is misplaced when I delete an image during DW editing?
When deleting an image, remember the length and width of the image and insert a table with the same length and width.
5. in DW, how do I customize the length and width of a table?
Use images with the same length and width as the background of cells.
6. how do I input text on an image?
Set the image to the background.
In fact, the two important steps are as follows:
Step 1:
Step 2: