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 =/
Yeah but we're getting it assessed in FF and IE 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
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
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.
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
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... 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
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?
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
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
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.
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/
A quick search brought up several extensions for mouse gestures, no idea why you haven't found one. ^^ For example this one: http://www.chrome-plugins.info/de/216/smooth-gestures/
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.
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...