<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechnoBlogy &#187; CSS</title>
	<atom:link href="http://technoblogy.net/category/technology/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://technoblogy.net</link>
	<description>Technology with a Big difference</description>
	<lastBuildDate>Mon, 05 Dec 2011 17:29:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>AJAX Tab Container &#8211; Style Problem</title>
		<link>http://technoblogy.net/ajax-tab-container-style-problem/</link>
		<comments>http://technoblogy.net/ajax-tab-container-style-problem/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:03:10 +0000</pubDate>
		<dc:creator>Nauman</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ajax tab container]]></category>
		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://technoblogy.net/ajax-tab-container-style-problem/</guid>
		<description><![CDATA[Cause Since the release of ASP.Net 2.0, all the pages&#8217; DTD are set to XHTML 1.0 Transitional by default. Consequently, AJAX Control Toolkits were also created to adhere with standard. All the rendered AJAX controls will follow the said document type definition. As it turns out, our page only adhere to HTML 4.01 Transitional DTD [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Cause      <br /></strong>    <br />Since the release of ASP.Net 2.0, all the pages&#8217; DTD are set to <em><strong>XHTML 1.0 Transitional</strong> </em>by default. Consequently, AJAX Control Toolkits were also created to adhere with standard. All the rendered AJAX controls will follow the said document type definition. As it turns out, our page only adhere to <em><strong>HTML 4.01 Transitional</strong> </em>DTD making the tab looked distorted.</p>
<p><strong>Solution      <br /></strong>    <br />Well one solution it to change the DTD of your page to XHTML 1.0 Transitional. This will quickly fixed your problem (best practice as well). But if time is not in your side you can do a little CSS hack to make your tab looking good again. Just include the CSS code below internally inside your page:</p>
<blockquote><p>&lt;style type=&quot;text/css&quot;&gt;</p>
<p>.ajax__tab_default .ajax__tab_inner {height : 100%;}      <br />.ajax__tab_default .ajax__tab_tab {height : 100%;}</p>
<p>.ajax__tab_xp .ajax__tab_hover .ajax__tab_tab {height : 100%;}      <br />.ajax__tab_xp .ajax__tab_active .ajax__tab_tab {height : 100%;}</p>
<p>.ajax__tab_xp .ajax__tab_inner {height : 100%;}      <br />.ajax__tab_xp .ajax__tab_tab {height:100%}       <br />.ajax__tab_xp .ajax__tab_hover .ajax__tab_inner {height : 100%;}       <br />.ajax__tab_xp .ajax__tab_active .ajax__tab_inner {height : 100%;}</p>
<p>&lt;/style&gt;</p>
</blockquote>
<blockquote><p>.customtabstyle .ajax__tab_outer {height:85%;}      <br />.customtabstyle .ajax__tab_inner {height:85%;}       <br />.customtabstyle .ajax__tab_tab {height:85%;}       <br />.customtabstyle .ajax__tab_hover .ajax__tab_outer {height:85%;}       <br />.customtabstyle .ajax__tab_hover .ajax__tab_inner {height:85%;}       <br />.customtabstyle .ajax__tab_hover .ajax__tab_tab {height:85%;}       <br />.customtabstyle .ajax__tab_active .ajax__tab_outer {height:85%;}       <br />.customtabstyle .ajax__tab_active .ajax__tab_inner {height:85%;}       <br />.customtabstyle .ajax__tab_active .ajax__tab_tab {height:85%;}</p>
</blockquote>
<p>Just remember that the CSS should be <strong>inside</strong> your .aspx file and not in an external .css file. The style will not take effect in doing so.</p>
]]></content:encoded>
			<wfw:commentRss>http://technoblogy.net/ajax-tab-container-style-problem/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS &#8211; Conditional Statements</title>
		<link>http://technoblogy.net/css-conditional-statements/</link>
		<comments>http://technoblogy.net/css-conditional-statements/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 13:31:02 +0000</pubDate>
		<dc:creator>Nauman</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[conditional statements]]></category>

		<guid isPermaLink="false">http://technoblogy.net/css-conditional-statements/</guid>
		<description><![CDATA[For CSS to work in cross browser environment, we have to write some conditional statements to make our styles look same in all the browsers. Below is the sample code that demonstrate how to write conditional statement tin CSS. &#60;html&#62; &#60;head&#62; &#60;title&#62;Conditional CSS&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; body { color:blue; } &#60;/style&#62; &#60;!&#8211;[if IE 7]&#62; &#60;style type=&#34;text/css&#34;&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>For CSS to work in cross browser environment, we have to write some conditional statements to make our styles look same in all the browsers.</p>
<p>Below is the sample code that demonstrate how to write conditional statement tin CSS.</p>
<blockquote><p>&lt;html&gt;      <br />&lt;head&gt;       <br />&lt;title&gt;Conditional CSS&lt;/title&gt;       <br />&lt;style type=&quot;text/css&quot;&gt;       <br />body       <br />{       <br />color:blue;       <br />}       <br />&lt;/style&gt;       <br />&lt;!&#8211;[if IE 7]&gt;       <br />&lt;style type=&quot;text/css&quot;&gt;       <br />body       <br />{       <br />background-color:red;       <br />}       <br />&lt;/style&gt;       <br />&lt;![endif]&#8211;&gt;       <br />&lt;/head&gt;       <br />&lt;body&gt;       <br />&lt;p&gt;       <br />Nauman Farooq       <br />&lt;/p&gt;       <br />&lt;/body&gt;       <br />&lt;/html&gt;</p>
</blockquote>
<p>If you copy-paste above code as an .html file and browse into IE 7, you will get the background color of the page as red and color of the text as blue but if you will browse the same page in FireFox, the background property of the body tag will not be applicable and it will be default (white) while you will see the color of the text as blue as you were seeing into IE 7.    <br />This is because the color of text has been specified as default style while the background is written as conditional statement.</p>
]]></content:encoded>
			<wfw:commentRss>http://technoblogy.net/css-conditional-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

