[TYPO3] changing font with search content
Fr. Simon Rundell SCP
simon at rundell.org.uk
Thu Feb 1 11:22:58 CET 2007
I'd do it in CSS: define a class
input{
font-family: Verdana, Arial, Helvetica, sans-serif, "Trebuchet MS";
font-size: 10px;
font-weight: normal;
color: #999999;
}
Would change the style of all input boxes
However, designing a custom class can enable you to be a bit more specfic
input.formFieldWhite {
border: #FFFFFF;
background: #FFFFFF;
}
<input type="text" class="formFieldWhite" id="blankfield">
Would give me an invisible text box (on a white page)
Hope this helps.
Fr. Simon Rundell SCP
Parish of S. Thomas the Apostle, Elson
The Vicarage, 21 Elson Road, Gosport, Hants, PO12 4BL
Tel: 02392 582824 / 07976 802123
Email: simon at rundell.org.uk
Web: www.saintthomaselson.org.uk
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of David
Banning
Sent: 01 February 2007 00:46
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] changing font with search content
I am attempting to change the font within the standard content search form;
I posted the code sections below.
I can easily wrap the text -description- of the field, but I cannot change
the font in the input field itself. That field is created with the html;
<input type="text" name="sword" size="14" value="" />
and while I can wrap that, it will do no good - I have to change the font
inside the input tag. How might I do that? I have no idea where the input
tag is created.
the page in question is at;
http://www.smartstage.com/index.php?id=606
I would like to change the font in the boxes to the right of "searchword:"
and "search in:"
styles.content.searchform < styles.content.mailform
styles.content.searchform {
goodMess = {$styles.content.searchform.goodMess}
redirect >
recipient >
data >
dataArray {
10.label = Searchword:
10.type = sword=input
20.label = Search in:
20.type = scols=select
20.valueArray {
10.label = Headers and keywords
10.value = pages.title-subtitle-keywords-description:tt_content.header
20.label = Pagecontent
20.value = tt_content.header-bodytext-imagecaption
}
30.type = stype=hidden
30.value = L0
40.type = submit=submit
40.value = Search now!
}
type.field = pages
type.listNum = 0
locationData = HTTP_POST_VARS
no_cache = 1
}
and
tt_content.search = COA
tt_content.search {
10 = < lib.stdheader
20 < styles.content.searchresult
30 < styles.content.searchform
30.stdWrap.editIcons = tt_content: pages
30.stdWrap.editIcons.iconTitle=Edit search element }
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list