Shifter Posted August 24, 2011 Share Posted August 24, 2011 hi guys;some of my css classes and ids don't work at firefox but works at IE, Opera, Chrome ....i checked the css files and php files over and over but no mistakes ...can any one told me where is the mistake probably be ?! Link to comment Share on other sites More sharing options...
Synook Posted August 24, 2011 Share Posted August 24, 2011 Do you have a link? Link to comment Share on other sites More sharing options...
Shifter Posted August 24, 2011 Author Share Posted August 24, 2011 This is the link my friend : http://www.3arabarchive.net/ Link to comment Share on other sites More sharing options...
thescientist Posted August 24, 2011 Share Posted August 24, 2011 haven't you already been told that having two doctypes on your page is a bad thing, and that you should validate your code? Could you also be specific about which ID's and classes are actually causing you problems? Link to comment Share on other sites More sharing options...
Shifter Posted August 24, 2011 Author Share Posted August 24, 2011 many things like :<div class="hide_subject"></div>and <br /> in some php files doesn't work !! Link to comment Share on other sites More sharing options...
thescientist Posted August 24, 2011 Share Posted August 24, 2011 so does that mean you aren't going to fix the dual doctypes and all the errors? unfortunate. Link to comment Share on other sites More sharing options...
gatormancl Posted August 25, 2011 Share Posted August 25, 2011 you might want to listen to thescientist you shouldnt have two doctypes. Also someof your class have double quotes and some have single quotes, im going to guess that the ones that have single quotes don't work. Im pretty thats it because if your file is html you need to double quote classes and id's. you cant single quote those unless you are using thing in a function, and the function is being called, i.e. $active[] = 'class=active-link';Also, why are you using so many stylesheets AND using inline styles? use one or the other.You need to befriend the validator that W3C provideshttp://validator.w3.org/# Link to comment Share on other sites More sharing options...
ShadowMage Posted August 25, 2011 Share Posted August 25, 2011 Also someof your class have double quotes and some have single quotes, im going to guess that the ones that have single quotes don't work. Im pretty thats it because if your file is html you need to double quote classes and id's. you cant single quote those unless you are using thing in a function, and the function is being called, i.e. $active[] = 'class=active-link';Actually, double or single quotes don't matter. You can use either one.EDIT: Per the spec:SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39)(SGML is the language that HTML is based on) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.