Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Help with font size

Posted by: pcsol May 9 2018, 07:59 AM

Hello all,
doing a favor for a friend, need some help with font size for a cell:

<head>
<title>Payment totals</title>
<link rel="stylesheet" type="text/css" href="CustDisp.css"/>
<style type="text/css">
#AMT_DUE_DDLabel
{
font-size: xx-large;
}
.style1
{
font-size: xx-large;
}
.style2
{
width: 1177px;
}
#SAL_TAX_AMT_DDLabel
{
font-size: large;
}
#SUB_TOT_DDLabel
{
font-size: large;
}
.style3
{
font-size: large;
}
</style>
</head>
<body class="totals">
<div id="divDocument">
<table id="tblDocument">
<tr class="title">
<td class="style2"></td>
<td></td>
</tr>
<tr>
<td class="bigcaption" style="width: 1177px">
<a><span id="SUB_TOT_DDLabel">SUB_TOT</span>:</a>
</td>
<td class="decimalvalue">
<a id="SUB_TOT"><span class="style3">0.00</span></a>
</td>
</tr>

<tr id="TAX_Totals">
<td class="bigcaption" style="width: 1177px">
<a><span id="SAL_TAX_AMT_DDLabel">TAX_AMT</span>:</a>
</td>
<td class="decimalvalue">
<a id="TAX_AMT"><span class="style3">0.00</span></a>

</td>
</tr>
<tr class="bigtitle">
<td class="bigcaption" style="width: 1177px">
<a><span id="AMT_DUE_DDLabel">AMT_DUE</span>:</a>
</td>
<td class="decimalvalue columntotal">
<a id="AMT_DUE"><span class="style1">0.00</span></a>

</td>
</tr>
</table>
</div>
</body>
</html>


In red are the cells that don't seem to get the correct font-size (xx-large for amount due and large for tax and subtotal).
Tried to add it within the style to no avail.
Any help would be appreciated.
Thanks,

Posted by: pandy May 9 2018, 03:09 PM

Works for me. Maybe there's something in the linked style sheet that overrides the embedded style sheet.

Posted by: pcsol May 10 2018, 02:22 PM

QUOTE(pandy @ May 9 2018, 04:09 PM) *

Works for me. Maybe there's something in the linked style sheet that overrides the embedded style sheet.


Hi pandy,
Thanks for the response.
I will see what I can find out.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)