Support Forums

Old 02-05-2009, 02:35 PM   #1
Member
 
Join Date: Aug 2008
Posts: 49
Rep Power: 2
nagrap2 is on a distinguished road
Default Form Field Widths

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
nagrap2 is offline   Reply With Quote
Old 02-05-2009, 02:54 PM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,436
Rep Power: 101
Eric Barnes is a jewel in the rough
Default

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
Eric Barnes is offline   Reply With Quote
Old 02-05-2009, 02:59 PM   #3
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,113
Rep Power: 34
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

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
Mike-N-Tosh is offline   Reply With Quote
Old 02-05-2009, 03:00 PM   #4
Member
 
Join Date: Aug 2008
Posts: 49
Rep Power: 2
nagrap2 is on a distinguished road
Default

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
nagrap2 is offline   Reply With Quote
Old 02-05-2009, 03:16 PM   #5
Moderator
 
 
Join Date: Mar 2006
Posts: 3,860
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by nagrap2 View Post
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?
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
Lhotch is offline   Reply With Quote

Bookmarks

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


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


All times are GMT -4. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0