From: DuncanIdaho on
Hello

This is a rant. If you don't want to read it then don't, simple really.

I usually spend my working life buried away in the back ends (fnar) of
business systems. Serverside stuff over presentation stuff.
I've managed to steer clear of Microsoft stuff for most of my working
life, not really by design, it's just the way it turned out.

Recently I was given the task of setting up a website from scratch
including the front end.

I chose Opera(V9.27), Firefox(V2.0.0.n) and Internet Explorer(V7.0) as
my dev browsers as these were the ones used by the eventual users of the
site.

What a nightmare.

I wanted to use Cascading Stylesheets as widely as possible.
Firefox and Opera (almost invariably) render my style code in the same
way. Internet Explorer is ALWAYS the exception. Dissapearing <div>s non
appearing padding/margins, divs that don't expand when they are supposed
to or do expand when they are not supposed to ... I could go on but
there seems little point.

Now I've always stood back when people dis' Microsoft and thought, "well
OK but it can't be that bad". Well actually it is. For gods sake, when
are these people going to GET A GRIP. IE7 is RUBBISH when it comes to
css, at least in my experience.

I have spent(wasted) more time trying to get the layout to work in IE
when it works perfectly in the other browsers (even in older versions of
those browsers) than I care to remember.

The really sad thing is I have no option but to support this pile of
poo, it's by far the most widely used browser out there. If I had my way
I delete the bloody thing and be done with it.

Microsoft Internet Explorer 7.0 Surely a triumph of marketing over
usefullness.

Rant Over

Idaho
From: Harris Kosmidhs on
DuncanIdaho wrote:
> Hello
>

> Now I've always stood back when people dis' Microsoft and thought, "well
> OK but it can't be that bad". Well actually it is. For gods sake, when
> are these people going to GET A GRIP. IE7 is RUBBISH when it comes to
> css, at least in my experience.
>
> I have spent(wasted) more time trying to get the layout to work in IE
> when it works perfectly in the other browsers (even in older versions of
> those browsers) than I care to remember.
>
I used to spend such hours some time ago. When I learned (really
learned) CSS and html I stopped having such problems.

I found out that with writing html/css according to web standards and
validating the code my sites render well both on IE>=7, FF, opera,
safari. At least at the 95% of the them.

Harris
From: Beauregard T. Shagnasty on
DuncanIdaho wrote:

> What a nightmare.

Perhaps you are attempting the non-attainable goal of "pixel precision"
pages. That never works. <g>

Post a URL to your page(s) and someone will have advice on what needs to
be fixed.

http://tekrider.net/pages/faq.php?q=flex

--
-bts
-Friends don't let friends drive Windows
From: rf on
DuncanIdaho <Duncan.Idaho2008(a)googlemail.com> wrote in news:V6-
dnYCgE6lrz73VRVnyggA(a)bt.com:

> Hello
>
> I wanted to use Cascading Stylesheets as widely as possible.
> Firefox and Opera (almost invariably) render my style code in the same
> way. Internet Explorer is ALWAYS the exception. Dissapearing <div>s non
> appearing padding/margins, divs that don't expand when they are supposed
> to or do expand when they are not supposed to ... I could go on but
> there seems little point.

Let me guess: you are running the browsers in quirks mode, aren't you?

In quirks mode IE(any version) reproduces all the bugs that were in version
5.5 and before. Opera and FF don't reproduce as many IE bugs.

Don't want those bugs? Use standards mode.

--
Richard
Killing all google groups posts
The Usenet Improvement Project: http://improve-usenet.org
From: DuncanIdaho on
rf wrote:
> DuncanIdaho <Duncan.Idaho2008(a)googlemail.com> wrote in news:V6-
> dnYCgE6lrz73VRVnyggA(a)bt.com:
>
>> Hello
>>
>> I wanted to use Cascading Stylesheets as widely as possible.
>> Firefox and Opera (almost invariably) render my style code in the same
>> way. Internet Explorer is ALWAYS the exception. Dissapearing <div>s non
>> appearing padding/margins, divs that don't expand when they are supposed
>> to or do expand when they are not supposed to ... I could go on but
>> there seems little point.
>
> Let me guess: you are running the browsers in quirks mode, aren't you?
>

Not sure what you mean by 'quirks mode'

I have this

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Is that what you mean ?

Anyway, I'm not convinced by all this error handling stuff.

Case in point

I am applying a style to leaves in my navigation tree that is generated
on the fly by javascript via an AJAX call to a back end servlet.

I have two possible classes of hyperlink in my tree 'node' and 'leaf' I
have a default style that is applied to anything that isn't a leaf, if
it's a leaf I want to apply a different style.

in my stylesheet

a.leaf{
text-decoration: none;
color: rgb(254, 100, 253);
font-size: 0.75em;
}

I have the following in my javascript

textanchor.setAttribute("class", nodeType);

the result (in firebug) looks like this (fragment)

<span>
<a class="node" href="javascript:getMenuUpdate('1')">Jewellery</a>
</span>
<br/>
<span>
<a class="leaf" href="products?catagoryId=1:1">Earrings</a>
</span>

This works perfectly in Firefox and Opera and any other non IE browser I
care to test it in, leaves are rendered in pink and nodes are rendered
in my default style(sky blue). In IE the browser ignores anything but
the default style... error handling, I don't think so.

I have tried all sorts of thing to get this to work to no avail. It just
doesn't work in IE ... just one example BTW, I have many others.

Go Figure

Idaho