开发者

styling affected by parent page css

I'm hosting a webpage and wrapping my content (the body) with a 3rd party websites header/footer html and their styling. I have my own styling asso开发者_运维技巧ciated with the content in the body of the page but some of the 3rd party websites styling is affecting my content. Is there something I can wrap my HTML code with to block the styling from the 3rd party?


You must be mistaken. That can't happen.

You might be including the same style sheets in both the parent page and the iframe content page.


Add !important to the end of your css to ensure that no other css over rides it

ex:

#Something
{
    color: White !important;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜