1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

2 Simple questions I can't find an answer to

Discussion in 'Web Design' started by kharm, Oct 20, 2010.

  1. kharm

    kharm Power Member

    Joined:
    Feb 9, 2009
    Messages:
    525
    Likes Received:
    97
    Occupation:
    Entrepreneurship
    Hey everyone,

    Maybe you can help with this.

    Why does this page:

    http://veearctest.foliv.com/old/accountloginnew.asp

    show up as text in Firefox & Chrome. But looks like a webpage in Internet Explorer? Do I need to add a piece of code to make it appear as a webpage?




    And on the main page
    http://veearctest.foliv.com

    I tried adding padding left for the "navigation bar" but it still looks offset, any ideas?

    Thanks!
     
  2. SmileAtmyWins

    SmileAtmyWins BANNED BANNED

    Joined:
    Feb 13, 2010
    Messages:
    1,899
    Likes Received:
    1,955
    Any time iv had browser conflicts, iv ran the site through an HTML validator. Once i fixed the errors that it said i had, the browsers all sync'd up. Hope this helps.
     
  3. dshad

    dshad Regular Member

    Joined:
    Aug 23, 2009
    Messages:
    361
    Likes Received:
    57
    Occupation:
    Country Boy/IM/College
    Location:
    Lafayette,Indiana
    You will need to run it through a validation service like Smile said. All browsers differ on how they want CSS and HTML presented and a lot of times this will cause a cross-browser error.
    (from the looks of it, it is a CSS related error.)

    I don't really get your second question which part are you trying to offset?

    ~dShad
     
  4. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,389
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    This might help with the first question.
    This is a MIME issue. Your webserver is sending the wrong content-type for asp files. IE is designed to guess the content-type regardless of the header, Mozilla is designed to trust the headers. If the server sends text/plain then that's what Firefox will show, but IE will guess that it should be displayed as text/html.

    Try adding this to your .htaccess and see what happens
    Code:
    <Files *.asp>
    ForceType text/html
    </Files>