Solved

Vertical spacing

Posted on 2012-03-23
4
163 Views
Last Modified: 2012-03-23
Please look at http://www.villageairportvan.com/about.htm

Notice at the bottom the 20 pixel high space. Please view source. Note the height of the table is 3 pixels. I have tried everything I can think of & it insists on making it 20 pixels high.

Why?
0
Comment
Question by:Richard Korts
  • 3
4 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
Comment Utility
It's the white space entity you have in there,  . It is being rendered in whatever the default font-size is for the table. Add style="font-size:.4em" and the white space will take up less room. Adjust as necessary.
0
 
LVL 38

Expert Comment

by:Tom Beck
Comment Utility
Actually, removing the white space entities ( ) completely seems to work best.
0
 

Author Closing Comment

by:Richard Korts
Comment Utility
.2em works perfectly.

I never knew that   would have a default "height"; very odd.
0
 
LVL 38

Expert Comment

by:Tom Beck
Comment Utility
It's treated like any other character you might put in a table cell. It inherits the line height from the table unless otherwise specified.

Thanks for the points.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now