Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
Am I right in thinking that certain elements have default styling applied to them, defined outside of the developer's control? From Chrome's developer console, it looks like li elements have list-style:none and font-size:12px applied to them, but I've definitely not set these properties.
Assuming this is the case, is there any reason for this? It's slightly annoying that when I set the font-size of the body, li elements aren't affected because of the more specific selector. Can I change this behaviour?
Thank you.
Solved! Go to Solution.
You may use JavaScript to disable the style sheet.
let styleSheets = document.getElementsByTagName("link");
for (let i = 0; i < styleSheets.length; i++) {
styleSheets[i].disabled = true;
}
You may use JavaScript to disable the style sheet.
let styleSheets = document.getElementsByTagName("link");
for (let i = 0; i < styleSheets.length; i++) {
styleSheets[i].disabled = true;
}
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |