Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Using image rather than default comment preview / submit buttons
Does anyone know of a reliable method for using an image rather than submit type for both preview and submit buttons on comment forms?
I replaced my search submit button with an image which works fine but the same technique for these buttons doesnt seem to work on IE6 (only).
I noticed in the tag reference that the tags <txp:comment_preview /> and <txp:comment_submit /> have no attributes so I’m a bit stumped.
Offline
Re: Using image rather than default comment preview / submit buttons
You could try one of the various image replacement techniques on inputs with id="txpCommentPreview"
and id="txpCommentSubmit"
.
Offline
#3 2007-06-30 09:02:32
- bancroft
- Member
- Registered: 2005-09-30
- Posts: 39
Re: Using image rather than default comment preview / submit buttons
Or you could use the <button> element with the ids that wet mentioned
http://particletree.com/features/rediscovering-the-button-element/
Offline
Re: Using image rather than default comment preview / submit buttons
Thanks guys. I’ll give the button element a shot as Safari pretty much ignores any attempts to style input elements. I’ll report back once I’ve given it a go.
Offline