A Conversation for Website Developer's Forum
Which Web Standard..?
dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC Posted Nov 27, 2002
With Mozilla you can click on the "View" menu then "Page Info" and it tells you what mode it's in. I'm on a Mac so I can't check it, but doesn't the "Page Properties" in IE 6 do the same thing?
Which Web Standard..?
C Hawke Posted Nov 27, 2002
No - Just says "HTML Document" even if the page (like this one) doesn't have a !DOCTYPE at the top
CH
Which Web Standard..?
Ion the Naysayer Posted Nov 27, 2002
I believe IE5 had a more limited "standards" mode than IE6 but I could be wrong...
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Nov 28, 2002
I didn't think IE implermented standards, I thought it just implermented ideas.
like, "Oh this would be a good idea, an object propertie in the do~da"
able
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Nov 29, 2002
Internet Explorer is perfectly standards compliant.
If you have a very liberal definition of the word "standard".
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 2, 2002
>> Internet Explorer is perfectly standards compliant. <<
It's about as compliant as a placebo is an active drug, libral is not the word for it, I don't just make a website for each browser I have to make a website for each version of IE, because of there libralism. (and thats a joke in it's self)
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 2, 2002
I've given up on doing anything special with IE and just serve it a straight HTML 4.01 or XHTML 1.0 document. Haven't had anyone complain yet.
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 2, 2002
Ah yes and here's me messing with the DOM, JavaScript and Perl with Linux development platform. Oh yes, I see perfectly well how complient IE is.
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 2, 2002
I tinker with cool stuff like DOM and JavaScript under browsers that aren't stupid. Browser detection is my friend.
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 2, 2002
Please don't use if(Browser == "Microsoft Internet Explorer") too much, you know the W3C recomend you check for the function or property rather than the browser, it's a little difrent when it comes to positioning things on a document, do you know how many way there are of calling the left/top/height/width of objects that dosn't work with most but one or two. Ah!!!
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 2, 2002
Heh... I'm aware of what the W3C says. Then again the W3C doesn't follow its own advice at this particular moment. Try viewing http://society2x03.dhs.org, which uses the W3C core styles, under different browsers. Chances are you'll get a different looking page. Mozilla and Phoenix should render it the same (they're the same engine, after all) but they don't.
The way I do detection for most of my websites is this:
Trap Netscape versions below 5.0 and strip out most of the CSS.
Trap Mozilla 5.x+ and send the bells and whistles like DOM calls and complex JavaScripts.
Any other user agent gets vanilla HTML and CSS (possibly simple JavaScript as well).
That way I'm not excluding anyone, and specific enhancements I make for Mozilla get masked from other browsers (e.g. multiple stylesheets). The cool thing is, no matter what page gets served, they're all standards compliant.
Which Web Standard..?
Ion the Naysayer Posted Dec 2, 2002
Whups. http://society2x03.dhs.org/ without the comma.
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 3, 2002
multipull style sheets, I've been using that with Netscape, Mozilla and IE 5.0. with the tag
It's generated isn't it,
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 3, 2002
Actually that site doesn't use browser detection, it's the W3C's stylesheet that's doing browser detection.
I chose to do multiple stylesheets that way (it's a perl script that uses a cookie to save the pref) because IE's support for sucks.
That is a generated page but the only things that change are the stylesheet name and the content of the "Messages from Bob" section which is parsed from an XML file (thus the rather noticable lag at that spot in the page - the PurePerl parser is slow and I can't get the Expat SAX module to install).
Which Web Standard..?
HappyDude Posted Dec 3, 2002
Re: multiple Style sheets, I've done that on http://happy.sdf-eu.org/test/
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 4, 2002
funny thing is, on http://www.infranet-partners.co.uk/cgi-bin/index.pm you will find a link rel headers. and I've tested it in IE 5.0/5.5 and 6.0, perhaps it's just 4.x?
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 4, 2002
The way I understand it is that IE will merge the stylesheets into one if you have multiple link rel headers. Maybe that's only for old versions, I haven't tried it recently.
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 5, 2002
Whats the problem with just one Style sheet structure?
I can't see the problem myself,apart from DOM refrancing I supose.
-- DoctorMO --
Which Web Standard..?
Ion the Naysayer Posted Dec 5, 2002
Alternate stylesheets are possible using Mozilla (but not with IE). In Mozilla you can switch from stylesheet to stylesheet dynamically if the site author has put it together properly. If they retooled H2G2 to use stylesheets you could switch between alabaster, goo, and Brunel by selecting the right stylesheet from the View menu. IE makes a horrid mess of everything if you send it "conflicting" stylesheets.
Which Web Standard..?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 5, 2002
Ah I see, I use the className mainly.
You might beable to help me atualy, in Konqueror, when I change a className the visual aspects don't change untill I change somthing else, this happens all the time.
-- DoctorMO --
Key: Complain about this post
Which Web Standard..?
- 21: dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC (Nov 27, 2002)
- 22: C Hawke (Nov 27, 2002)
- 23: Ion the Naysayer (Nov 27, 2002)
- 24: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Nov 28, 2002)
- 25: Ion the Naysayer (Nov 29, 2002)
- 26: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 2, 2002)
- 27: Ion the Naysayer (Dec 2, 2002)
- 28: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 2, 2002)
- 29: Ion the Naysayer (Dec 2, 2002)
- 30: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 2, 2002)
- 31: Ion the Naysayer (Dec 2, 2002)
- 32: Ion the Naysayer (Dec 2, 2002)
- 33: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 3, 2002)
- 34: Ion the Naysayer (Dec 3, 2002)
- 35: HappyDude (Dec 3, 2002)
- 36: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 4, 2002)
- 37: Ion the Naysayer (Dec 4, 2002)
- 38: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 5, 2002)
- 39: Ion the Naysayer (Dec 5, 2002)
- 40: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 5, 2002)
More Conversations for Website Developer's Forum
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."