Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alignment problem

 
Naresh Talluri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65113
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the future, please refrain from posting Struts code in an HTML forum. Please post the final rendered HTML rather than the Struts source.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic