Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How dreamweaver 8 sets the page height and width color through code

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces dreamweaver 8 how to set the page height and width color through the code, the article is very detailed, has a certain reference value, interested friends must read it!

Dreamweaver is a web design software that can achieve desired page design by setting buttons and writing very little code. Here's how to add a div and set the width, height, and background color.

Open Dreamweaver 8 and create a new HTML page. As shown in the figure:

2, the next page insert div tag, select the toolbar "insert DIV tag" button, in the open dialog box ID item to name this div, we give it a name called layout(can be written according to their own needs). As shown in the figure:

3. After clicking "Insert," as shown in the figure, give div a name, as shown in the figure:

4. After clicking "OK", the code will be added, as follows:

5. Add style: click the CSS style icon on the right

6. Check "For this document only", as shown in the figure:

7. Set width, height and background, as shown in the figure:

8。Click Apply OK to set background color:

9. Check the desired color, click Apply, and confirm. Overall effect:

The above is "dreamweaver 8 how to set page height and width color through code" all the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report