Solved

Vertical spacing

Posted on 2012-03-23
4
168 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 500 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

696 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