Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

button alignment

 
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
Pie
Posts: 64711
86
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
Pie
Posts: 64711
86
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic