• Post Reply Bookmark Topic Watch Topic
  • New Topic

text overlapping in jsp  RSS feed

 
nitin singh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
In my jsp I have a div TAG where I have an html string which is a report.
This html string has its own style and positionong information
<div style="position: absolute;left:0px;top:0px;width:1121px;height:793px;"><......
when I parse and remove this info.Lot of overlapping comes in the html text that gets diaplayed.can anyone help in this.

The html report i get is from business object.

Regards,
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vijit",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with display names get deleted, often without warning

thanks,
Dave
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please elaborate your problem a bit more to make it clear?
 
nitin singh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adeel,I am using tiles frmaework.The problem is I have 3 jsps that make the complete page.Header,body and footer.The body section jsp gets html dynamicaly from a BO server.The contents what I get is given below.I get everything in pixel.That too 3780 px and all.So when I dispaly the page.Lot of horiontal and vertical scrool comes.IS there anywayI can accomodate the same content into my existing dimenions of page.

I dn have any control over this.

Thanks.

<!--.s1{background-color:#ffffff;}.s2{background-color:#ffffff;vertical-align:middle;text-align:center;}.ap{position: absolute;}.dt{table-layout: fixed;}.nwt{white-space:nowrap;}.npd{padding:0px;}.dib{display:inline-block;}.vai{vertical-align:inherit;}--></style><style media="print"><!--.ovh{overflow:visible;}.bc{}--></style><style media="screen"><!--.ovh{overflow:hidden;}.bc{border-collapse:collapse;}--></style></head><body><div style="position: absolute;left:0px;top:0px;width:3780px;height:944px;"><div class="s2 ovh" style="position: absolute;left:0px;top:0px;width:3780px;height:3px;"> </div><div class="s1 ovh" style="position: absolute;left:0px;top:3px;width:3780px;height:918px;"> </div><div class="s2 ovh" style="position: absolute;left:0px;top:921px;width:3780px;height:23px;"> </div></div></body></html>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!