PDA

View Full Version : Jus a quick question'


Zozart
21-12-2002, 12:47
Alright, Mozilla uses the same 'engine' as netscape right? so viewing a website in Mozilla will get the same effect? So when building a website i have to cater for IE, Opera and Netscape/Mozilla? Thank you! :D

AlastairM
21-12-2002, 16:02
Alright, Mozilla uses the same 'engine' as netscape right?

Mozilla is usually more up to date but yeah, they both use the gecko engine

so viewing a website in Mozilla will get the same effect?

For 99.9% of things NS6+ and mozilla are identical

So when building a website i have to cater for IE, Opera and Netscape/Mozilla?

Yes. No. Maybe. Sort of depends. ;)

Definitely No. :D

Easy answer, write valid html or xhtml (http://validator.w3.org/) and use CSS extensivly and you'll have few problems between IE5+ NS6+ moz and opera 5+, all of which have decent support for current web standards. You may of course have to forgo the typical dreamweaver approach and actually learn a bit if html to achieve this but its well worth it in the long run. Works for me and I do this every day.

Clientside javascript still has problems with Opera on most versions currently available (supposed to be fixed on the 7.0 release) so make sure it fails safely and your site doesn't depend on it if opera users are important to you.

cheers

alastair

Zozart
21-12-2002, 19:47
cool! thanks! do you know where I can find a tutorial on using css to create tables? i found one on a site.. but i cant remember the url.. :)

Mr_Nemesis
21-12-2002, 19:48
/me agrees with alastair

Code in 4.01 compliant HTML, and it should work almost identically in any browser. Most WYSIWYG web page designers spit out non-standard HTML the whole time; front page for example creates HTML that only IE can process correctly.

You may not care, but I tend to avoid sites that can't format at least half properly in all the browsers I use.

Zozart
21-12-2002, 19:49
yeah.. i've since quit using front page for its editing purposes :D evil microsoft!

Zozart
22-12-2002, 00:36
wow! I found this awesome program called TopStyle - http://www.bradsoft.com/topstyle - it's excellent for working on sites in my opinion. It's simply the best thing for editing css files too! and it automatically 'checks' your code as you write it, depending on what doctype you choose (html, xml etc) so thats really useful. Sorry if you already knew about it, but if you didnt, then i recommend it, you can get a trial at the site. :) It's also got a built in site previewer and everything.. it's basically frontpage, but none of the crap and better. As far as i know, it doesnt have an editor, but that doesnt really matter if you know html. :p

Mr_Nemesis
22-12-2002, 00:53
But is topstyle any more W3C standards compliant than frontpage?

Personally, all WYSIWYG editors I've seen chuck out munged HTML to some degree or other.

Zozart
22-12-2002, 01:03
oh yes, its far far far more w3c compliant than frontpage, as far as I know. From the looks of it, it seems it was more or less built for w3c compliant webpages. And also, its not a wysiwyg editor. It does set the basis for pages however (the doctype, etc), but i've compaired it with true w3c compliant pages and it's all good. It's completely un-biased too :). So its basically just an enhanced notepad, you write your html and it watches you write it and gives you handy shortcuts and tells you when you write something which isnt compliant with your doctype. I think you should try it, you may be suprised. :)

AlastairM
22-12-2002, 01:36
I'd forgotten about topstyle, was only a CSS editor last time I looked :rolleyes:

Dreamweaver MX isn't bad for a WYSIWYG editor that can turn out clean code.

where I can find a tutorial on using css to create tables?

Now do you mean using CSS on tables (border, fonts etc.) or do you mean using CSS for layout (which means no tables and no it's not the layer designer in dreamweaver either :D)

Good places for a start at css are w3schools (http://www.w3schools.com/), a list apart (http://www.alistapart.com/) has some good stuff in the archive and of course ,the ubiquitous w3c specifications (http://www.w3c.org/).

cheers

alastair

Zozart
22-12-2002, 01:39
lol aye. Thanks! I'll have a look.. never knew div's could be so much fun! :D