[TYPO3-project-formidable] Input image
Luc Muller
l.mul-nospam-ler at ameos.com
Fri Jan 4 11:06:36 CET 2008
I think a better way would be to use a simple renderlet submit or button
and adding a custom class to add the image as background with CSS
this could look like this
<renderlet:SUBMIT/BUTTON name="mybutton">
<class>mycustombutton</class>
<label>Submit</label>
</renderlet:SUBMIT/BUTTON>
and in your css
input.mycustombutton{
width:yourimagewidth;
height:yourimageheight;
line-height:yourimageheight;
border:none;
background:transparent url("/your/image/path") no-repeat top left;
}
this should work either.
Hope this help...
And Happy New Year :)
Luc =:0)
"Manuel Rego Casasnovas" <mrego at igalia.com> a écrit dans le message de news:
mailman.1762.1199440423.5304.typo3-project-formidable at lists.netfielders.de...
>
> Hello Jerome,
>
>>
>> 2 - You can build it with a box like this:
>>
>> <renderlet:BOX mode="input" custom="type='image' alt='Submit'
>> src='/typo3/gfx/typo3logo.gif'" />
>>
>
> I like this option, thanks.
>
> Best regards,
> Rego
>
> --
> Manuel Rego Casasnovas
> Computer Science Engineer
> mailto:mrego at igalia.com
> Tel: +34 986 10 76 10
> Fax: +34 981 91 39 49
> Igalia - http://www.igalia.com
More information about the TYPO3-project-formidable
mailing list