|
I have on my page some controls such as
text box...however I would like to have this page print friendly (without any controls ) data only. How do I do this?
Thanks
|
|
|
hi sardinka,
you should using style method for your text box.
the style can set the border and you can enable to
view only the data to be printed.
maybe this is what you want.
cut and paste this code below and name it as test.html
--------------------------------------------
<head>
<style type="text/css">
<!--
.textbox { font-family:
Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; border-style:
none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px;
background: transperant; border-left-width: 0px}
}
-->
</style>
</head>
<body>
<form>
<input name="test" value="hello world" type="text" size="14" class="textbox">
</form>
</body>
--------------------------------------------
"gain more knowledge at codetoad.com"
yusairi http://www.vss.com.my
|
|
|
|
|
|
|
|
|
© Copyright codetoad.com 2001-2004 |
|
|