<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3276239.aspx</link><pubDate>Mon, 06 Jul 2009 07:55:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276239</guid><dc:creator>ushajyothsna</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276239.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3276239</wfw:commentRss><description>&lt;p&gt;Thanks a&amp;nbsp;lot for the reply&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Usha&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3275277.aspx</link><pubDate>Sun, 05 Jul 2009 10:36:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275277</guid><dc:creator>akhhttar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275277.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3275277</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Usha,&lt;/p&gt;
&lt;p&gt;You can validate your HTML using W3C Markup validator service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://validator.w3.org/#validate_by_uri"&gt;http://validator.w3.org/#validate_by_uri&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Muhammad Akhtar Shiekh&lt;/p&gt;</description></item><item><title>Re: Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3274368.aspx</link><pubDate>Sat, 04 Jul 2009 07:08:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274368</guid><dc:creator>ushajyothsna</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274368.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274368</wfw:commentRss><description>&lt;p&gt;Thanks for all the&lt;strong&gt; &lt;/strong&gt;&amp;nbsp;data given and its all useful for me to know abt DOCTYPES. I searched in net where i could get lots of material.&amp;nbsp; But nowhere i could understand them. U have provided me in a simple manner. U told me that the best way to handle them is to add in all the pages. It means should i add them in aspx pages also? Moreover how&amp;nbsp;do i know if my html code is following the standards or not? &lt;/p&gt;
&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Usha&lt;/p&gt;</description></item><item><title>Re: Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3274017.aspx</link><pubDate>Fri, 03 Jul 2009 21:29:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274017</guid><dc:creator>Lee Dumond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274017.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274017</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The DOCTYPE has no effect on the CSS itself. Rather, the DOCTYPE (or lack of one) affects how the browser renders the page.&lt;/p&gt;
&lt;p&gt;Generally, browsers have two modes - &amp;quot;Standards&amp;quot; mode and &amp;quot;Quirks&amp;quot; mode. There is tons of information on the web about Standard vs. Quirks mode, and how each is triggered by each major browser depending on the included doctype. Each browser is a little bit different.&lt;/p&gt;
&lt;p&gt;In nearly ALL browsers,&amp;nbsp;if the page has &lt;strong&gt;no&lt;/strong&gt; doctype, the page will be rendered in Quirks mode. Basically, this means that it will use the IE5 Box Model to render output. IE5 used a very unorthodox (non-standard) method of interpreting the rendering of margins, borders, and padding for boxes.&lt;/p&gt;
&lt;p&gt;If you never had a doctype before, that means your site has been rendered using Quirks mode all along. And since you developed it that way, &lt;em&gt;you made it look &amp;quot;right&amp;quot; for Quirks mode&lt;/em&gt;. The second you add a doctype in there, browsers will render it in Standards mode, which will totally break any &amp;quot;Quirks-mode&amp;quot; site.&lt;/p&gt;
&lt;p&gt;This is always a&amp;nbsp;problem when you attempt to use modern browser technology (like AJAX) in a site which was never properly updated to comply with modern standards.&lt;/p&gt;
&lt;p&gt;Using a different doctype is very unlikely to work, because most likely ANY doctype will force your site into Standards mode, and that is what is causing the trouble.&lt;/p&gt;
&lt;p&gt;I know you won&amp;#39;t like hearing this, but the &lt;strong&gt;best way to solve this problem is to include doctypes in all your pages and rework the design&lt;/strong&gt; to render properly in Standards mode.&lt;/p&gt;</description></item><item><title>Re: Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3273850.aspx</link><pubDate>Fri, 03 Jul 2009 16:50:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273850</guid><dc:creator>akhhttar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273850.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3273850</wfw:commentRss><description>&lt;p&gt;Hi Usha,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am not sure that xhtml1-loose.dtd is a valid DTD or nto, Try xhtml1-transitional.dtd if you HTML pages are not fully XHTML complaint orusing some deprecated tags.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Muhammad Akhtar Shiekh&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Master page with DOCType effecting the CSS styles</title><link>http://forums.asp.net/thread/3273079.aspx</link><pubDate>Fri, 03 Jul 2009 08:42:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273079</guid><dc:creator>ushajyothsna</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273079.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3273079</wfw:commentRss><description>&lt;p&gt;I am having&amp;nbsp;a same problem which i have used a ajax model popupwindow . to get it it work properly, i added the doctype(&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;!&lt;/p&gt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;DOCTYPE&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;html&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;PUBLIC&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd&amp;quot;&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;). &lt;/p&gt;
&lt;p&gt;now my whole website is working wildly. all the css styles&amp;nbsp;have been varied.&amp;nbsp;&amp;nbsp;i&amp;nbsp;have checked the master page HTML and it is all correct. If i remove the doctype then it works fine. &lt;/p&gt;
&lt;p&gt;Kindly assist me over this. I am using asp.net2.0&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Usha&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>