This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 63208
    
  69

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: 63208
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: button alignment
 
It's not a secret anymore!