Is it possible to make an iframe behave like newspaper columns?

I have an iframe that works great, except that the text spans the entire screen and might be difficult for some people to read. How can I href an external page to go into two or three columns? Currently I have an iframe to do it, but there are no columns, just these huge lines of text.

iframe {
width: 100%;
height: 777px;
border-color: blue; }

I tried with a div instead of an iframe, but my skill level resisted that idea.

If I am understanding you correctly, you want to change the CSS on the page in the iframe from outside of the iframe (from the page that is embedding the iframe, the “parent” ). You can do this using JS but the big restriction is that the page in the iframe has to be hosted under the same domain as the page that has embedded the iframe.

How to get element from an Iframe in JavaScript

1 Like

I figured out another way, I think. I’ll just have 2 or 3 iframes in parallel and use two or three different sources by splitting my sources into 2 or 3 files. I have already done this, so it shouldn’t be too difficult, not above my skill level. (:->)
How do we tell people that this question is resolved?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.