Current location: Hot Scripts Forums » General Web Coding » CSS » Textarea defined by td ?


Textarea defined by td ?

Reply
  #1 (permalink)  
Old 06-15-07, 06:22 PM
Nervosa Nervosa is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Textarea defined by td ?

I have a <td> with textarea inside of it. Im useing a CMS and the textarea is placed there with templet code. So with out editing the core code Im unable to set a class for this text area.

ie: <td class="apples"> {THIS_IS_A_TEXTAREA} </td>

Being that the textarea is inside the td with the class "apples" am I able to define it that way?

I was thinking something like .apples.textarea but that dont seem to work.
Reply With Quote
  #2 (permalink)  
Old 06-15-07, 08:57 PM
Nervosa Nervosa is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
sorry I mean "input.text" not "textarea"
Reply With Quote
  #3 (permalink)  
Old 06-15-07, 11:21 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
If the template code has it's own CSS then any changes to the content of the <textarea> by your CSS will be overridden by the templates CSS. That what's the template is for, a structured layout. You will gain little control over the <textarea> through the <td>.
__________________
Jerry Broughton
Reply With Quote
  #4 (permalink)  
Old 06-18-07, 12:06 AM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Nervosa View Post
I was thinking something like .apples.textarea but that dont seem to work.
Code:
td.apples textarea { /* ...css code */ }
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing text in Textarea html control sudidelaravindra JavaScript 1 09-15-06 10:17 AM
Preview text from a TEXtAREA using PHP?? KeYBLeR PHP 7 03-02-06 09:18 AM
Textarea & Javascript amitroy5 JavaScript 4 06-04-05 03:50 PM
How to import the textarea data into database superman2004 ASP 2 03-31-05 08:37 AM
script subtratct input from textarea and display the result in othe textarea mathfxr Script Requests 2 12-19-04 11:19 AM


All times are GMT -5. The time now is 02:04 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.