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;
}
精彩评论