
Originally Posted by
kuroi
Apologies.

I must have been thinking of a different version of Zen Cart. The correct answer would have been
The attribute selector advocated by DrByte will work in browsers that have fully-implemented the relevant parts of the CSS2 standard. Unfortunately this excludes any version of Internet Explorer up to and including IE6 (which doesn't support it at all) and even version 7 is a bit buggy in this area.
Thanks, kuroi
I decided to get in the CSS spirit by adding identifications
PHP Code:
<?php echo zen_draw_input_field('keyword', $sData['keyword'], 'id="advancedsearchkeyword"', 'onfocus="RemoveFormatString(this, \'' . KEYWORD_FORMAT_STRING . '\')"'); ?>
PHP Code:
<?php echo zen_draw_input_field('pfrom', $sData['pfrom'], 'id="advancedsearchpfrom"'); ?>
and adding in my stylesheet
Code:
#advancedsearchkeyword {width: 230px}
#advancedsearchpfrom {width: 50px}
In the process, I found a way to adjust the width of the "Limit to Category" pull-down menu and posted it on a separate thread.
http://www.zen-cart.com/forum/showthread.php?t=120898
Susan