I have a iframe with a width of 450 with text inside and I want to align this text on the right hand side of the iframe. I don’t have access to the iframe to change it.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Then I’m afraid what you want to do is impossible. The Same Origin Policy prevents any and all access to the DOM of that iFrame.
You would have to use a server-side script to fetch the iframe’s contents.