|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 49
Rep Power: 2 ![]() |
Hi,
Im in the process of putting together a new template and want to set the width of the search text field a certain width. Please can you let me know how to set the width of the search text field? I have tried the following but it doesn't seem to work for outputting the search form: <tr> <td>{$smarty.const.LANG_SEARCH_TEXT}{$smarty.const .LANG_COLON}</td> <td><input name="searchtext" type="text" id="searchtext" SIZE="8" /></td> </tr> Thanks in advance...
__________________
Many Thanks, Nagrap2 Developer Version 4.0.8 |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,436
Rep Power: 101 ![]() |
You can try this in the style sheet:
#searchtext { width: 80%; }
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,113
Rep Power: 34 ![]() ![]() |
XHTML syntax does NOT allow UPPER CASE for elements or parameters.
-Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1RC4 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2008
Posts: 49
Rep Power: 2 ![]() |
Thanks Eric, so currently, how does it determine how wide to output the text boxes? Is it based upon the size of the field in the database? Or is there some other crtieria it uses?
__________________
Many Thanks, Nagrap2 Developer Version 4.0.8 |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Mar 2006
Posts: 3,860
Rep Power: 94 ![]() ![]() |
If you see a smarty constant, its defined in the language file.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change format in "date field" extra field | topbidz | v4 Questions & Support | 2 | 05-01-2008 08:38 PM |
| Feedback Form | teg | v3.1 Questions & Support | 0 | 10-04-2007 12:23 PM |
| Select field problem (extra field --> drop down list) | pat01 | v3.1 Questions & Support | 1 | 08-10-2006 03:05 AM |
| Add a new field in the contact form | Fedeo | v3.0 Questions & Support | 2 | 08-06-2006 05:14 PM |
| contact form | calvinbrownjr | v3.1 Questions & Support | 4 | 06-09-2006 11:22 PM |