Now there you have me ;-) You might be able to do something with height/font-size/padding-top/padding-bottom/text-align.
Nick ----- Original Message ----- From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 17, 2004 4:09 PM Subject: RE: [ cf-dev ] OT: JS Bold first letter > :-) if only that annoying text jump could be done away with! > > > -----Original Message----- > From: Nick de Voil [mailto:[EMAIL PROTECTED] > Sent: 17 August 2004 15:44 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] OT: JS Bold first letter > > Sorry, forget that second overflow thing, should be > > <html> > <head> > <title></title> > <style> > textarea {overflow:hidden} > textarea:first-letter {font-weight:bold;text-transform:capitalize} > </style> > </head> > <body> > <form> > <textarea rows="1" cols="50"></textarea> > </form> > </body> > </html> > > ----- Original Message ----- > From: "Nick de Voil" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 17, 2004 3:41 PM > Subject: Re: [ cf-dev ] OT: JS Bold first letter > > > > You got it > > > > <html> > > <head> > > <title></title> > > <style> > > textarea {overflow:hidden} > > textarea:first-letter > > {font-weight:bold;text-transform:capitalize;overflow:visible} > > </style> > > </head> > > <body> > > <form> > > <textarea rows="1" cols="50"></textarea> > > </form> > > </body> > > </html> > > > > ----- Original Message ----- > > From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, August 17, 2004 3:39 PM > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > Oh yeah...so now only a little CSS to disguise the textarea (can you get > > rid > > > of scrollbars) and we are good! > > > > > > > > > -----Original Message----- > > > From: Nick de Voil [mailto:[EMAIL PROTECTED] > > > Sent: 17 August 2004 15:33 > > > To: [EMAIL PROTECTED] > > > Subject: Re: [ cf-dev ] OT: JS Bold first letter > > > > > > <html> > > > <head> > > > <title></title> > > > <style> > > > textarea:first-letter {font-weight:bold;text-transform:capitalize} > > > </style> > > > </head> > > > <body> > > > <form> > > > <textarea rows="1" cols="50"></textarea> > > > </form> > > > </body> > > > </html> > > > > > > ----- Original Message ----- > > > From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Tuesday, August 17, 2004 3:26 PM > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > Hey Nick, if you could provide some code it would be great....be good > to > > > > see... > > > > > > > > -----Original Message----- > > > > From: Nick de Voil [mailto:[EMAIL PROTECTED] > > > > Sent: 17 August 2004 15:11 > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [ cf-dev ] OT: JS Bold first letter > > > > > > > > It works for textareas in IE6 so I suppose you could use a one-row > > > textarea > > > > if you're desperate....? > > > > > > > > Nick > > > > > > > > ----- Original Message ----- > > > > From: "Mark Smyth" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Tuesday, August 17, 2004 2:58 PM > > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > > > > I've tried just about everything I can think of > > > > > > > > > > So i'd have to agree, its just not supported.... > > > > > > > > > > -----Original Message----- > > > > > From: Robertson-Ravo, Neil (RX) > > > > > [mailto:[EMAIL PROTECTED] > > > > > Sent: 17 August 2004 14:26 > > > > > To: '[EMAIL PROTECTED]' > > > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > > > > > > Yeah the caps works but it looks like its impossible to embolden the > > > first > > > > > letter in an input field... > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] > > > > > Sent: 17 August 2004 12:09 > > > > > To: [EMAIL PROTECTED] > > > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > > > > > > the first one definitely works fine for me. never used the other > one > > > > > before, so don't know why it doesn't work. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Robertson-Ravo, Neil (RX)" > > > > > > > > > > <[EMAIL PROTECTED] To: > > > > > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > > > > dexpo.com> cc: > > > > > > > > > > Subject: > > RE: > > > [ > > > > > cf-dev ] OT: JS Bold first letter > > > > > 17/08/2004 12:06 > > > > > > > > > > Please respond to dev > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Neither seem to work....? > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] > > > > > Sent: 17 August 2004 12:00 > > > > > To: [EMAIL PROTECTED] > > > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > > > > > > this will capitalise the first letter of each word: > > > > > <input type="text" style="text-transform:capitalize"> > > > > > > > > > > I expect you could also use Mark's suggestion: > > > > > <input type="text" style="first-letter {font-weight: bold;}"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Robertson-Ravo, Neil (RX)" > > > > > > > > > > <[EMAIL PROTECTED] To: > > > > > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > > > > dexpo.com> cc: > > > > > > > > > > Subject: > > RE: > > > [ > > > > > cf-dev ] OT: JS Bold first letter > > > > > 17/08/2004 11:58 > > > > > > > > > > Please respond to dev > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Erm, don't think so, it's in a form field (more than one on the > page) > > > > > > > > > > -----Original Message----- > > > > > From: Mark Smyth [mailto:[EMAIL PROTECTED] > > > > > Sent: 17 August 2004 11:52 > > > > > To: '[EMAIL PROTECTED]' > > > > > Subject: RE: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > Can you use css? > > > > > E.g. > > > > > <style> > > > > > p:first-letter {font-weight: bold;} > > > > > </style> > > > > > </head> > > > > > > > > > > <body> > > > > > <p> > > > > > This is a test > > > > > </p> > > > > > > > > > > -----Original Message----- > > > > > From: Robertson-Ravo, Neil (RX) > > > > > [mailto:[EMAIL PROTECTED] > > > > > Sent: 17 August 2004 11:47 > > > > > To: '[EMAIL PROTECTED]' > > > > > Subject: [ cf-dev ] OT: JS Bold first letter > > > > > > > > > > > > > > > Got a bit of a brain fuzz, anyone got any JS which will embolden the > > > first > > > > > letter of a string being typed into a text field? > > > > > > > > > > N > > > > > > > > > > -- > These lists are syncronised with the CFDeveloper forum at > http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided > by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by > gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, > Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, > Registered in England, Number 678540. It contains information which is > confidential and may also be privileged. It is for the exclusive use of the > intended recipient(s). If you are not the intended recipient(s) please note > that any form of distribution, copying or use of this communication or the > information in it is strictly prohibited and may be unlawful. If you have > received this communication in error please return it to the sender or call > our switchboard on +44 (0) 20 89107910. The opinions expressed within this > communication are not necessarily those expressed by Reed Exhibitions. > Visit our website at http://www.reedexpo.com > > -- > These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
