Home > Web Front-end > PS Tutorial > body text

Photoshop做简单的xhtml+css网页

PHP中文网
Release: 2017-03-21 15:40:47
Original
1380 people have browsed it

用Photoshop也可以做出简单的xhtml+css网页,一起来试试吧!

  1、在photoshop cs2中打开设计好的网站视觉设计稿。用切片工具切好。

Photoshop做简单的xhtml+css网页
图1 用切片工具切好

  2、点 “文件-》存储为web所用格式”, 快捷键为ctrl+alt+shift+s ,点右上倒三角的小图片,选择Edit output settings。

Photoshop做简单的xhtml+css网页
图2 存为Web格式


  3、见图,在第二个下拉中选择 Slices,选择Generate CSS ,然后在后面的下拉中选By ID。

Photoshop做简单的xhtml+css网页
图3 输出设置

  4、点OK保存并关闭设置窗口,在Save for Web窗口中点Save按扭,在保存类型中选择Html and Images,随便输入一个文件名,点保存。

Photoshop做简单的xhtml+css网页
图4 设置5、完成任务。看一下代码,是不是xhtml+css的?

Photoshop做简单的xhtml+css网页(2)
图5 代码

  没想到吧?这么简单就做出了个xhtml+css的页面。当然实际应用中,这种自动生成的页面还是不太规范,建议大家还是要用dreamweaver 8或者editplus调整代码。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!