Closed Bug 733 Opened 27 years ago Closed 26 years ago

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

Categories

(MozillaClassic Graveyard :: Layout, defect, P2)

1998-09-04
x86
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ekrock, Assigned: harishd)

Details

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>
I don't know whether this is layout or the front-end
Reopening for 4.02 consideration/investigation
Scott can you take a look at this?  Do you know who added
automatic hqx decoding?
opps wrong bug
reassigning to harishd.
Component: CSS → Layout
Version: other → 1998-09-04
Replacing // with /* */ should solve this problem
Status: NEW → ASSIGNED
I don't think this bug exists in SeaMonkey.  Janc could you please verify?
Thanx
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
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.