• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Remove Empty White Space

 
Ranch Hand
Posts: 2206
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)"

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic