In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to center the DreamWeaver text alignment, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
1. Open the DreamWeaer software and click in the middle of the body tag to bring up the text input box.
2. Then enter the div tag, as shown in the following figure
3. In the head tag, enter the style tag
4. Add the attribute settings of div to the style tag: width:100px;height:100xp;background-color:red; width: 100px; height: 100px; background color is red. As shown in the following figure
5. Click split to view the effect
6. Then continue to enter text-align:center; text in the attributes to center horizontally
7, for vertical center alignment, the line height relationship is used here, the height of the whole graph is 100px; if the line height of the font is also set to 100px, then the text is in the middle.
The code is line-height:100px.
8. Save the file finally.
9. That's what it's like to open it in a browser. This is shown in the following figure.
Thank you for reading this article carefully. I hope the article "how to align DreamWeaver text in the center" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.