Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

An HTML page

 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have an HTML/jsp page, actually a jsp page which will be populated dynamically with the values from the database.
Now this database can return 1000s of records in the real time environment.
Now the problem is a DISPLAY problem for the html.
I have an image which is set as a background for the body of this html page. It is set as this :
<body text=#000000 link=#000000 vlink=#000000 alink=#000000 background="/images/bg_main.gif" >
Now because of the huge amount of data, when all these data comes to the page, I see these pages displaying this image multiple times. ie, when the page becomes bigger after a particular length, the image is getting generated again and again.
How can I avoid this problem without using frames ?
Thanks,
Maya
 
Randall Twede
Ranch Hand
Posts: 4481
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no. if you use a single image as the background you have to know how big the page will be and make the image the same size(actually larger is better in case the visitor has a higher resolution setting). you could have the image just at the top and fade it into a solid color at the bottom(and right side too maybe). if that sounds good i have seen that done. or you can forget that image and maybe use a small image that tiles well. loading a full screen image is slow on dial-up modems as well and getting info from the database is slow also(especially in netscape i have noticed).
------------------
Dont blindly believe everything I say.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic