This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

out.println

 
Richard Mendoza
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im using a table in my jsp using the out.println command as shown...
out.println("<table border=\"0\" ");
...
out.println("</table>");
inside my body tag, i also used the marginwidth and marginheight equal to 0.
my problem is,, when i run my jsp using IE there are a lot of blank spaces before the table...I don't know what caused the spaces....
Your help will be very much appreciated....
Thank you....

Richard
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a "view source" in a browser, and look at the HTML. Have a look at what comes before the table -- perhaps you'll be surprised.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic