aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes alignment problem 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 "alignment problem" Watch "alignment problem" New topic
Author

alignment problem

Naresh Talluri
Ranch Hand

Joined: Oct 12, 2007
Posts: 115
Hi folks
here iam facing one problem in alignment,
in my jsp i have a data like "name : Naresh" ,like this i have 5-6 rows
are there, but if i enter more data like "name : Naresh Naresh Naresh
Naresh Naresh Naresh" , then the data is placed like miss aligned.
here is my code..
JSP



CSS


one more thing if i give the space in the each word it is aligned properly.

ex:

if i haven't give any space between the messages it is miss aligned.

ex :


can you please let me know how can i overcome this one...

-Naresh




[ April 10, 2008: Message edited by: Naresh Talluri ]
Naresh Talluri
Ranch Hand

Joined: Oct 12, 2007
Posts: 115
Hey i had fixed this one
in the css i had given like "float : right"
now it is aligning properly

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

In the future, please refrain from posting Struts code in an HTML forum. Please post the final rendered HTML rather than the Struts source.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: alignment problem