SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Boston
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    NN 4.7 Image Link Problem

    Hi all,

    I'm have a tricky little thing going on in NN 4.7 that is driving me crazy.

    When I set up image links within a table, NN 4.7 puts a 1px space before the <a>.

    Please take a look at the following examples

    Page with image links . - Bottom right corner. Cell BG is yellow to highlight the unwanted spaces.

    Page without image links - Its fine.

    Has anyone else run into this problem and know how to correct it?

    Thanks,
    cs

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Boston
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, here's the deal. I took some time out to see the Matrix last night, had a few beers, got some sleep, woke up and the answer was right there.

    I'll share for those who might have the same problem in the future.

    I have set up a style sheet to control the look of the text, including my text links. One of the attributes is line-height:16px. Apparently NN4.7 applies this attribute not only to the text, but linked images - causing the extra spacing. To make things right I assigned a class to <a> for all of my text links.

    BTW - The movie was good.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •