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 8 of 8
  1. #1
    New Coder
    Join Date
    Mar 2011
    Posts
    62
    Thanks
    3
    Thanked 2 Times in 2 Posts

    IE giving me complete fits.

    So my website is finally starting to come around, and looks nice - albeit in Chrome, Firefox and Safari. Opera, the gradient background wont show, but oh well.

    It looks like complete crap in IE - how do other developers get around this problem?

    The divs are not aligned anywhere near properly, there are blue borders around my images (which I think I can get around by applying border:none;, and just looks messy period.

    I was thinking, maybe some people use some kind of script to detect the browser, and if it is IE, then have it display a completely separate website designed specifically for IE - but using the same php and MySQL databases.

    If not, then how do you code to make a page look great in all of the top 4 or 5 browsers? I am afraid to re-write it to look well in IE, in fear that it will not look right in the others.

    I actually really hope people stop using IE period - and/or that Microsoft would somehow be bought out or forced to either bundle other browsers with Windows, or make IE compliant wil the others.

    Sorry to rant, but what are my options? Thanks.

    BW

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    Got a link to your page? Difficult to comment specifically otherwise.

    Make sure your page has a valid doctype - IE won't behave without one.

  • #3
    New Coder
    Join Date
    Mar 2011
    Posts
    62
    Thanks
    3
    Thanked 2 Times in 2 Posts
    hmm...I have Doctype at the headers....maybe it's not correct?

    www.weplaycards247.com/HTML/Home.php

    It is still in construction mode, so it won't show up if you just type in the domain name.

    Also, I either need to learn flash to make the games, or find someone to make the games for a certain % of profits. So if anyone has any resources for me to explore in this area, I'd appreciate that kind of info.

    Also if it shows up kinda funky in Chrome or Firefox, please let me know along with your screen resolution. I made it with a 1024x768 resolution, so it does look skinny in wider screens.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    <!--
    To change this template, choose Tools | Templates
    and open the template in the editor.
    -->

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    FYI: your DOCTYPE is incomplete and you need to change it first. I'd recommend the HTML Strict one. After that you need to remove the comment above the DOCTYPE, as IE may turn into quirks mode when it encounters anything above DOCTYPE.

    Then, validate your page and fix the errors in the markup, if any.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    The Doctype should be the very first declaration of the document. Anything written above, even a comment, might ruin the normal behavior of the browser's interpreter.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #6
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    There is a lot of general help here.
    Use the Search facility. Single words often work best.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #7
    New Coder
    Join Date
    Mar 2011
    Posts
    62
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Okay, now does anyone know how I might create rounded borders with IE?

    border-radius:15px; doesn't work for IE.

  • #8
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    I quite like the PIE.htc approach. Seems fine to me in IE7+, occasionally problematic in IE6.

    border-radius doesn't work in FF3 either - you need -moz-border-radius.


  •  

    Posting Permissions

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