Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Why I have to select View/Page Style/No Style multiple times to remove styles

  • 4 답장
  • 3 이 문제를 만남
  • 1 보기
  • 최종 답변자: gregjenkins

more options

If I have a simple html file with a single frame like the following, I have to select View/Page Style/No Style twice to remove the page style in child.html. Is this a bug in Firefox?

Also after setting child.html to "No Style", it doesn't carry the "No Style" setting to the new window created with "window.open()".

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<HTML>
<HEAD>
<TITLE>test</TITLE>
</HEAD>	
<FRAMESET frameborder="yes">
    <frame src="/child.html" name="child" noresize="noresize" scrolling=no marginheight="0" marginwidth="0" frameborder="0" border="0" title="child html for testing">
</FRAMESET>
</HTML>
If I have a simple html file with a single frame like the following, I have to select View/Page Style/No Style twice to remove the page style in child.html. Is this a bug in Firefox? Also after setting child.html to "No Style", it doesn't carry the "No Style" setting to the new window created with "window.open()". <pre><nowiki> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <HTML> <HEAD> <TITLE>test</TITLE> </HEAD> <FRAMESET frameborder="yes"> <frame src="/child.html" name="child" noresize="noresize" scrolling=no marginheight="0" marginwidth="0" frameborder="0" border="0" title="child html for testing"> </FRAMESET> </HTML></nowiki></pre>

글쓴이 cor-el 수정일시

모든 댓글 (4)

more options

View > Page Style > No Style only applies to the current page in View and doesn't carry over to other windows or links that you open.


more options

Thank you for your quick reply.
Do you happen to know something about my first question - why I need to select the menu option twice to remove styles on child.html when having "scrolling=no" in the frame tag?
In the application I am working on, we have multiple nested frames and we have to select "No Style" 3 - 4 times to remove all styles, which is very user unfriendly.
In addition, it removes all positioning settings, which forces us to either come up with our own alternative style or expand each frame window. It would be nice if Firefox could have an option to turn off styles specifically for vision impaired people.

more options

Can you post a link to a page that has that code?

more options

I don't have a web site for other people to access, but here is my child.html. If you don't mind to do some copy and paste, you may save the code given in my question in a html file, e.g. parent.html, and save the following code in child.html.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<html>
    <head>
    </head>
    <body TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>
	<div style="text-algn: center;">
	    <table cellspacing=0 cellpadding=0 style="margin: 0px;" >
		<tbody>
		    <tr>
			<td>
			<table cellspacing=0 cellpadding=0 >
			    <tbody>
				<tr>
				    <td>
					<A href="javascript: alert('test');"><span>It shows space above this link when "No Style" is selected.<BR>With "scrolling=no" specified in the frame tag, select "No Style" twice to remove styles. </span></A>
				    </td>
				</tr>
			    </tbody>
			</table>
			</td>
		    </tr>
		</tbody>
	    </table>
	</div>
    </body>
</html>

Note: please make sure you don't have any style add-on installed.

글쓴이 cor-el 수정일시