If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

MZ not handling stylesheet width for hyperlinks

VERIFIED INVALID

Status

()

Core
CSS Parsing and Computation
VERIFIED INVALID
16 years ago
16 years ago

People

(Reporter: Steve Smith, Assigned: dbaron)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
This page references a stylesheet containing this class definition for hyperlinks:

.PageLink
{
	PADDING-RIGHT: 1px;
	PADDING-LEFT: 1px;
	PADDING-TOP: 1px;
	PADDING-BOTTOM: 1px;
	COLOR: white;
	FONT-FAMILY: 'Lucida Sans Unicode';
	FONT-SIZE: 10pt;
	BACKGROUND-COLOR: DarkGreen;
	MARGIN: 1px;
	BORDER-LEFT: white 1px solid;
	BORDER-BOTTOM: white 1px solid;
	BORDER-TOP: white 1px solid;
	BORDER-RIGHT: white 1px solid;
	TEXT-ALIGN: center;
	HEIGHT: 20px;
	WIDTH: 200px;
}

In Internet Explorer, the hyperlinks display at the 200px width.  In Mozilla,
they display only at the width of the hyperlink text.
Over to style system.
Assignee: jst → dbaron
Component: DOM Style → Style System

Comment 2

16 years ago
Invalid?
width does not apply to inline, non-replaced elements
see http://www.w3.org/TR/REC-CSS2/visudet.html#q4
Correct, this is invalid.  You need to set 'display: block' (or, in the future,
'display: inline-block') for the 'width' property to apply here.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
VERIFIED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.