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









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: help: location of an element within a collection
•  Help with a form
•  Re: Response.Redirect is not working
•  Re: tellafriend
•  Re: Code Snippets
•  Re: Software Planning
•  Re: Set up file Down Load
•  Re: open excel file in html page
•  Re: How to open a .DOC file in MS-Word thru a link


Recent Articles
Simple Thumbnail Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)
Function to Return Alpha Characters Only
The OSI Reference Model - A Clear and Concise Illustration !


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2004