Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

submit button on comments


Go to End


2 Posts   1636 Views

Avatar
zim

Community Member, 135 Posts

12 March 2010 at 9:10am

I have changed the action/submit button on the comments section to an image.... but the text 'post' is still appearing. How can i remove this text from the action/submit button?

it is showing up as a result of value atrribute on the input submit button.

Avatar
Willr

Forum Moderator, 5523 Posts

12 March 2010 at 3:23pm

You could use CSS to hide the text over the background image. Can do this via making the padding of the button the height of the background and using overflow hidden. Do a quick google for styling submit buttons and you'll probably come across a bunch more.