Closed Bug 124406 Opened 24 years ago Closed 24 years ago

buttons within <center> tags within frames don't work

Categories

(Core :: Layout, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 122966

People

(Reporter: morse, Assigned: attinasi)

Details

Consider the two files shown below -- main.html and button.html 1. Bring up main.html in the browser 2. Click on the button that says "Mozilla" expected result: mozilla.org is displayed in browser window actual result: centered button jumps to left side, mozilla.org does not appear Note the following: - if you bring up button.html in the browser window directly (without using main.html) it works fine - if the <center> tags are removed, this works fine - if you click on the button after it has moved to the left, it brings up mozilla.org main.html --------- <html> <frameset rows=200,*> <frame name="topFrame" src="button.htm" frameborder="no" scrolling="no"> <frame name="bottomFrame" src="about:blank" frameborder="no" scrolling="no"> </frameset> <noframes> <body> <P> </body> </notframes> </html> button.html ----------- <html> <body> <center> <form name="searchform"> <input type="button" value="Mozilla" onclick="top.location='http://www.mozilla.org';"> </form> </center> </body> </html> Not sure who should get this. Starting with layout.
Correction above: Either change the name of the second file to button.htm or change the link in the first file so that it points to button.html.
duplicate of "jumping submit button within non-scrollable frame" *** This bug has been marked as a duplicate of 122966 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
QA Contact: petersen → amar
Verified dupe of bug# 122966
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.