CSS :font-size declaration works for TD but ignored for TH.

VERIFIED FIXED

Status

MozillaClassic
P2
normal
VERIFIED FIXED
21 years ago
19 years ago

People

(Reporter: ekrock's old account (dead), Assigned: harishd)

Tracking

1998-09-04
x86
Windows 95

Details

(Reporter)

Description

21 years ago
View this HTML page to reproduce.
--- CUT HERE ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

   <!-- * Internal HTML page title for indexing use only. Not shown on page.  *
-->
   <TITLE></TITLE>


   <!-- * If you want to add a CSS style sheet specific to this page,
        * uncomment the next line and add your formatting commands.  * -->
   <STYLE TYPE="text/css">
/* First, set attributes of BODY element.
   These will be inherited by all elements inside BODY.
   Therefore, they will become default settings within document.
*/

BODY {
  color: #000080;
  background: white;
}



/* Set color for links and visited links.  */

:link {  color: #CC3300 }
:visited {  color: #666666 }
:active {  color: #000000 }



/* Make sure that the table, row, and cell elements of
   the table which forms the skeleton of our presentation
   pages will have zero width margin and padding.
*/

.page_skeleton_table {
  margin: 0 0 0 0;
  border: 0 0 0 0;
  padding: 0 0 0 0;
}



H1 {
  font-size: 48
}

P {
  font-size: 24
}

LI {
  font-size: 24
}

// show source code in a smaller font so more fits on the page

PRE {
  font-size: 16
}

// default size of text within tables

TH {
  font-size: 24
}

TD {
  font-size: 24
}

   </STYLE>


   <META NAME="GENERATOR" CONTENT="Mozilla/3.0Gold (Win95; I) [Netscape]">
</HEAD>

<BODY>

<TABLE CLASS=page_skeleton_table>
<TR CLASS=page_skeleton_table>
<TD CLASS=page_skeleton_table>

<!-- This 1-pixel wide invisible GIF is necessary to ensure that  -->
<!-- the height of the table's top cell matches the height of the -->
<!-- logo. Do not cut it or the top cell's height will change.    -->

<IMG SRC="basefile/head_inv.gif" HEIGHT=72 WIDTH=1 ALIGN=RIGHT>

<!-- ******************************** -->
<!-- * Place your header text here. * -->
<!-- ******************************** -->

<H1>A slide with a table</H1>

<!-- ******************************** -->
<!-- *    Header text ends here.    * -->
<!-- ******************************** -->

</TD>
</TR>

<TR CLASS=page_skeleton_table>
<TD CLASS=page_skeleton_table>

<!-- ****************************** -->
<!-- * Place your body text here. * -->
<!-- ****************************** -->

<P>

<TABLE CELLPADDING=0 CELLSPACING=0>
<TR>

<TH>
</TH>

<TH>This should be...
</TH>

<TH>... the same size ...
</TH>

</TR>

<TR>

<TD>
</TD>

<TD>as
</TD>

<TD>this!
</TD>

</TR>

<TR>

<TD>
</TD>

<TD>What's
</TD>

<TD>wrong?
</TD>

</TR>
</TABLE>


<!-- ****************************** -->
<!-- *    Body text ends here.    * -->
<!-- ****************************** -->

</TD>
</TR>
</TABLE>
</BODY>
</HTML>

Comment 1

21 years ago
I don't know whether this is layout or the front-end

Comment 2

21 years ago
Reopening for 4.02 consideration/investigation

Comment 3

21 years ago
Scott can you take a look at this?  Do you know who added
automatic hqx decoding?

Comment 4

21 years ago
opps wrong bug

Comment 5

20 years ago
reassigning to harishd.
(Assignee)

Updated

20 years ago
Component: CSS → Layout
Version: other → 1998-09-04
(Assignee)

Comment 6

20 years ago
Replacing // with /* */ should solve this problem
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 7

19 years ago
I don't think this bug exists in SeaMonkey.  Janc could you please verify?
Thanx

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 8

19 years ago
This looks fine on WinNT and on Win98 in the 2/1 build...
Marking verified/fixed
You need to log in before you can comment on or make changes to this bug.