Closed Bug 287386 Opened 20 years ago Closed 20 years ago

The width of an anchor tag element is not set by its style width value.

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 50626

People

(Reporter: remmons, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

The following html does not set the width of the anchor element to 50% of its
parent element's width:

<html>
<body>
<a href="#" style="width: 50%; border-style: solid;">Target</a>
</body>

With MS Internet explorer, the anchor is surrounded by a border that encompasses
50% of the width of the page.


Reproducible: Always

Steps to Reproduce:
1. Load the above code or url into Firefox.
2.
3.

Actual Results:  
The border around "Target" is with width of the word, not 50% of the width of
the page.


Expected Results:  
The border around "Target" should be 50% of the width of the page.

*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.