Jump to content
MakeWebGames

Recommended Posts

Posted

I dont know about you, but i really dislike IE. And my site looks terrible on it. So heres a little code to make people change their minds.

NOTE: This script only pops up a message, but you can easily put it into authenticate and stop the login process and make them switch.

add on login page. Put on top

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then put this where you want message to show

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Stop people from using IE on website

Why would you throw away 25% to 60% of your possible clients? just fix the site so it looks good in IE.

Posted

Re: Stop people from using IE on website

Now a days maybe and I STRESS maybe,25% not anywhere near 60% of users have IE. I can spend hours making my site look tight with some kick arse transparent BG .png graphics only to find my entire site looks like dogshite in IE.

I for one would trade a possible 25% cut of IE users for the amount of work I put into making my site look good in a decent browser.

Appreciate this little snipit of code :)

Posted

Re: Stop people from using IE on website

If you would have talked about opera, safari or google chrome, I would have understood it. However cutting out IE is like saying your soft will work only on sun solaris. For sure you restrict your player base ;)

Numbers varies and are not really that easy to calculate:

http://marketshare.hitslink.com/report.aspx?qprid=0

But what remains is IE the most wildly used browser, with firefox coming afterward, with lot less users. As you see safari is not that bad either, so don't under estimate it either.

On my own case I always test with IE and Firefox. Doing it work for both is normally not that much a work. Support for Safari could be improved simply by improving the support for Chrome, as the render engine is the same on both browsers. For the moment I don't support those browsers myself...

Posted

Re: Stop people from using IE on website

using the code snippet above you could make 2 different css files that could be auto selected

i like the trend for IE though

CFT0324_0407511C54F.png

Posted

Re: Stop people from using IE on website

Using a html strict behavior on your css and html i have overcome this problem of your site looking "stupid" for IE.

I have made many templates for my game to test the theory including many operating systems .

I have tested the the layouts with a browsershot.com website and only have one browser that interpretate's them wrong which is not a common browser/operating system ...

So using the correct way to code/design is more better than restricting a certain public Audience..

Posted

Re: Stop people from using IE on website

 

I for one would trade a possible 25% cut of IE users for the amount of work I put into making my site look good in a decent browser.

That's just stupid... IE6 and other browsers act pretty much the same, and you only need browser "hacks" 0.001% of the time (alpha transparent PNG being one of those times).

If you can't make your site look similar on all browsers the first time you write your code, then your not doing it right and need to learn basic html/css.

Also, even if it was 25% of the users you will throw away, that's 25% of the money you advertise thrown away and all the users those users would have brought in.

Posted

Re: Stop people from using IE on website

this is pointless as a pet rock. Instead of helping your game, you are getting rid of future new users, plus current ones who use IE. IE is one of the most used web browsers. IE 8 is the one that sucks and doesn't draw your website like it should, IE 6 and 7 draw websites the same as all the other browsers. It does for me anyway

Posted

Re: Stop people from using IE on website

I have to agree that this is a terrible idea.

Internet Explorer, unfortunately, is the most common used browsers out there. Why not try to make your site Web 2.0 instead and make compatible with most, if not all browsers. Also I have to agree with Vali about using IE6 hacks which would be the better idea than blocking IE users totally. I also have to agree with the statement saying if you block IE users you wasted 25% of you advertising, the only thing I would beg to differ is the 25% because it's more likely going to be 50% which is a big loss if you put quite a lot of money into advertising.

Posted

Re: Stop people from using IE on website

 

That is STUPID XD -1 for a stupid mod

It may be a stupid mod in your eyes but a brilliant mod in someone elses... that -1 was unneeded (even though the karma means nothing). He put it up for people to share, if you thinks its stupid, make a mod like that's useful...

I don't think the creator of the mod appreciated your silly comments

Posted

Re: Stop people from using IE on website

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That code is free to share, put it on your site at the top or some script, and send me all your users :-P

(i can settle for all the users using IE that you don;t want on yoru site also)

Posted

Re: Stop people from using IE on website

 

I Think This Is Gay I Have Put A Link On My Log In Page Telling Users That The Game Is Best Viewed In Fire Fox.

I Think That Typing Like This Is, As You Call It; "Gay".

Type normally, don't put something/someone down with that word.

I know a few gay people, they're pretty cool, and I think they'd be offended if they were roped into the same class as code!

Posted

Re: Stop people from using IE on website

It would be a good idea if you are using it to alter code for ie users. But how is it a good idea to push users away?

Posted

Re: Stop people from using IE on website

If your going to this lengh to stop IE users viewing your page.

I suppose i could stop FF users viewing mine as i dont use FF.

But overall FF and IE are not that hard to implement so they are viewed by either browser.

Posted

Re: Stop people from using IE on website

The voice of wisdom:

Check it out, IE 8 is largely standards compliant. IE 7 supports a large set of standards. Yes, IE 7 isn't where it should be, but IE 8 has gone a long way towards getting there. IE 6 is being more and more marginalized and looks to be at or below a 10% market share by the end of the year.

IE 7 supports transparent pngs and as has already been mentioned, triggering standards mode using a Doc Type makes IE 7 very usable.

Safari is very standards compliant. Opera is as well.

There really isn't any reason to turn away folks from your web site. If people complain, you can simply just trash the mail if you don't feel like responding.

All in all, if you are using good css technique, your pages should be fairly easy to get rendered in all major browsers with the exception of IE 6.

The *css hack will allow you to target IE 7 and the _css hack will allow you to target IE 6. IE 8 shouldn't have any need of css hacks (we hope).

If you are floating elements on page, float everything! At least float all your divs.

Even better is using a css framework to lay out your page.

If you are having problems with javascript in a particular browser, then use a javascript library to abstract out the browser incompatibilities that are plaguing you.

It takes some time to get a good method down that works on all the major browsers, but it's very doable.

The problem I see most often is, a css lay out problem is almost always caused by something more foundational in the lay out that isn't right. So, it's very very important that you start with a really good css framework for you site, or else you will have problems later on.

Always keep in mind that browsers handle margins differently. Sometimes margins overlap with other elements and sometimes they don't. If something won't align, try removing margins, wrap that element in another element, and apply padding to the parent element you made as a wrapper. Doing so can provide a more cross browser method of applying css margins.

 

EDIT: One last bit of advise: never rely on pixel perfect layouts. Everything must have a gutter. A tolerance so to speak. If you're cutting up images and trying to lay them out next to each other and you expect them all to line up in every major browser, you're living in dreamland.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...