The problem that I’m having is that I want to be able to click on a button to make certain font text get larger. I’ve accomplished this with “the This Is Paragraph Two” statement however can’t achieve this within the table any ideas would be appreciated
<html>
<head>
<title>Font Size</title>
<script LANGUAGE="VBScript">
<!--
sub bttnTextSize_Onclick
if document.frmTextSize.bttnTextSize.value = "Small Text" then
document.frmTextSize.bttnTextSize.value = "Large Text"
document.body.style.fontSize = "12"
else
document.frmTextSize.bttnTextSize.value = "Small Text"
document.body.style.fontSize = "26"
end if
end sub
-->
</script>
</head>
<body>
<p><font face="Arial" size="6"><strong>This Is Title One</strong></font></p>
<p>This Is Paragraph One </p>
<p> </p>
<p><font size="7">This Is Tiltle Two</font></p>
<p>This Is Paragraph Two</p>
<p> </p>
<p> </p>
<table>
<tr>
<td width="100%">dfgfdgdffg</td>
</tr>
</table>
<form method="POST" name="frmTextSize">
<p><input type="button" value="Small Text" name="bttnTextSize"></p>
</form>
</body>
</html>
Thanks Todd
<html>
<head>
<title>Font Size</title>
<script LANGUAGE="VBScript">
<!--
sub bttnTextSize_Onclick
if document.frmTextSize.bttnTextSize.value = "Small Text" then
document.frmTextSize.bttnTextSize.value = "Large Text"
document.body.style.fontSize = "12"
else
document.frmTextSize.bttnTextSize.value = "Small Text"
document.body.style.fontSize = "26"
end if
end sub
-->
</script>
</head>
<body>
<p><font face="Arial" size="6"><strong>This Is Title One</strong></font></p>
<p>This Is Paragraph One </p>
<p> </p>
<p><font size="7">This Is Tiltle Two</font></p>
<p>This Is Paragraph Two</p>
<p> </p>
<p> </p>
<table>
<tr>
<td width="100%">dfgfdgdffg</td>
</tr>
</table>
<form method="POST" name="frmTextSize">
<p><input type="button" value="Small Text" name="bttnTextSize"></p>
</form>
</body>
</html>
Thanks Todd