File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Remove Empty White Space

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the following code is displayed on the page there is a space between the Type in Search Text... and the input prompt. When I use the IE tool to examine the HTML code there is a line Text - Empty Text Node. How can I get rid of this extra space?

Example:

Type in Search Text...

..
"input prompt(text box)"

 
Andre Fonseca
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Dyke wrote:When the following code is displayed on the page there is a space between the Type in Search Text... and the input prompt. When I use the IE tool to examine the HTML code there is a line Text - Empty Text Node. How can I get rid of this extra space?

Example:

Type in Search Text...

..
"input prompt(text box)"



Hi Steve,

Take a look in the links below, hope it helps

http://www.w3.org/People/Raggett/tidy/

http://tidy.sourceforge.net/
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is not css padding/margins than it could be as simple as changing the mark-up so it has no returns/whitespace between the tags.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic