Goodz13
January 29th, 2003, 12:10 PM
I have a page with a form with input type text, select, etc.
What I want to know is how do you hide butons and submit buttons.
I found the following code, but it doesn't seem to work
in my head tags.
<style type="text/css" media="print">
<!--
.hide {display:none}
-->
</style>
<style type="text/css" media="screen">
<!--
.hide {display:block}
--></style>
the buttons that I wish to hide.
<span id="hide">
<Input Type="Submit" name="SUBMIT" value="CHOICE">
<Input Type="Submit" name="SUBMIT" value="VIEW">
<Input Type="Submit" name="SUBMIT" value="SAVE">
<Input Type="Button" value="PRINT" onClick="window.print()">
<Input Type="Button" value="EXIT" onClick="window.close()">
</span>
Is there any other way, preferably without showing and hiding DIV tags?:confused:
What I want to know is how do you hide butons and submit buttons.
I found the following code, but it doesn't seem to work
in my head tags.
<style type="text/css" media="print">
<!--
.hide {display:none}
-->
</style>
<style type="text/css" media="screen">
<!--
.hide {display:block}
--></style>
the buttons that I wish to hide.
<span id="hide">
<Input Type="Submit" name="SUBMIT" value="CHOICE">
<Input Type="Submit" name="SUBMIT" value="VIEW">
<Input Type="Submit" name="SUBMIT" value="SAVE">
<Input Type="Button" value="PRINT" onClick="window.print()">
<Input Type="Button" value="EXIT" onClick="window.close()">
</span>
Is there any other way, preferably without showing and hiding DIV tags?:confused: