Home  >  Article  >  Web Front-end  >  css is not loaded on first visit_html/css_WEB-ITnose

css is not loaded on first visit_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:08:281255browse

jquery mobile:

First visit, no css style loaded. Refreshing can solve the problem, so I added an attribute target="_parent" and the problem was solved.
I want to know why this is. Is there any other method without adding a target?


Reply to discussion (solution)

Not very clear

CSS is in the parent window, the window you see is a child window

CSS is in the parent window, the window you see is a child window
The page pointed to has its own css

Not sure

I understand

Check carefully what target="_parent" means before using it. Don't think that it is added to the page just for functionality.
18 Materials is a very good site. Welcome to use it.

Is it using a frame or something? reason? I feel like it’s not very clear

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn