checkmeat_09 Posted December 24, 2009 Share Posted December 24, 2009 Hi all..I did a new website with dreamweaver CS4 and my client was happy with that design until we check that with IE6.The design is fully collapsed in IE6..And i wrote a new css file for IE6now i want to know how can i make that the new css for ie6 is for respective browsers and the other browsers take the old css.Please help me... Link to comment Share on other sites More sharing options...
thescientist Posted December 24, 2009 Share Posted December 24, 2009 at the very least make sure you are using a Strict DTD and that the page(s) validate to that. Aside from that, you can use conditional statements to set a stylesheet to be used by IE6. Other than that, how does the page appear in Firefox and Chrome, and IE7/8? Link to comment Share on other sites More sharing options...
checkmeat_09 Posted December 24, 2009 Author Share Posted December 24, 2009 at the very least make sure you are using a Strict DTD and that the page(s) validate to that. Aside from that, you can use conditional statements to set a stylesheet to be used by IE6. Other than that, how does the page appear in Firefox and Chrome, and IE7/8?Thanks for ur reply...by the help of browsershots website.. here are the imagesIE6 - Screen shotIE7 - Screen shotIE8 - Screen shotActually that content and the girl is to be aligned in right side white space like IE8and by using conditional statements like "if" i am not able to get the required answer..i use<!--[if lte IE 6]> <link href="css/ie6.css" rel="stylesheet" type="text/css" /><![endif]--> Please help me... Link to comment Share on other sites More sharing options...
thescientist Posted December 24, 2009 Share Posted December 24, 2009 but what about the DTD? A strict one is the first step towards getting IE to play "nicely." Link to comment Share on other sites More sharing options...
checkmeat_09 Posted December 24, 2009 Author Share Posted December 24, 2009 but what about the DTD? A strict one is the first step towards getting IE to play "nicely."sorry for asking this..can u explain... because i just design new concepts but i wont know about DID. Link to comment Share on other sites More sharing options...
thescientist Posted December 24, 2009 Share Posted December 24, 2009 see my sig for an example and here for a link http://www.w3schools.com/tags/tag_DOCTYPE.asp.A doctype is a way of forcing the browser to render elements to certain standards. By going with a Strict DTD, you can eliminate a lot of brrwser inconsistencies by enforcing a strict set of rules as far as rendering goes. Link to comment Share on other sites More sharing options...
checkmeat_09 Posted December 24, 2009 Author Share Posted December 24, 2009 see my sig for an example and here for a link http://www.w3schools.com/tags/tag_DOCTYPE.asp.A doctype is a way of forcing the browser to render elements to certain standards. By going with a Strict DTD, you can eliminate a lot of brrwser inconsistencies by enforcing a strict set of rules as far as rendering goes.Hi..I have the index.html source code is as follows<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <title>Hydro care solutions</title> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <link rel="stylesheet" type="text/css" href="imageScroller.css" /> <link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" /> <!-- <script src="prototype.js" type="text/javascript"></script>--> <script src="scriptaculous.js?load=effects" type="text/javascript"></script> <script src="lightbox.js" type="text/javascript"></script> <script src="scroller.js" type="text/javascript"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="fadeslideshow.js"> then wat can i do??? Link to comment Share on other sites More sharing options...
thescientist Posted December 24, 2009 Share Posted December 24, 2009 switch to a strict DTD for starters Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.