How to make an external PHP widget page have your own CSS. The trick is when the outer page included has been touched by the stylesheet of the main page.
The incoming page is actually a comment widget (with its own .css file, about 30 lines, a bit), and the flexibility in height and width MUST HAVE.
PHP include was the best solution, but I lost my hair by adjusting my CSS file to match / null (add / exclude / styles) of any possible host webpage.
<sub> Example: sub>
if there are styles for borders on the main page img, I have to reset them from the style.css widget, the same for H3, Petc.
How would you preserve the style of widget styles from the influence of page styles on the main page, in addition to using iframes ?
source
share