How do I edit HTML styles?
Hello, I am trying to make a style but this website is using styles in the HTML, this is what I mean:
----
th style="text-align:center;font-size:20px;background:#d8d8d8;" colspan="3" align="center">{REDACTED}/th>
----
I removed the < and > at the start and the end because it kept on removing it
I really want it to be darker but I can't make it darker because it has no ID or class so I can't overwrite it, is there a way to select this specific element and change it's style because I do not know how and I want to make really good styles and I need to know how to do that as some websites use that instead of a normal CSS file.
----
th style="text-align:center;font-size:20px;background:#d8d8d8;" colspan="3" align="center">{REDACTED}/th>
----
I removed the < and > at the start and the end because it kept on removing it
I really want it to be darker but I can't make it darker because it has no ID or class so I can't overwrite it, is there a way to select this specific element and change it's style because I do not know how and I want to make really good styles and I need to know how to do that as some websites use that instead of a normal CSS file.
Comments
Share a link to the website so we can see the full structure,
You can use a path to target the th element or even select it based on other attributes.
To change the inline styles you can use
!important
ex.th { background: red !important }
And if it's your website, why don't you add a class or id to select it easier?
lel
Try find demo panel your router online (e.g tp-link have a lot panels online).
Maybe your producent have demo on our website.
Routers branded by mobile operators may be problematic.
As well as routers with which open source environment loaded instead of the original one too.
th[style="text-align:center;font-size:20px;background:#d8d8d8;"]{background:#000!important;}
Spacing inside the square brackets must match what's in the html, in case you altered it at all.
Parent > Table> tr > th. {}
Or,
Parent > parent > parent > * {}