I’m stuck when I want to edit my website, because I don’t know which file I have to open and edit.
When I use “inspect element”, it doesn’t tell me the specific file that the styling came from. Usually it says something like “style.css:(line number)”. But in my case, it just say “inline”. I have to search on cpanel through every file on it, and I don’t find a file that contains data which I want to edit.
Can you give me any idea to solve my problem?
2
Answers
Inline means that this style is defined in the html file. An example of inline style
You need to look in the HTML file that contains your element.
In general CSS can be added to HTML in 3 ways:
<style>
element in the sectionSee this for more info.
Inline refers To style added in HTML elements .
Check your html file find the element and check its attribute ✌
If elements doesn’t have it , then the css properties is implement by JavaScript .