In article <20060126091257 16807%cschabb@m sncom>,
charlie <cs*****@msn.co m> wrote:
Not one to give up I started to do another layout using Dreamweaver 8
and what it renders as I do the layout is not the same as what Firefox
and Safari displays when it renders the page. So, is there any CSS
editor for the Mac that will display the page correctly
Short answer: there is no such thing as "correct display" of Web pages.
Longer answer:
[1] The Web was designed to allow exchange of information across
different browsing systems, each with their own (im)possibiliti es. Thus
there is no single right way to render a Web page - the same Web site
*will* be presented (more or less) different on different systems.
[2] Specs leave room for interpretation (sometimes on purpose, sometimes
by mistake), so differerent ways of rendering the same HTML/CSS can be
equally correct.
[3] It is entirely possible that in fact Safari and Firefox's
interpretation are more correct than Dreamweaver's. (Although I believe
Dreamweaver uses Opera's rendering engine, in which case it would be as
likely to be correct.)
[4] You might be using different settings in Safari/Firefox than in
Dreamweaver, overriding aspects of your CSS.
[5] People expect browsers to display pages with crappy code "correct".
Therefore, if you have mistakes in your CSS or HTML, every rendering
engine you try will try to *guess* what you actually meant. They may
well guess differently. Therefore step 1 is to always ensure your code
is at the very least valid, thus making sure you're not leaving
presentation up to mere chance.
Also, if you wonder about something specific, publish an example on the
Web (stripping irrelevant code) post the URL here and describe how the
result is different from what you expected. Only then can people help
with specifics.
--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>