Results 1 to 10 of 10
  1. #1


    Member Since
    Jun 17, 2007
    Posts
    37
    Problem with IE positioning, help please
    I'm having problems with the positioning of my site in Internet Explorer and was wondering if anyone here knew of a solution? It works fine in all other browsers (Safari, Opera, Firefox), but in IE the picture is shoved up above my title banner, covering it up. I don't really know what to do as i can't add any margins or padding to make it work in IE since it will mess it up in other browsers. I would really appreciate your help, thanks.

    By the way, here are a couple links so you know what i'm talking about.

    http://www.backpackingangler.com/FOTM-main.html

    http://www.backpackingangler.com/Home.html

  2. #2

    Thyamine's Avatar
    Member Since
    Apr 23, 2007
    Location
    Coatesville, PA
    Posts
    377
    Specs:
    MBP 15", 2.33 GHz, 2Gb
    It looks like your top section (in one of the DIV) is not growing with your image. I can see the beveled edges are only maybe 25px tall, and didn't grow to match the image size which is sliding into the main area. Set the height attribute of the banner/logo at the top of the page to match whatever the image needs.

  3. #3


    Member Since
    Jun 17, 2007
    Posts
    37
    Ok i will try that when i get home and let you know. Thanks very much for the advice.

  4. #4


    Member Since
    Jun 17, 2007
    Posts
    37
    Ok i set the height for both of the divs that come above that picture and it's still messed up in IE. Don't know why it's working fine on all other browsers........

    I really have no clue what to do.

  5. #5


    Member Since
    Apr 08, 2008
    Posts
    420
    Specs:
    macbook core 2 duo 2.1ghz 4gb memory and 8GB iPhone 3G
    try adding

    auto 0;

    with your other margins in wrapper. and maybe position: relative;

    ie seems to not follow what everyone else does.

    im working on a website for a friend, i know it opens fine in css. if you want to check it out its at geocities.com/jrutis for now.

    i just learned css and im still working through it, but i hope that can help you a little bit.

  6. #6


    Member Since
    Jun 17, 2007
    Posts
    37
    Ok i got it thanks for all the help, IE is a pain in the butt.

  7. #7


    Member Since
    Sep 08, 2008
    Posts
    3
    There is a trick for example in php:
    <link href="something.css" type="text/css" rel="stylesheet" />
    <!--[if lte IE]<link href="something_ie.css" type="text/css" rel="stylesheet" />[endif]-->

    It means you can prepare 2 css files: one for IE and the other for others.
    But be careful if you'll put the IE css before others then there will be no diff. it has to be written on the second place.

  8. #8


    Member Since
    Apr 08, 2008
    Posts
    420
    Specs:
    macbook core 2 duo 2.1ghz 4gb memory and 8GB iPhone 3G
    not a bad idea but i do not think this is necessary. I think firefox and others ignore the special ie commands cause they dont know what to do with it

    and ie ignores the firefox and others since it does not know what to do with that code.

    correct me if im wrong, this is just the general jist ive learned from the bit of css i have been doing lately.

  9. #9


    Member Since
    Sep 08, 2008
    Posts
    3
    If you write like this
    <!--[if lte IE]<link href="something_ie.css" type="text/css" rel="stylesheet" />[endif]-->
    <link href="something.css" type="text/css" rel="stylesheet" />

    The IE will work wrong
    For IE is the same as you type just
    <link href="something.css" type="text/css" rel="stylesheet" />

    That's why the order is important.

    You can also use this in some parts of html code that IE is having problems, for example usually the problem is DIV or TABLE

  10. #10


    Member Since
    Sep 08, 2008
    Posts
    3
    I'm also not keen on IE, but in my country is most common browser

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Autorotation & Positioning Problem
    By Loon3y in forum iOS Development
    Replies: 1
    Last Post: 10-05-2012, 02:28 PM
  2. Imac 27 Image positioning
    By RSA2HI in forum Switcher Hangout
    Replies: 2
    Last Post: 07-28-2012, 07:54 AM
  3. Ram positioning question
    By the8thark in forum Apple Desktops
    Replies: 1
    Last Post: 10-26-2009, 10:00 PM
  4. Book Trailer in iMovie - Text positioning problem
    By lplplpx3 in forum Movies and Video
    Replies: 1
    Last Post: 06-10-2009, 08:57 PM
  5. Window positioning
    By DutchAussie in forum OS X - Operating System
    Replies: 3
    Last Post: 04-24-2009, 11:12 AM

Posting Permissions

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