This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes out.println Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "out.println" Watch "out.println" New topic


Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
im using a table in my jsp using the out.println command as shown...
out.println("<table border=\"0\" ");
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....

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

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.

[Jess in Action][AskingGoodQuestions]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: out.println
It's not a secret anymore!