codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Page print  sardinka at 16:21 on Friday, August 27, 2004
 

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


  Re: Page print  Yusairi at 04:12 on Thursday, September 02, 2004
 

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
Yusairi: site expert
www.vss.com.my




© Copyright codetoad.com 2001-2004