>> I don't think either and I didn't mean to suggest either.
>>
>> Another way: given browser X, version Y is there a stylesheet Z which
>> if applied replicates the default style settings?
<snip>
> But I still think it's a valid question. I don't think there currently
> exists a stylesheet that forces browsers to act the same (at least I haven't
> seen one). If you were going to write one, though, the best approach would
> probably be to write it for an XML document (giving your XML elements the
> same names as HTML elements).
Do you really believe what you are suggesting or are you just making
this up because honestly I have to wonder.
Do you honestly believe that you can make *all* browsers behave the same
way for *all* CSS rules by simply creating some unified style sheet.
You'll will discover - as I imagine you haven't yet - that this is an
impossibility and I could give you numerous cases wherein this is flat
out impossible and you simply have to live with the nuances or change
your design accordingly (if you can that is).
BTW what does XML have to do with solving this problem? Is that the
unifying part - the magic ingredient that solves the problem?
> That way you are not using any of the
> built-in styles of HTML. This of course forces you to specify EVERY detail
> (like display:block). The stylesheet would be pretty huge I would imagine.
Even if you could specify every detail what makes you believe this is
even possible. I'll argue that no matter how large your style sheet
that this is not going to work and you would probably be surprised that
it would break down a lot sooner than you think i.e. I don't think you
would get very far with this without realizing it is fruitless.
If you don't believe me then what can I say - give it a try ;-)
--Nikolaos
Peter Foti - 30 Sep 2003 16:34 GMT
> >> I don't think either and I didn't mean to suggest either.
> >>
[quoted text clipped - 11 lines]
> Do you really believe what you are suggesting or are you just making
> this up because honestly I have to wonder.
Please note that I said "the best approach". I never said it was a definate
solution.
> Do you honestly believe that you can make *all* browsers behave the same
> way for *all* CSS rules by simply creating some unified style sheet.
While it would be nice, I suspect that browser bugs would make this
impossible.
> You'll will discover - as I imagine you haven't yet - that this is an
> impossibility and I could give you numerous cases wherein this is flat
[quoted text clipped - 3 lines]
> BTW what does XML have to do with solving this problem? Is that the
> unifying part - the magic ingredient that solves the problem?
Because UAs have default ways to render HTML elements (H1 is large and bold
for example), the only way to start from scratch is to use XML, where there
is no such default rendering for these elements.
> > That way you are not using any of the
> > built-in styles of HTML. This of course forces you to specify EVERY detail
[quoted text clipped - 5 lines]
> it would break down a lot sooner than you think i.e. I don't think you
> would get very far with this without realizing it is fruitless.
Perhaps.
> If you don't believe me then what can I say - give it a try ;-)
You first. :)
-Pete
> --Nikolaos