?
Solved

Vertical spacing

Posted on 2012-03-23
4
Medium Priority
?
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 2000 total points
ID: 37759570
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
ID: 37759582
Actually, removing the white space entities ( ) completely seems to work best.
0
 

Author Closing Comment

by:Richard Korts
ID: 37759593
.2em works perfectly.

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

Expert Comment

by:Tom Beck
ID: 37759597
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

743 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