| |

VerySource

 Forgot password?
 Register
Search
View: 789|Reply: 4

CSS issues in content pages

[Copy link]

5

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-1-4 23:30:01
| Show all posts |Read mode
A CSS file: aaa.css
Use <link ...> in the master page to link it. The master page can be displayed according to the rules in CSS.
But CSS rules are not valid for content pages!

There is no place in the content page where you can add <link ..>, how can you make it use that CSS?


(Willn’t you just write "style =" ... "" in each tag? ...
Reply

Use magic Report

0

Threads

32

Posts

20.00

Credits

Newbie

Rank: 1

Credits
20.00

 China

Post time: 2020-1-4 23:48:02
| Show all posts
Content page is invalid?
1.The path check is correct (90% probability)
2, whether the call is correct
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-1-5 02:27:01
| Show all posts
Check it in the client-generated html.
It is likely that the path is incorrect. Also check the capitalization of the style name
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-6 15:42:01
| Show all posts
Use add in pageload
Or write it directly on the master page
Reply

Use magic Report

0

Threads

10

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-6 16:06:01
| Show all posts
Basically it is caused by incorrect CSS style sheet file address. If you are not familiar with relative path settings, it is safer to define them on the motherboard page.
In fact, it is more convenient to use DREAMWEAVER's site and CSS style sheet control panel to set links when setting static pages.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list