aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes button alignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "button alignment" Watch "button alignment" New topic
Author

button alignment

Jyoti Jadhav
Greenhorn

Joined: Nov 15, 2007
Posts: 18
hi
How to align a button on rightmost top corner of the page in jsp.

thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60991
    
  65

The fact that your page is generted from a JSP is moot. You will use HTML and CSS just as with any other page.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jyoti Jadhav
Greenhorn

Joined: Nov 15, 2007
Posts: 18
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

Joined: Jan 10, 2002
Posts: 60991
    
  65

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: button alignment