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

Customized development of SharePoint Online: how to update St

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Https://blog.51cto.com/13969817

In the last article, we introduced how to use CSS to change the background color of a website theme. This article will show you how to update Stylesheet. Let's start with the site settings page, because many changes become very obvious on this page. Note: the default value of all unvisited hyperlinks is black, we will change the anchored links color of the entire site, the anchor element is the letter A, open the CSS file for editing. The attribute we want to change is the color, such as changing it to hexadecimal coded FF0000, which is red.

Sample code:

A {

Color: # FF0000

}

Save modified_style.css, now let's see what the website looks like. Most of the links on the page are red, which is different for the links that have been visited.

If the effect of your changes is not visible, you need to check whether the code is accurate, whether the website page remains refreshed, whether the website Master Page applies CSS style sheets, if you are a browser such as Edge or IE, please clear the browser cache.

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

Servers

Wechat

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

12
Report