Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > textfield styles

Reply
Thread Tools

textfield styles

 
 
Jeff Thies
Guest
Posts: n/a
 
      07-30-2004
I'm feeling a little lazy tonight.

I have identical data that will appear in different places:

....<td><input type="text" value="some text"></td>

first as editable data

later as just data, I'd like to give the illusion that the textfield
does not exist.

Any hints on styling away the textfield?

(maybe I'll just do this: $data=~s/<input.*?value="(.*?)".*?>/$1/g; )
You gotta love Regexes!

Jeff
 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      07-30-2004
On Fri, 30 Jul 2004 04:49:09 GMT, Jeff Thies <(E-Mail Removed)>
declared in alt.html:

> Any hints on styling away the textfield?


I take it you want the text to show, but not the field?

You could try setting border: 0; but browsers vary significantly in what
they will allow you to do to form elements (for good reason), so no
guarantees.

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004
 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      07-30-2004
Jeff Thies

> I'm feeling a little lazy tonight.
>
> I have identical data that will appear in different places:
>
> ...<td><input type="text" value="some text"></td>
>
> first as editable data
>
> later as just data, I'd like to give the illusion that the textfield
> does not exist.
>
> Any hints on styling away the textfield?


Cannot be done.

copy/paste should work.

--
Cheers
Richard.


 
Reply With Quote
 
Toby Inkster
Guest
Posts: n/a
 
      07-30-2004
Jeff Thies wrote:

> Any hints on styling away the textfield?


<input type="hidden" value="foobar">

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove "_" from TextField="#InnerText" prefersgolfing ASP .Net 0 12-20-2005 10:55 PM
Can HMTLInputFile textfield be readonly? =?Utf-8?B?TUw=?= ASP .Net 1 04-05-2005 11:31 AM
multiline textfield character limitations? Jerome ASP .Net 2 03-14-2005 06:17 PM
Q: Retrieve Selected Text from TextField Soul ASP .Net 0 01-18-2004 12:28 PM
How to read input from a textfield in a datagrid !?! Remco Groot Beumer ASP .Net 0 11-06-2003 04:02 PM



Advertisments