Nick Fitzsimons wrote:
> Although you should remember that expressions don't work if the 
> client has scripting disabled; Christian's hack, though ugly to read,
>  prevents one tehcnology being dependant on another for correct 
> operation.
> 
> Just my tuppence,

Yes, of course. I usually solve that by giving IE/win the IE/Mac
treatment - a fallback to 'fixed width' when javascript is off. Works
every time.

Then I put the entire simulation in a 'non-css' file, and serve it to
IE/win through its own buggy entrances (might be read as "Gates" :-) ).
That way not even a 'conditional comment' is present to tell anyone but
me and IE/win that there's anything there, and I have to open the
garbage-file "manually" to the validator - that is: 'rename it',
whenever I want a garbage-check.
---

However, my point is that neither spacer-divs or spacer-paddings are
"working with standards" in a good way.
The former is ugly - looks more like spacer-gifs - and doesn't work.
Tables can perform better than that.
The latter may prevent proper use of margins and paddings on an element,
thus more elements may be needed.

Christian's solution is fine for simple layouts like the minimal case
EAM presented, but that's not a real, full-blown, page. It does put
restrictions on somewhat complex layouts, and I don't like restrictions
even if they have "valid" stamps all over them :-)

Using standard definitions for (somewhat) 'standard-compliant' browsers,
and simulating those definitions in 'non-standard-compliant' browsers,
makes it easier to use standards - all standards - as they where meant
to be used. That's more important to me than hacking around and hiding
from the CSS validator, in order to get a "pass".

The fact that many of my own 'non-standard' solutions are hidden from
view anyway, is not my fault. I use a perfectly valid (and validated)
method, so blame it on parsing-bugs in "some" browsers.
--

Hope this comes through as a promotion of proper use of standards and a
push for more standard-compliant and bug-free browsers. That's what my
aim is whether we deal with CSS or anything else in web design.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to