Is it possible to set HTML tables to be less than 20 pixel high?

I'm trying to get some tables to be only 5 pixels in height with a background color in order to get a medium line unders some navigation buttons. Is that possible?

Public Comments

  1. yes
  2. Yes... i do not see why it wouldnt be. Are you coding in html or just dragging and dropping?
  3. try to set the font-size of the cell like this <td style="font-size: 1pt" height="5">
  4. Yes you can do that and its pretty straight forward, however it is not a good practice to use an HtmlTable merely to set a background color that serves as a separator. You can using CSS easily accomplish this by giving your element a border width and border-color. For example: <div id="SiteLinks"> <a href="">link 1 goes here</a> <a href="">link 2 goes here</a> <a href="">link 3 goes here</a> </div> In your <style></style> tag inside the <head> tag (or in your stylesheet), you can define something like: div#SiteLinks a { display:block; /* just an example */ border-bottom:solid 1px #eeeeee; /* this will color every bottom border of your anchors */ } Hope this helps.
Powered by Yahoo! Answers