Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

css style and tep_draw_textarea_field


zirh

Recommended Posts

Posted

hello,

 

I want to change the color of the border with a css style of the area coment on checkout_shipping.php

 

<td><?php echo tep_draw_textarea_field('comments', 'soft', '79', '5'); ?></td>

 

 

if someone can help me ?

Thanks

Posted
hello,

 

I want to change the color of the border with a css style of the area coment on checkout_shipping.php

if someone can help me ?

Thanks

 

 

Change your code to:

 

<td class="borderShipping"><?php echo tep_draw_textarea_field('comments', 'soft', '79', '5'); ?></td>

 

Open your stylesheet.css add (i think anywhere is fine):

 

.borderShipping {
border: 2px;
border-color:#00FF00;
border-style: solid;
}

 

of course you can shoose how you name your style...

 

Hope this helps - or is what you where looking for...

kind regards

Tom

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Posted
Change your code to:

 

<td class="borderShipping"><?php echo tep_draw_textarea_field('comments', 'soft', '79', '5'); ?></td>

 

Open your stylesheet.css add (i think anywhere is fine):

 

.borderShipping {
border: 2px;
border-color:#00FF00;
border-style: solid;
}

 

of course you can shoose how you name your style...

 

Hope this helps - or is what you where looking for...

kind regards

Tom

 

 

Hello,

 

your class add a border around the area text. Me, I want to change the border inside

 

 

Thank for your answer

Posted
Hello,

 

your class add a border around the area text. Me, I want to change the border inside

Thank for your answer

 

 

I have not used a border yet on textarea, but the only thing I could think of is adding it to the TEXTAREA class in the stylesheet.

 

this is mine, I only have the background and font changed ... and you could easily add the attributes from the post before and try it!

 

TEXTAREA {
 width: 100%;
 font-family: Verdana, Arial, sans-serif;
 background: #FFF5DA;
 scrollbar-face-color:#FFCC66;
 scrollbar-arrow-color:#FFF5DA;
 scrollbar-track-color:#FFF5DA;
 scrollbar-shadow-color:#FFF5DA;
 scrollbar-highlight-color:#FFF5DA;
 scrollbar-3dlight-color:#FFF5DA;
 scrollbar-darkshadow-Color:#FFF5DA;
}

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...