I can't touch the html only the css and no javascript
Thank you
Four answers:
2010-02-10 15:12:55 UTC
Strange you say you can not touch the HTML, but can the CSS which is the important file controlling the layout (presentation) of the HTML. I'm almost sure that if you can edit the CSS, you can get access to the HTML to edit it. Of course, we can't help you with that as there are not enough details.
CSS takes precedence in this order:
1) External CSS file
2) Embedded CSS
3) Inline CSS
Ron
Acetaminofen
2010-02-10 15:01:38 UTC
Although it is certainly true that inline styles take precedence, you still can style any other aspects of the element H1, such as background color, typeface, font size, for example or even make it invisible by means of a css declaration: "display:none;" or "visibility:hidden;" virtually all aspects can be styled except color since this is already given as an inline style.
J.J.'s Advice / Avis de J.J.
2010-02-10 14:35:22 UTC
Sorry, you're outta luck! Inline styles take precedence over stylesheets. You either need to edit the HTML or use JavaScript.
2010-02-12 04:04:45 UTC
i think i got the answer
css:
h1{
color:red!important;
}
cheers
T.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.