Closed Bug 7044 Opened 25 years ago Closed 25 years ago

Image not displayed correctly and mouseover hilighting doesn't show up

Categories

(Core :: Layout: Tables, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 7112

People

(Reporter: reboughner, Assigned: karnaze)

Details

Attachments

(1 file)

Two problems with this page:
1) an image contained within a DIV in the right hand frame is not centered
within the table as the ALIGN attribute specifies.
2) The links within the left hand frame should show red when the mouse hovers
over them but they don't
In this example, the image is wrapped in a relatively positioned DIV container
but if I change it to a SPAN wrapper, the image is displayed properly with
regard to its positioning within the table cell.  Is this the way should work?
I didn't think that it would make any difference whether I used a DIV or a SPAN
but it certainly seems to.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
[TESTCASE]
Problem 1 is a dup of bug 7112.

The reason it works with SPAN and not with DIV is that within a SPAN, the image
is considered as text, and so aligned as the table says. Within the DIV, the
table just sees a block level container, which is not affected by the ALIGN,
since ALIGN only applies to text. (We are currently treating 'ALIGN' as
synonymous with CSS' 'text-align' property. This is actually correct, but will
be changed in 'Quirks' mode since it is not backwards compatible.)

Problem 2 is a problem with the page itself. The links do not turn red because
the page doesn't say for them to turn red. There is a missing '#' in the CSS.

Marking as a dup of bug 7112.


*** This bug has been marked as a duplicate of 7112 ***
Status: RESOLVED → VERIFIED
Verified Duplicate of Bug 7112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: