Eddie
Although, as Loren mentioned, you can't change the number of rows and
columns, you can add a style for textarea to the template include file
for the Cart, that defines how a textarea appears. You would add
something like the code below which would set the width to 50% of the
default 40 columns or about 20 columns and height of 15% of the 4 rows.
You can also specifiy other features like color, alignment, etc.
textarea.cart {
vertical-align: middle;
width: 50%
height: 15%;
background-color: blue;
}
The default style sheet for the cart, sc_cart.css, has the textarea.cart
defined already as
textarea.cart {
vertical-align: middle;
}
So you will just need to modify that definition.
You will need to experiment a bit to get it to look the way you want. In
our testing using the Mozilla browser there were some anomolies that
occurred using a style on the text area so make sure you test it good
before you decide to implement it.
Note: this just applies to ShopSite version 7 since style sheets for the
shopping cart weren't used in prior versions.
Jim
Eddie Caplan wrote:
Is it possible to change the size of the Ordering Options Text Box?
Right now it is defined in the generated HTML as 4 rows and 40 columns:
textarea class="cart" wrap=physical name="0:freeopt" rows=4
cols=40></textarea
I'd like it to be 1 (one) row and 20 columns.
Thanks for all the help. I'm a ShopSite newbie, but an inquisitive one.
Eddie