Closed
Bug 271197
Opened 20 years ago
Closed 20 years ago
I could not click the link if the HTML file like: <a href=...><tr..><td>...</td></tr></a>
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: zzhi.zhang, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
The html file looks like:
<a href="....">
<tr style="cursor:hand" id="Row2" bgcolor = "#FFFFFF"
onMouseOver="javascript:this.style.backgroundColor='#BBBBBB';"
onMouseOut="javascript:this.style.backgroundColor='#FFFFFF';" >
<td><font color="#000000">2004</font></td>
<td><font color="#000000">53360526215</font></td>
<td><font color="#000000">test</font></td>
<td><font color="#000000">test</font></td>
<td width="15%" align="right"><font color="#000000">33.20</font></td>
<td>
</td>
</tr></a>
The above URL link did not clickable in firefox browser.
Reproducible: Always
Steps to Reproduce:
1.Just write a simple page with above html contents.
2.open the html file with firefox
3.click the table line, and no any reponse.
Actual Results:
Regaring to the IE, it works the table line of URL should be clickable. I am not
sure the HTML format is correct or wrong. But firefox should treat it as IE.
Comment 1•20 years ago
|
||
I can click on that, though the HTML is invalid, only inline elements are allowed within a link. About the cursor, use pointer if you want an element to get the hand when hovering. You can also skip the javascript: in the event callers.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1) > I can click on that, though the HTML is invalid, only inline elements are > allowed within a link. About the cursor, use pointer if you want an element to > get the hand when hovering. > > You can also skip the javascript: in the event callers. I am not very clear what you mean. Maybe you mean the <A href="..> tag are not allowed in there. But if I want to such effection, what is the correct style?
Comment 3•20 years ago
|
||
A table is not allowed within a link, within a link y ou can only have inline elements (span, strong, em , etc)
You need to log in
before you can comment on or make changes to this bug.
Description
•