Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-28 07:29:21

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

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

#2 2007-06-28 08:00:39

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

#4 2007-06-30 23:25:23

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

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

Board footer

Powered by FluxBB