1. The trade part of Lethal Zone has fully been taken over by FoG (Fortress of Gamers) and this site can no longer be used to make appeals. If you feel that your tag is unjust, please file an appeal over at https://f-o-g.eu.trade instead.

Website in IE and FF annoying me

Discussion in 'Lethal Chat' started by Alias, Oct 8, 2010.

  1. Alias

    Alias Registered

    Joined:
    Jun 6, 2009
    Messages:
    2,959
    Likes Received:
    0
    Hey,

    Basically, uni project..

    Create a website in html/css (doing the layout atm) and it has to have loads of functions which I will add later.

    Anyway, if you load up http://elliothesp.co.uk/ in firefox, it all looks dandy with things sticking together... However, IE it has spaces and a random light blue strip.

    Each of the "boxes" is a div, while each row is a container for them....

    There is some padding on the top of the first 3 boxes at the top just to keep it away from the top border.

    Now, is there any code I need to be addign to make it IE compatible? Or does IE interperate bits of code differently. Cant find a solution on google =/
     
  2. LuckyLuke

    LuckyLuke Registered

    Joined:
    Jan 2, 2009
    Messages:
    1,682
    Likes Received:
    0
  3. Alias

    Alias Registered

    Joined:
    Jun 6, 2009
    Messages:
    2,959
    Likes Received:
    0
    Yeah but we're getting it assessed in FF and IE :p So if it works in FF and not IE then I have a probelem D:

    EDIT:
    Aha! Had to add this random code....
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    No idea what it does, but yay it worked :p
     
  4. Doelwit

    Doelwit Registered

    Joined:
    Feb 17, 2007
    Messages:
    3,684
    Likes Received:
    0
    Doctype is essential for every webpage since it tells the browser what fprmat to use for diplaying the page.
    It's one of the things you must have in a webpage, far from being a random piece of code ;)
     
  5. Anonymous

    Anonymous Guest

    what doel said xD IE is a bitch when it comes to this and FF is way better... :lol:
     
  6. Morrolan

    Morrolan Registered

    Joined:
    May 30, 2009
    Messages:
    1,841
    Likes Received:
    1
    I prefer IE over FF, but that's just me. ;)
     
  7. Doelwit

    Doelwit Registered

    Joined:
    Feb 17, 2007
    Messages:
    3,684
    Likes Received:
    0
    30-40% of all internet users use IE, so there's really no other option then not to test on it when you're building a site.
    Of course, also check firefox, opera, chrome etc.
    But IE is the most buggy one, or ''special'' ;)
    A lot of sites use special IE only css to make up for the weird behaviour it has.
     
  8. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    Had the same problem for my website on a school project. Luckily, after some talking, we could decide ourselves in which browser we wanted it to be graded on. Chose Chrome :D
     
  9. Pablosky

    Pablosky Potato supreme

    Joined:
    Aug 18, 2009
    Messages:
    1,652
    Likes Received:
    0
    Once upon a time there were two major browsers, IE and Netscape. They fought a bloody war against each other for years, for those precious little bits of market share. Every couple of months they challenged each other again with a release of yet another version of their browser, containing more and more fancy features like marquee and blink, introducing JavaScript by Netscape, quickly replicated by Microsoft in IE as the oh-so-creatively named JScript. Netscape slowly started to lose it's share of the market to Internet Explorer and with the release of IE 6 Microsoft emerged victorious, thanks to their huge resources and the fact that IE came bundled with Windows as a default browser.
    But after this bloody war was fought, and the browsers were stuffed with features, people realized there was one thing that wasn't paid attention to and degraded with every release: the web standards. The WWW Consortium rose to maintain proper standards which web sites should be compliant with, but that kind of failed the first couple of years. IE had the biggest market share, and Microsoft obviously chose to maintain the use of their own screwed up standards, which web developers had no choice but to follow.
    Eventually Mozilla started to bite little bits off IEs market share by introducing Mozilla Firefox, a major browser that followed standards that actually made sense, forcing IE to slowly start switching to the use of the WWWC standards as well.
    Nowadays IE still defaults to the old rendering from the browser war legacy called Quirks Mode, unless specifically indicated otherwise by the DocType, which you therefore always should include.

    Disclaimer: may or may not be completely chronically sound ;)

    People sometimes ask me: "Who decided that these standards from the WWWC are that great anyway? What's wrong with those of Microsoft, other than that they differ a lot?", then I point out as example that supplying a margin of zero pixels in a specific property actually makes IE render a margin of two pixels... :p
    One of the many bugs Microsoft didn't mind and eventually maintained for backward compatibility, in order to cheaply and quickly be able to squeeze out new features.

    That was my wall of text for today :D
     
  10. Doelwit

    Doelwit Registered

    Joined:
    Feb 17, 2007
    Messages:
    3,684
    Likes Received:
    0
    http://gs.statcounter.com/#browser-ww-monthly-200909-201009

    Shows IE is losing territory steadily, is now under 50% marketshare.
    Firefox has been stable or constant for a long time, chrome is gaining territory.

    Maybe it has to do with win7 not automatically installing internet explorer as standard browser but now offering a choice on which browser to install?
     
  11. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    yes, and chrome fits W7 IMO.
     
  12. Alias

    Alias Registered

    Joined:
    Jun 6, 2009
    Messages:
    2,959
    Likes Received:
    0
    Heh, pretty interesting read :)

    Well im slowly learning, Javascript and php are what we are doing in the next few weeks (obviously the basics) but its stuff i enjoy doing so im willing to learn about it... Already kinda higher up on what I can produce to my class mates due to the fact I can make it all fancy with photoshop ;)

    I like reading code and undertstanding what it does, think I learn best like that... Just with all the LZ server stuff when it comes to php I dont have a clue as its different to what we do :(
     
  13. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    Something I find funny, is that in the NL, BE and UK internet explorer wins by many times from FF and the other. But in Germany... Firefox is getting used 2 times more than IE.
    And North America is the only continent where Safari is more used than Chrome.
    And Antarctica has a very funky line diagram xD
     
  14. Pablosky

    Pablosky Potato supreme

    Joined:
    Aug 18, 2009
    Messages:
    1,652
    Likes Received:
    0
    At least the scientists down there in the cold know what browser to use :D
     
  15. Anonymous

    Anonymous Guest

    The only thing that keeps me from switching from Opera to Chrome, is the fact that Chrome doesn't have mouse-gestures. If only google could steal that too.
     
  16. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    mouse gestures? what's that? :oops:
    muis gebaren... lolwut?
     
  17. Anonymous

    Anonymous Guest

    Enables you to perform simple tasks like: opening a new browser tab, back to previous page, to next page etc. with a mouse gesture. For example pressing and hold right mouse button while moving the mouse to the left and releasing the button goes back to the previous page. Makes browsing faster and better imo.
    http://www.opera.com/browser/tutorials/gestures/

    It's already doable with a firefox add-on, but not yet on Chrome.
    https://addons.mozilla.org/nl/firefox/addon/39/
     
  18. Morrolan

    Morrolan Registered

    Joined:
    May 30, 2009
    Messages:
    1,841
    Likes Received:
    1
  19. Anonymous

    Anonymous Guest

    TBH I haven't looked for that in a long time, thinking eventually it would be a official feature. Thanks for that, installing chrome soon then.
     
  20. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    I use my mouse buttons for that really. page forward and backwards are at my thumb, and opening a link in a new tab and closing a tab on the top is done with the middle mouse...