1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

underlining..

Discussion in 'CSS' started by Solicitors Mortgages, Dec 28, 2004.

  1. #1
    mozilla seems to have its own opinion, about how far under a hyperlink the underlining goes....according to different font sizes and styles, ie: bold

    is there a way to set underlining to eg: 1px below the text?
    as it distorts cells otherwise
    SEMrush
    G-E-M
     
    Solicitors Mortgages, Dec 28, 2004 IP
    SEMrush
  2. relaxzoolander

    relaxzoolander Peon

    Messages:
    141
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    relaxzoolander, Jan 25, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you want to give it a try, keep in mind that there's a typo on this page:

    p { line-height: 1.5; }

    1.5 should be in em's; i.e.

    p { line-height: 1.5em; }

    Except zero, all values in CSS must be specified in some units (px, em, etc). IE may interpret the first line as if it's in pixels (depending on the version).

    J.D.
     
    J.D., Jan 25, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just realized that this isn't correct. It turns out that line-height may be specified without any units, in which case the computed value is the element's font-size multiplied by this number Oops :)

    J.D.
     
    J.D., Feb 2, 2005 IP