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

Docker setting windows storage path operation

When installing Docker on Windows 10, after selec...

Example of using CSS to achieve semi-transparent background and opaque text

This article introduces an example of how to use ...

JavaScript anti-shake case study

principle The principle of anti-shake is: you can...

innodb_flush_method value method (example explanation)

Several typical values ​​of innodb_flush_method f...

js implements custom drop-down box

This article example shares the specific code of ...

Apache Spark 2.0 jobs take a long time to finish when they are finished

Phenomenon When using Apache Spark 2.x, you may e...

JS+CSS to realize dynamic clock

This article example shares the specific code of ...

Solve the problem of docker pull being reset

This article introduces how to solve the problem ...

MySQL installation tutorial under Linux centos7 environment

Detailed introduction to the steps of installing ...

Summary of MySql storage engine and index related knowledge

Storage Engine What is a database storage engine?...

Analysis of MySQL lock mechanism and usage

This article uses examples to illustrate the MySQ...

mySQL server connection, disconnection and cmd operation

Use the mysql command to connect to the MySQL ser...

Design Theory: Ten Tips for Content Presentation

<br /> Focusing on the three aspects of text...