SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict JamieJelly's Avatar
    Join Date
    Jan 2004
    Location
    London
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    conditional comments driving me up the wall

    Hi guys, I am going insane here.

    IE is getting my em values wrong for a class called .journalEntries, it is making them appear huge.

    I thought I would use conditional comments to apply a smaller size to IE but it doesnt seem to work!

    Can anyone tell me why?

    http://www.headofhair.co.uk/dev

    The journal entries are on the right hand side

    Help much appreciated
    International calls from the UK
    Cheap International Calls

  2. #2
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm,

    Code:
    font-size: 0.9px;
    Looks kind of funny, don't you think?
    Dan G
    Marketing Strategist & Consultant

  3. #3
    SitePoint Addict JamieJelly's Avatar
    Join Date
    Jan 2004
    Location
    London
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry, I did have it as em, I changed to px just to see if the conditional comments were working.

    Back to ems now

    So it looks ok in IE? Im on a mac, Im relying on a friend to tell me if it looks ok
    International calls from the UK
    Cheap International Calls

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,788
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    HI,

    I would addrees the font-size on the h5 instead and then you won't need any hacks as it avoids the compounding issues.

    Remove the font-sizing for journalentry and apply it to the h5 instead.

    e.g.
    Code:
    .journalEntry
    {
    /* background: url(images/icons/journal_entry.png) no-repeat 0 50%; */
    padding: 0 0 0 5px;
    }
    .journalWrap h5{
    font-size:1em;
    }
    Now ie and firefox are the same.


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
  •