Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Feb 2010
    Posts
    224
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Using the <if IE> hack?

    My blog: http://uk451.blogspot.com/

    I've just checked my blog in IE - which I always dread doing - and things didn't look quite as bad as I was expecting. The only really big difference is that images in my blog posts are centered instead of left-aligned as they are in FF (which is how I want them)

    I've never understood (or had it explained so that I understand fully) how the "if IE" hack is used. What would I need to do so that the images are left-aligned in IE like they are in FF?

    Thanks.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Before you go down IE conditional comments have a try with:

    Code:
    .entry img {
        border: 0 none;
        display: block;
        margin: 0.5em 0 8px;
    }

  • Users who have thanked SB65 for this post:

    OurJud (02-26-2011)

  • #3
    Regular Coder
    Join Date
    Feb 2010
    Posts
    224
    Thanks
    25
    Thanked 0 Times in 0 Posts
    SB65 - I want to have your babies!

    Thank you! That worked like a dream.

    I was dreading having to start fannying around with external CSS.
    Last edited by OurJud; 02-26-2011 at 06:15 PM.


  •  

    Posting Permissions

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