/    Sign up×
Community /Pin to ProfileBookmark

external pages in iframe – scrollbar colour problem

hi, im using iframes in my website and i have set the scrollbar colours on the parent page and for my pages. When these pages which are on my sever are loaded into the iframe the scrollbar colours are how i have set them, however i want to load an external page into the iframe, but the scrollbars are then set to the defalt colour which dont fit in with my colour scheme.

Is there a way of setting an iframe’s scrollbars from the html page containing the iframe?
Is there a way around this using scrolling divs andor auto sizing iframes/divs?

please help 😮

Thanks in advance, James Kelly

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzDec 18.2005 — iframe scrollbar colors are set on the document loaded into the iframe, not the parent document.

If you have access to a server-side language, you could copy the external page to your server, modify it, and then load it into the iframe.

Is there a way around this using scrolling divs andor auto sizing iframes/divs?[/quote]
Possibly, but that is way more trouble than it's worth.
×

Success!

Help @james_d_kelly spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...