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

Status

()

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

People

(Reporter: larry montoya, Assigned: dbaron)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

15 years ago
Hi,

I am using the SPAN tag and stylesheet to format some menu items
It looks like the width and height specifications in the stylesheet are 
apparently ignored in Mozilla. The size of SPAN seems to be determined by  the 
size of the string "articles_mnu" of variable length.
I have had to use PADDING-RIGHT and PADDING-BOTTOM in the stylesheet to adj. 
the sizeof the SPAN.
BTW, I have not uploaded the codes onto my demo website yet.
Thanks for your help


Larry.


Here's the code segment.

SPAN.btnarticle{
	cursor: hand;
	font-family: arial;
	font-size: 14px;
	background-image: url("./imgs/home.gif");
	background-repeat: no-repeat;
	padding-right:28px;	/* I have to include this in the style to 
display the*/
				/* background */
	padding-bottom:5px;	/* I have to include this in the style to 
display the*/ 
					/* background */
	height:23px;		/* apperantly ignore by Mozilla*/
	width:80px;		/* apperantly ignore by Mozilla*/
	color: #949494;
	border-top: 1px solid #8F8F8F;
	border-left: 1px solid #8F8F8F;
	border-bottom: 1px solid #8F8F8F;
	border-right:1px solid #8F8F8F;
}


<SPAN onmouseover="btnOvr(this);" onmousedown="btnDwn(this);" 
onmouseout="btnOut(this);" Title="Articles page ..." CLASS="btnarticle" 
onclick="loadPg('art');">&nbsp;<%=articles_mnu%>&nbsp;</SPAN>
(Assignee)

Comment 1

15 years ago
The 'width' and 'height' properties do not apply to inline, non-replaced
elements.  See CSS2 10.3.1 and 10.6.1.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
yup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.