Process of writing HTML CSS structure using PSD file

Source: Internet
Author: User
Tags delete key

1. After getting the PSD file, we probably define the div structure of the page, then write a line,

CTRL + R Show hidden rulers right-click the ruler---Change the units inside to pixels

ALT +-can zoom out PSD file,

Space+ left mouse button can pull psd file

Ctrl+d can cancel a selection

1> Delete the default internal and external margins.

Write the top HTML structure first

Post-write CSS style at the top. Note Alleys Center, using margin:0 Auto to achieve the center of the box display, note that the text can only be implemented with Text-align:center.

Then layout the head of the inner Div, a left float, and a right float.

Learn the use of Photoshop slicing tools to save slices for easy use. Export slices: Files--storage for formats used by web devices

Slice Delete, use the slice selection tool +delete key, or use view---> clear slices to delete all tiles.

Transduction do not want to cut the unnecessary elements in, you can use the automatic selection function to hide unwanted elements

Select a layer, and then slice the layer.

Process of writing HTML CSS structure using PSD file

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.