Click here to Skip to main content
15,885,890 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Apply css just in contentpage Pin
Morgs Morgan30-Aug-11 21:18
Morgs Morgan30-Aug-11 21:18 
GeneralRe: Apply css just in contentpage Pin
Elham M3-Sep-11 1:58
Elham M3-Sep-11 1:58 
AnswerRe: Apply css just in contentpage Pin
apadana_198920-Oct-11 10:14
apadana_198920-Oct-11 10:14 
GeneralRe: Apply css just in contentpage Pin
Elham M24-Oct-11 20:08
Elham M24-Oct-11 20:08 
AnswerRe: Apply css just in contentpage Pin
apadana_198926-Oct-11 0:02
apadana_198926-Oct-11 0:02 
GeneralRe: Apply css just in contentpage Pin
Elham M26-Oct-11 3:16
Elham M26-Oct-11 3:16 
AnswerRe: Apply css just in contentpage Pin
apadana_198926-Oct-11 6:49
apadana_198926-Oct-11 6:49 
GeneralDOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
StarNamer@work24-Aug-11 7:33
professionalStarNamer@work24-Aug-11 7:33 
I have just spent the entire day (plus a couple of hours yesterday) trying to figure out why, after I implemented a menu system with dropdown in CSS (replacing a set of <tables> etc), most pages on the web site worked in IE9, but a few didn't, while everything worked every time in Chrome.

The pages are generated from ASP using VB, but the problem turned out to depend simply on whether the DOCTYPE directive was output as the first line or whether there was anything else (or it was missing).

Now, I always though that the DOCTYPE only affected the actual HTML, but it seems that IE also uses it to switch CSS compatibility as described here.

This also mentioned that a lot of 'workarounds' for IE could probably be dispensed with if people simply specified (using DOCTYPE) what standard of HTML/CSS they are using and stopped using 'Quirks Mode'. As this article mentions, a lot of people probably don't realise that IE's strange behaviour in many areas is simply try to provide backward compatibility because you haven't told it not to!

As mentioned, Chrome doesn't care! Presumably it's 'Quirks Mode' corresponds to a standards compliant set!

[PS: Just felt I needed to tell someone. Smile | :) ]
[PPS: this started as a post to ask how to fix the problem; while trying to write a mininal test case, I 'discovered' that the DOCTYPE directive controls CSS behaviour as well!]
GeneralRe: DOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
Peter_in_278029-Aug-11 18:18
professionalPeter_in_278029-Aug-11 18:18 
GeneralRe: DOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
StarNamer@work29-Aug-11 22:33
professionalStarNamer@work29-Aug-11 22:33 
Questionfree/cheap JSP container servers around? Pin
vulcan_21-Aug-11 10:35
vulcan_21-Aug-11 10:35 
AnswerRe: free/cheap JSP container servers around? Pin
David Skelly21-Aug-11 22:04
David Skelly21-Aug-11 22:04 
Questioncreate table in email body Pin
md_refay19-Aug-11 19:13
md_refay19-Aug-11 19:13 
QuestionRe: create table in email body Pin
enhzflep19-Aug-11 19:36
enhzflep19-Aug-11 19:36 
AnswerRe: create table in email body - Repost Pin
thatraja19-Aug-11 19:39
professionalthatraja19-Aug-11 19:39 
AnswerRe: create table in email body Pin
vivektiwari977014-Sep-11 23:14
vivektiwari977014-Sep-11 23:14 
AnswerRe: create table in email body Pin
Dalek Dave15-Sep-11 21:15
professionalDalek Dave15-Sep-11 21:15 
QuestionGoogle Urchin 6 Alternative Pin
Civic0616-Aug-11 2:26
Civic0616-Aug-11 2:26 
QuestionWeb page optimization when displaying same image several times Pin
neualex11-Aug-11 17:37
neualex11-Aug-11 17:37 
AnswerRe: Web page optimization when displaying same image several times Pin
Peter_in_278011-Aug-11 18:46
professionalPeter_in_278011-Aug-11 18:46 
AnswerRe: Web page optimization when displaying same image several times [modified] Pin
Not Active12-Aug-11 1:08
mentorNot Active12-Aug-11 1:08 
GeneralRe: Web page optimization when displaying same image several times Pin
Gerben Jongerius12-Aug-11 3:41
Gerben Jongerius12-Aug-11 3:41 
GeneralRe: Web page optimization when displaying same image several times Pin
Not Active12-Aug-11 4:16
mentorNot Active12-Aug-11 4:16 
GeneralRe: Web page optimization when displaying same image several times Pin
#realJSOP1-Sep-11 9:50
mve#realJSOP1-Sep-11 9:50 
GeneralRe: Web page optimization when displaying same image several times Pin
Not Active1-Sep-11 11:15
mentorNot Active1-Sep-11 11:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.