Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 55083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:19:18+00:00 2026-05-10T17:19:18+00:00

Say I have 3 frames in a frameset arranged in 3 rows. Frames 1

  • 0

Say I have 3 frames in a frameset arranged in 3 rows. Frames 1 and 3 are from my site and frame 2 (the central one) is from an external website. Is there a cunning way to force the browser to centre align the data in frame 2?

I’ve found a small work-around which uses a frameset within a frameset which has 2 blank columns either side of the data but that means the scrollbars from frames 2 and 3 are out of alignment.

Any ideas?

Edit : The code I have currently is :

 <html xmlns='http://www.w3.org/1999/xhtml' > <head id='Head1' runat='server' /> <frameset rows='10%,65%,25%' border=0 frameborder='no'>     <frame name='nav' noresize scrolling='no' src='NavigationBar.aspx?NAVIGATION=<%=sDisplayNavigation %>'>     <frameset cols='1*,1010px,1*'>         <frame name='lspace' scrolling='no' src='border.htm'>         <frame name= 'main' scrolling='auto' src='<%=sMainTextURL%>#highlight'>         <frame name='rspace' scrolling='no' src='border.htm'>     </frameset>     <frame name='suggest' scrolling='yes' noresize src='<%=sSuggestURL%>'> </frameset> </html> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:19:19+00:00Added an answer on May 10, 2026 at 5:19 pm

    I think what you are looking for is a way to inject some CSS into the other frame, even though it comes from another site.

    I think this will not be possible without a server side script to request the page and modify it.

    Javascript has ways to modify other frames using window.frames[] and using DOM traversal just like for elements in the local frame. This will be problematic for you because of the ‘same-origin policy’. This basically means that javascript in a frame loaded from example.com can not access the DOM in a frame loaded from foo.com. Even if you have similar domains, foo.example.com and bar.example.com, they are treated as separate domains in the browser so your javascript from one is not allowed to access the other.

    This affects ajax calls using XMLHttpRequest as well. There are ways of reducing the impact of this, but I think you need to be able to run javascript on both sides of the line.

    I recently tried something similar to what you are doing, where I wanted to embed one site in another, but the same-origin policy made it impractical.

    The other way to do this is server-side instead of client-side. Create a php script which requests content from the other server on behalf of the client, and then serves it as if it was on your server all along. Then your javascript, now on the same server, can do what it will with that frame. If the other site uses a lot of cookies or ajax, this could be tricky, but your php won’t have a same-origin policy to deal with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer actually ejb3 use a default naming convention, wich i've not… May 11, 2026 at 10:50 am
  • added an answer I would avoid threading for the game logic as J2ME… May 11, 2026 at 10:50 am
  • added an answer You may need to delete all your breakpoints---note that you… May 11, 2026 at 10:50 am

Related Questions

Say I have 3 frames in a frameset arranged in 3 rows. Frames 1
Let's say I have 3 point clouds: first that has 3 points {x1,y1,z1}, {x2,y2,z2},
Say I have two lists: var list1 = new int[] {1, 2, 3}; var
Lets say I have this array, int[] numbers = {1, 3, 4, 9, 2};
Let's say I have a sequence of values (e.g., 3, 5, 8, 12, 15)
I have a table with say 3 columns. There's no primary key so there
Say I have the following file structure: app/ app.py controllers/ __init__.py project.py plugin.py If
Say I have an ASMX web service, MyService. The service has a method, MyMethod.
Say I have a class named Frog, it looks like: public class Frog {
Say I have three files (template_*.txt): template_x.txt template_y.txt template_z.txt I want to copy them

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.