본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

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

자세히 살펴보기

Overlapping Buttons in Firefox - Using HTML/CSS - Works in IE6

  • 3 답장
  • 19 이 문제를 만남
  • 18 보기
  • 최종 답변자: cor-el

more options

I have html that is being ingnored. Here is the snippet:

<%}else{%>
<DIV> <div style="float:right> <DIV CLASS="smallbuttons">
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
    <input type="image" src="Images/Save.gif" style="cursor: hand" alt="Save data">
    <img src="Images/Cancel.gif" style="cursor: hand" alt="Reset form values" onClick="javascript:reset()">
</TD>
<TD align="RIGHT"> 
	<input type="button" name="E-Mail Notification" value="E-Mail" onClick="javascript:popemail();">
	<input type="button" name="Help" value="Help" onClick="javascript:help();">								
	<img src="Images/Reviewnotes.gif" style="cursor: hand" alt="Create or read review notes for this component"  border="0" onClick="javascript:reviewnotes();">				
	<img src="Images/Comments.gif" style="cursor: hand" alt="Create or read comments for this component"  border="0" onClick="javascript:comments();">
	<img src="Images/Reports.gif" style="cursor: hand" alt="Go to report page" border="0" onClick="javascript:goto('ReportSelection.jsp?selectedyear=<%=request.getParameter("year") %>&selectedcountry=<%=request.getParameter("country") %>&selectedle=<%=request.getParameter("le")%>&selectedbu=<%=request.getParameter("bu")%>')">
	<img src="Images/Home.gif" style="cursor: hand" alt="Go to ITRP home"  border="0" onClick="javascript:home();">		
	<img src="Images/Divisions.gif" style="cursor: hand" alt="Go to business unit home" border="0" onClick="javascript:buhome();">	
</TD>		
</TR>
</TABLE>	
</DIV> </DIV> </DIV>					
<%}%>


It's using the css Below:


TD {
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 12px;
	color : 330033;
}

.number{
	font-family:  Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
}


.smallbuttons
{
	position: absolute;
	top: 92px;
	float:right;
	left: 10px;
}

.regular{
	font-family:  Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

But the buttons overlap the text. I'm trying to shift the buttons from email etc to the right. Any ideas would be appreciated. This issue causes the text that in IE a row lower to shift up and the buttons overlapp.

I have html that is being ingnored. Here is the snippet: <pre><nowiki><%}else{%> <DIV> <div style="float:right> <DIV CLASS="smallbuttons"> <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0> <TR> <TD> <input type="image" src="Images/Save.gif" style="cursor: hand" alt="Save data"> <img src="Images/Cancel.gif" style="cursor: hand" alt="Reset form values" onClick="javascript:reset()"> </TD> <TD align="RIGHT"> <input type="button" name="E-Mail Notification" value="E-Mail" onClick="javascript:popemail();"> <input type="button" name="Help" value="Help" onClick="javascript:help();"> <img src="Images/Reviewnotes.gif" style="cursor: hand" alt="Create or read review notes for this component" border="0" onClick="javascript:reviewnotes();"> <img src="Images/Comments.gif" style="cursor: hand" alt="Create or read comments for this component" border="0" onClick="javascript:comments();"> <img src="Images/Reports.gif" style="cursor: hand" alt="Go to report page" border="0" onClick="javascript:goto('ReportSelection.jsp?selectedyear=<%=request.getParameter("year") %>&selectedcountry=<%=request.getParameter("country") %>&selectedle=<%=request.getParameter("le")%>&selectedbu=<%=request.getParameter("bu")%>')"> <img src="Images/Home.gif" style="cursor: hand" alt="Go to ITRP home" border="0" onClick="javascript:home();"> <img src="Images/Divisions.gif" style="cursor: hand" alt="Go to business unit home" border="0" onClick="javascript:buhome();"> </TD> </TR> </TABLE> </DIV> </DIV> </DIV> <%}%> </nowiki></pre> It's using the css Below: <pre><nowiki>TD { font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 12px; color : 330033; } .number{ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-align: right; } .smallbuttons { position: absolute; top: 92px; float:right; left: 10px; } .regular{ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; }</nowiki></pre> But the buttons overlap the text. I'm trying to shift the buttons from email etc to the right. Any ideas would be appreciated. This issue causes the text that in IE a row lower to shift up and the buttons overlapp.

글쓴이 cor-el 수정일시

모든 댓글 (3)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25

more options
<img src="Images/Cancel.gif" style="cursor: hand" alt="Reset form values" onClick="javascript:reset()">

alt="Reset form values"

Reset form values not showing

글쓴이 cor-el 수정일시

more options

The Alt attribute isn't meant to show as a tooltip on hover.
The Alt attribute is meant to show if the image isn't or can't be displayed.
The title attribute is meant to show if you hover an image or link.
If there is no title attribute, but there is an alt attribute then IE will show the alt attribute as a tooltip.
Firefox doesn't do that, so if the title attribute is missing then you do not see a tooltip if you hover an image or link.