473,804 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Summary of IE Hacks?

As I understand it, IE7 is still not standards compliant (although it has
cleaned up some bugs). Can anyone point me to a summary of IE bugs and fixes?
I've recently discovered Conditional Comments, which are supposed to be a
reliable solution, such as this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

This looks like a good way to go - that is, just use a separate stylesheet for
IE - but that begs the question of how to fix particular problems in IE. Is
there a good summary of IE quirks and workarounds someone can point me to?

Thanks in advance.

Oct 15 '06
16 1852
>Gus wrote:
>Write it and make sure it's as you want it in Fx and *then* check in IE.
I know a lot of people in this discussions do defend the fact that good
browsers should support validated code.
We all know that FF is doing this. We all know that IE6 is a nightmare.

But if you are a professional designer, making a living out of this,
and paying bread and butter...we should respect the fact that IE has 80
% of the market.

Bill was able to take the market and to keep it. Neither FF, Linux,
Opera or Netscape was able to take it away.

If we play tennis we have to accept the rules. If we want to play in
the world wide business we have to accept the rules.

So it makes much more sence to develop in IE, and check if it works in
FF.

br

Johan

www.web-garden.Be
--
deko wrote:
So, maintaining an IE-specific stylesheet like this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

is, IMHO, the cleanest and most effective way to manage the display
peculiarities of IE. An iestyle.css can contain every hack and workaround to
accommodate each IE version (all the way back to IE 5), all cordoned off the
side, where they belong.
Do you mean something like this

/* Hacks for all IE - including IE7 */

... {}
... {}
... {}

/* Hacks for IE6 and before */

* html ... {}
* html ... {}
* html ... {}

/* Continuing with hacks for IE5.5 and below */

and so on...

yep.
If so, I like the approach - better than having lots of sets of conditional
comments. Might use that in the future if I need to hack IE7 and IE6
differently (although I will probably ignore IE<6 - it tricky to test, and I
don't think quite so important).

Yeah, I don't see much IE 5 anymore...

This approach seems like the best solution to me. Still waiting to hear what
others think...
Oct 18 '06 #11

Jobe wrote:
Gus wrote:
Write it and make sure it's as you want it in Fx and *then* check in IE.

I know a lot of people in this discussions do defend the fact that good
browsers should support validated code.
We all know that FF is doing this. We all know that IE6 is a nightmare.
This is a logical fallacy.

The axioms are:
* Some competent people advocate validation.
* Many sites are invalid.
* It's difficult to make sites work presentation-wise between IE and FF
* Many sites display well in IE, but not in others.

It's a fallacy to take these observations and extend them to your
conclusion, which appears to be that IE _requires_ invalid code.

Valid code works everywhere, equally well. Invalid code works
variably. _This_ is why validation is good, not because it's a magical
route to good display, but because it's a route to _consistent_
display. From consistency you can achieve good design, but you can't
take a good but invalid design and make it consistent, except by going
in circles.

we should respect the fact that IE has 80 % of the market.
A false argument.

* Who is advocating ignoring IE ? No one.
* Why do you put forward the fallacy that valid code is in some way
damaging to IE?

There's also the well-known observation in software development that it
takes just as much effort to support equally complex features needed by
100% of the market and by 1% of the market. You either do it or you
don't. Once you've done it, any number of users can use it. It doesn't
become either easier or harder just because more or less of your market
care about it.

Bill was able to take the market and to keep it.
It took several years (1997 - 2001) for IE to take the market away from
Netscape. IE is far from invulnerable as the Windows browser of choice.
They're lost and abandoned the other non-Windows markets for IE on Mac
and UNIX already. FF has some tens of % of their core Windows market
already.
Neither FF, Linux,
Opera or Netscape was able to take it away.
I wasn't aware that "Linux" was a web browser.

If we play tennis we have to accept the rules. If we want to play in
the world wide business we have to accept the rules.
Do you have any other meaningless aphorisms you'd like to share?

So it makes much more sence to develop in IE, and check if it works in
FF.
Where did _that_ little non sequitur come from ?

It's wrong, it's obviously wrong, it's empirically wrong and it's not
supported by any of your argument so far.

Developing valid code is easier and quicker (to an acceptable level of
"complete") than developing invalid code. This is a truism for FF in
isolation, for IE in isolation, and most certainly for "the web"
(meaning approximately all likely browsers). In no possible way is
there a tangible benefit for travelling the rocky IE road first.

Oct 18 '06 #12
Jobe wrote:
>
So it makes much more sence to develop in IE, and check if it works in
FF.
No, it actually makes more sense to check both as you go.

I used to check IE last, but it was too much trouble dealing with its
many quirks after the fact. There were a couple instances where I had to
make some major adjustments to work around IE flaws, so it made more
work rather than less.

Now I usually have a gecko browser and IE side by side as I go, and
check them both for every revision of the stylesheet. A big monitor
helps. :) At a certain point I'll check it in Opera and a KHTML browser,
but if it works in gecko, the others aren't usually much different.

--
Berg
Oct 18 '06 #13
Bergamot wrote:
Jobe wrote:
>So it makes much more sence to develop in IE, and check if it works in
FF.

No, it actually makes more sense to check both as you go.

I used to check IE last, but it was too much trouble dealing with its
many quirks after the fact. There were a couple instances where I had to
make some major adjustments to work around IE flaws, so it made more
work rather than less.

Now I usually have a gecko browser and IE side by side as I go, and
check them both for every revision of the stylesheet. A big monitor
helps. :) At a certain point I'll check it in Opera and a KHTML browser,
but if it works in gecko, the others aren't usually much different.
The point is that you check what you did in Fx first, then in IE and if
done in a compliant way, most of the time IE will also handle it right.
If done in a non-compliant IE-proprietory way, which IE will tolerate,
then all the compliant browsers will puke on your work. If checking in
IE first, then the potential exists to write in a non-compliant and
IE-proprietory way, making the cure more difficult than eliminating the
cause at first.

Of course if you have a lengthy complex document/site, then it does not
make any sense to finish the whole thing, checking it only for Fx and
then afterward check it for IE. It only makes sense to check
periodically with IE and find the problems as you go instead of
diagnosing afterward, which may be time consuming. Awareness of the
possible problem points may also be worthwhile. Check as frequently as
you think fit, *but first in Fx* and *then in IE*.

--
Gus
Oct 18 '06 #14
>>So it makes much more sence to develop in IE, and check if it works in
>>FF.

No, it actually makes more sense to check both as you go.
What I do is develop in FF first, then create a separate stylesheet for IE --
using Conditional Comments in the <headto direct IE users to it -- and then
make whatever IE display adjustments (hacks) are needed in the IE stylesheet.

Why FF first? Because we have agreed on standards -- and FF is, mostly,
standards-compliant. The merit of the software is irrelevant. IE may be the
browser of choice for vast majority of my users (this helps justify the decision
for a separate IE stylesheet) but that doesn't matter one bit unless we all
agree on a set of standards to define how to code for it. We cannot communicate
(even with a popular person) if we do not agree on grammar.

Oct 19 '06 #15
In article <4p************ @individual.net >,
Bergamot <be******@visi. comwrote:
Now I usually have a gecko browser and IE side by side as I go, and
check them both for every revision of the stylesheet. A big monitor
helps.
or 2 monitors...

(I am new to these groups and I am going to making quick darting
telling little interventions as I see fit so as to build a big
solid reputation and gain huge respect...)

--
dorayme
Oct 19 '06 #16

deko wrote:
What I do is develop in FF first, then create a separate stylesheet for IE --
using Conditional Comments in the <headto direct IE users to it -- and then
make whatever IE display adjustments (hacks) are needed in the IE stylesheet.
So what are these hacks?

I only know of _one_ hack that it's useful to include for an IE only
stylesheet (fixing the default font size smaller than 100%, to
compromise for hi-res Windows displays with large fonts selcted)

Anyone got any others?

Oct 19 '06 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2804
by: Nick Coghlan | last post by:
Time for another random syntax idea. . . So, I was tinkering in the interactive interpreter, and came up with the following one-size-fits-most default argument hack: Py> x = 1 Py> def _build_used(): .... y = x + 1 .... return x, y ....
1
2055
by: code | last post by:
Hi Grp http://www.books-download.com/?Book=1493-PHP+Hacks+%3a+Tips+%26+Tools+For+Creating+Dynamic+Websites+(Hacks) Description Programmers love its flexibility and speed; designers love its accessibility and convenience. When it comes to creating web sites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million web sites, surpassing
0
337
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 375 open ( -3) / 3264 closed (+26) / 3639 total (+23) Bugs : 910 open ( +3) / 5851 closed (+20) / 6761 total (+23) RFE : 217 open ( -1) / 220 closed ( +3) / 437 total ( +2) New / Reopened Patches ______________________
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9593
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7633
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.