Use PS to create an xhtml+css website homepage in two minutes

Use PS to create an xhtml+css website homepage in two minutes

There are too many articles about xhtml+css website reconstruction web standards, etc., so I will not repeat them. I will post the simplest method of making xhtml+css pages. Although the method is very simple, not many people may know it... at least I can't find it by searching on Google.

Let’s get started:

1. Open photoshop cs2 and open the designed website homepage. Cut with a slicing tool.

picture:

Make a website homepage with xhtml+css in two minutes

2. Click File -> Save as web format. The shortcut key is ctrl+alt+shift+s. Click the small inverted triangle image in the upper right corner and select Edit output settings.

picture:

Make a website homepage with xhtml+css in two minutes

3. As shown in the picture, select Slices in the second drop-down, select Generate CSS, and then select By ID in the subsequent drop-down.

picture:

Make a website homepage with xhtml+css in two minutes

4. Click OK to save and close the settings window. In the Save for Web window, click the Save button. Select Html and Images in the Save type. Enter a file name and click Save.

picture:

Make a website homepage with xhtml+css in two minutes

5. Complete the task. Take a look at the code, is it xhtml+css?

picture:

Make a website homepage with xhtml+css in two minutes

Haha, it’s that simple. I just made an xhtml+css page. Of course, in practical applications, this kind of automatically generated page is still not very good.

I still recommend you to use dreamweaver8 + editplus to create

<<:  Detailed explanation of CSS line-height and height

>>:  Using vue3 to imitate the side message prompt effect of Apple system

Recommend

jQuery Ajax chatbot implementation case study

Chatbots can save a lot of manual work and can be...

Detailed explanation of the use of Vue mixin

Table of contents Use of Vue mixin Data access in...

MYSQL subquery and nested query optimization example analysis

Check the top 100 highest scores in game history ...

How to completely delete and uninstall MySQL in Windows 10

Preface This article introduces a tutorial on how...

Share 8 CSS tools to improve web design

When one needs to edit or modify the website desi...

Web Design Tutorial (1): Steps and Overall Layout

<br /> Note: All texts, except those indicat...

Install Docker on Centos7 (2020 latest version available, just copy and paste)

Refer to the official documentation here for oper...

Nginx content cache and common parameter configuration details

Use scenarios: The project's pages need to lo...

Processing ideas for decrypting WeChat applet packages on PC in node.js

Table of contents Where is the source code of the...

Six ways to reduce the size of Docker images

Since I started working on Vulhub in 2017, I have...

MySQL master-slave synchronization principle and application

Table of contents 1. Master-slave synchronization...