Submit button - two lines?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
newbie2php
Forum Commoner
Posts: 35
Joined: Wed Nov 07, 2007 4:44 pm

Submit button - two lines?

Post by newbie2php »

Hi all,

I want to have a submit button with two lines of text. For example;

Instead of the words...

View Page

I would want it so the button looked like

View
Page

If we were doing this on a page as normal text then obviously the <br/> would be the answer, but I can not enter html inside the quotes of the value tag as it will get outputted as normal text i.e. "View<br/>Text".

I also tried styling the botton so that it was smaller in width - hoping that the text would wrap onto a new line. This did not work and instead cut the end word off!

Any body know of a way to do this?

Many thanks
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: Submit button - two lines?

Post by matthijs »

Post Reply