In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 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 solve the small problems about the application of CSS in Dreamweaver, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Dreamweaver is a WYSIWYG web editor that integrates web page creation and website management. Because DW is so powerful, you can define css (style sheet) directly in him, and it is this css that gives me a small problem.
The thing is, I use css mainly to change the color of my hyperlink and whether there is an underline or not. It is really convenient to define css in DW. He has set all the parameters for you as long as you click the mouse. It is because of his simplicity that he brings a small problem (in my opinion):
The following is the referenced content:
< style type="text/css"> < !-- a:hover { color: #FF3333; text-decoration: underline} a:link { color: #3333FF; text-decoration: none} a:visited { color: #3333FF; text-decoration: none} --> < /style>The above is the css source code generated by DW, this source code means to remove the underline of the hyperlink, the mouse moves up to change the color and add the underscore, the color after the connection does not become blue. I intended to do the same, but the results of browsing in IE tell you that this is not the case. But there is a small change, that is, after the connection, when the mouse is moved up again, there is an underline and it becomes gone. What is the reason for this? generally speaking, there are! That's why, then I found a similar css from other websites and analyzed their css source code, almost, ah (on different colors and some other parameters), other parameters were quickly excluded by me, because I didn't need those parameters and stopped on the color, at first I thought I was color-blind! But I soon denied it. It was normal for me to put the css I found on my home page and change the color to my color. This is not, that is not, then why. Why does the same code have two effects? Why...
Just when I was about to go online for help, suddenly my eyes lit up, it can't be this reason! It turns out that the code I found is only a little different from my own code-the order is different, because I think the order is not very important! I didn't notice. The next step is to change, try again, wow, success! Alas, it seems that the definition of css in the future can only be handwritten or defined in DW. It's really troublesome. I thought it would be easier with DW, but I didn't expect to have to customize the code by hand. If the master has a good idea, please write to let me know! The following is the changed code: (it's not easy to notice! )
The following is the referenced content:
< style type="text/css"> < !-- a:link { color: #3333FF; text-decoration: none} a:visited { color: #3333FF; text-decoration: none} a:hover { color: #FF3333; text-decoration: underline} --> < /style>Thank you for reading this article carefully. I hope the article "how to solve the minor problems about the application of CSS in Dreamweaver" shared by the editor will be helpful to everyone. At the same time, I also hope that 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.