Hi all,

I have my iframe working, and have styled the content, however, it wont display the styles.

Recommended Answers

All 3 Replies

URL with your problem ?

an iframe contains a complete file,
style references for the file within the iframe have to be included in the html of the file within the iframe
If you are accessing a file on another site, the file will use that other site's styles
If you are accessing a file on your own site, it may just require the link to the css file be updated (in the iframe file)

Additionally:
If you would like to style content from another site within your iframe, you can use javascript.. Jquery is a very good place to start (JS Library) and Firebug (find all the classes you would like to change easily).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.