SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Baseline is off

  1. #1
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Baseline is off

    Wondering if anyone can figure out why the dates in my twitter feed on my website, are not quite aligned with the rest of the text. It looks like the date has some padding or something that is lifting it about 2 pixels above the baseline. Can't figure out why. Does it have to do with the float left?

    http://www.smudgestudio.ca/

    (seems to only be an issue in Firefox)

    Thanks!

    Ak

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,613
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Just to confirm your report, I'm using Firefox and the baseline of the date dates seems to be exactly in line with the rest of the text unless the text is zoomed, in which case the baseline may rise a pixel or two. Don't know if it can be corrected. May be a Firefox feature.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,324
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Rather than suggest a fix, I would recommend that you merge the date and tweet into one <li>. It doesn't make sense to me to have them separate like that, and is likely to lead to trouble (as you see).

    A better option would be to include the date link inside the tweet <li>, and perhaps set it to display: inline-block (so that the margin, and background color on hover, will work as they are now).


Tags for this Thread

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
  •