Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

button alignment  RSS feed

 
Jyoti Jadhav
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
How to align a button on rightmost top corner of the page in jsp.

thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The fact that your page is generted from a JSP is moot. You will use HTML and CSS just as with any other page.
 
Jyoti Jadhav
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
The fact that your page is generted from a JSP is moot. You will use HTML and CSS just as with any other page.


i tried with html <inpiut type="button align="right" name="logout" value="Logout">
but button is not moving to ri side
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jyoti Jadhav:
i tried with html <inpiut type="button align="right" name="logout" value="Logout">
but button is not moving to ri side

You need to use valid markup. <inpiut> is not a valid tag, and align is not a valid attribute.

Are you not familiar with CSS? If not, now is a good time to get started.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!