<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - Stylesheet</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Wed, 19 Jun 2013 21:39:56 -0700</pubDate>
			<lastBuildDate>Sat, 09 Mar 2013 05:19:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Background image with percentage</title>
				<link>http://www.ppshein.net/index.cfm/2013/3/9/Background-image-with-percentage</link>
				<description>
				
				Today, I&apos;ve found that we can adjust background image with percentage in CSS. The time before I knew only to adjust background image with two positions. It&apos;s left, right, center and bottom, up position. Now I know is to adjust by percentage for those two positions.

&lt;code&gt;
&lt;!--- transitional background image adjustment ---&gt;
.mybg {
background: url(&quot;img&quot;) no-repeat center left;
}
&lt;/code&gt;

Here is modern adjustment

&lt;code&gt;
&lt;!--- transitional background image adjustment ---&gt;
.mybg {
background: url(&quot;img&quot;) no-repeat 50% 25%;
}
&lt;/code&gt;

It&apos;s cool, isn&apos;t it?
				
				</description>
				
				
				<category>Stylesheet</category>
				
				<pubDate>Sat, 09 Mar 2013 05:19:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2013/3/9/Background-image-with-percentage</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Disable style in CSS</title>
				<link>http://www.ppshein.net/index.cfm/2012/12/12/Disable-style-in-CSS</link>
				<description>
				
				Today I&apos;ve found that how to create CSS for disable input form. It&apos;s very useful and we can do separate class for those event. Here is CSS for normal input event.

&lt;code&gt;
input[type=&quot;text&quot;], input[type=&quot;password&quot;]{
	color: #000000;
	border: solid 1px #999999;
}

select {
	color: #000000;
	border: solid 1px #999999;
}
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Stylesheet</category>
				
				<pubDate>Wed, 12 Dec 2012 23:03:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/12/12/Disable-style-in-CSS</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Change jQueryMobile default selected value in select box</title>
				<link>http://www.ppshein.net/index.cfm/2011/5/23/Change-jQueryMobile-default-selected-value-in-select-box</link>
				<description>
				
				&lt;p&gt;Today what I&apos;ve successfully done is I can change the color of default selected value in select box with jQueryMobile. Frankly, this feature is missing in jQueryMobile because nobody can obviously know whether any value is selected in select box or not. Because they missed out to let users know about it. That&apos;s why I need to add the customize function of myself.&lt;/p&gt;
&lt;p&gt;First of all, we need to search the following coding in jquerymobile javascript.&lt;/p&gt;

&lt;code&gt;
	selectedIndex = select[0].selectedIndex == -1 ? 0 : select[0].selectedIndex,
&lt;/code&gt;

&lt;p&gt;Then, we need to add the following customize coding after that,&lt;/p&gt;
				 [More]
				</description>
				
				
				<category>jQuery</category>
				
				<category>jQueryMobile</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Mon, 23 May 2011 01:23:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/5/23/Change-jQueryMobile-default-selected-value-in-select-box</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Change jQueryMobile Select Box active style color in iPad safari</title>
				<link>http://www.ppshein.net/index.cfm/2011/5/19/Change-jQueryMobile-Select-Box-active-style-color-in-iPad-safari</link>
				<description>
				
				Today, I&apos;m very happy that I can change jQueryMobile select Box active style color in iPad safari. Because, current active style &quot;&lt;b&gt;.ui-btn-active&lt;/b&gt;&quot; is 100% working for other inputs like text, radio and checkbox but for select box, it doesn&apos;t completely work in iPad safari. My boss told me that I need to change all of active input color to &quot;dark blue&quot; instead of default color. That&apos;s why I need to change and already played in existing jQueryMobile stylesheet file. But it doesn&apos;t work at all. That&apos;s why I think I need to hack jQueryMobile existing javascript. After 30 minutes, I found that there are three places I need to change in jQueryMobile existing stylesheet. 

The first part is I need to add new class name for active select box in stylesheet.

&lt;code&gt;
.ui-select-active {color:#0000a0; text-shadow: 0 -1px 1px #ffffff;}
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>jQuery</category>
				
				<category>Javascript</category>
				
				<category>jQueryMobile</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Thu, 19 May 2011 22:41:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/5/19/Change-jQueryMobile-Select-Box-active-style-color-in-iPad-safari</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>How to make square shape button in jQueryMobile</title>
				<link>http://www.ppshein.net/index.cfm/2011/5/17/How-to-make-square-shape-button-in-jQueryMobile</link>
				<description>
				
				As I mentioned in my older posts, I&apos;m really on web-based mobile tablet project for our existing project. Honestly, this web-based mobile tablet project is our first mobile project for our company. That&apos;s why all of requirements are so high and trying to got impressive from our clients. Among them, they urged me to create square shape button in jQueryMobile instead of existing them. As we all know, the existing stylesheet coding of jQueryMobile is very unit, thick and complex and if you change something in it, the impact will be so high. That&apos;s why I don&apos;t want to change anything in it except theme creating but they want square shape so no choice.

So, I&apos;ve changed the following coding like that.

&lt;code&gt;
&lt;!--- line 1413 ---&gt;

.ui-btn-inner { 
	padding: 2em; 
	display: block; 
	height: 100%; 
	text-overflow: ellipsis; 
	overflow: hidden; 
	white-space: nowrap; 
	position: relative;
}
&lt;/code&gt;

After changing it so and rendered it, I&apos;ve got the odd outcome. Please see the image. Because it changes to all of input like drop down, checkbox and radio.
				 [More]
				</description>
				
				
				<category>jQueryMobile</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Tue, 17 May 2011 02:45:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/5/17/How-to-make-square-shape-button-in-jQueryMobile</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Increase the width of select box in jQueryMobile</title>
				<link>http://www.ppshein.net/index.cfm/2011/5/6/Increase-the-width-of-select-box-in-jQueryMobile</link>
				<description>
				
				Currently, I&apos;m on web based mobile project by using jQueryMobile framework. As I already mentioned in my previous posts, jQueryMobile is really awesome and very simple to develop web based mobile project for even user-level developers. But, we cannot easily change the built-in theme of their existing style. Because all of infrastructure of existing styles are transformed by javascript coding of jQuery and styling with CSS a little after. 

Today, I was on trouble about the width and display style of select box in jQueryMobile. Oddly, the width is neither 100% nor 50% and seems display style is &lt;b&gt;Block&lt;/b&gt; type. That&apos;s why I cannot put horizontally two select boxes within in the same DIV. That&apos;s why I feel I need to change any coding in stylesheet of jQueryMobile. So open jQueryMobile stylesheet and changed the following two coding for the sake of my project.
				 [More]
				</description>
				
				
				<category>jQuery</category>
				
				<category>Coldfusion</category>
				
				<category>jQueryMobile</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Fri, 06 May 2011 07:02:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/5/6/Increase-the-width-of-select-box-in-jQueryMobile</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Simple float table header with CSS</title>
				<link>http://www.ppshein.net/index.cfm/2010/12/8/Simple-float-table-header-with-CSS</link>
				<description>
				
				Yesterday I need to upgrade GUI and function of existing project. One of files in this project, our old programmer use very very awesome code as follow:

&lt;code&gt;
&lt;span style=&quot;position:absolute;z-index:9&quot;&gt;
	&lt;table width=&quot;100%&quot; border=&quot;1&quot;&gt;
		&lt;tr&gt;
			&lt;th&gt;ID&lt;/th&gt;
			&lt;th&gt;Name&lt;/th&gt;
			&lt;th&gt;AGE&lt;/th&gt;
		&lt;/tr&gt;
	&lt;/table&gt;
&lt;/span&gt;		
&lt;table width=&quot;100%&quot; border=&quot;1&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;1.&lt;/td&gt;
		&lt;td&gt;PPShein&lt;/td&gt;
		&lt;td&gt;28&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;2.&lt;/td&gt;
		&lt;td&gt;Rob&lt;/td&gt;
		&lt;td&gt;27&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;				
&lt;/code&gt;

I cannot convince why he/she didn&apos;t use simple CSS for floating table header. I think he/she might be weak in CSS for sure. Because look through above coding, some of web developer might say it&apos;s dirty code or not up to HTML structure. Ok, I need to edit something in this file for float table header as follow:
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Wed, 08 Dec 2010 16:41:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/12/8/Simple-float-table-header-with-CSS</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>DOCTYPE Declaration for CSS</title>
				<link>http://www.ppshein.net/index.cfm/2010/10/17/doctype-declaration</link>
				<description>
				
				Before time, I didn&apos;t notice doctype declaration at the top of every pages and I don&apos;t either know how does it work. Yesterday, I created a new style sheet about change button style when mouse-over. As you know, it&apos;s very simple to do for developers and don&apos;t need to create much coding for it. After creating and then I tested, it doesn&apos;t work. I bet all are correct in my style. 
Here is stylesheet.
&lt;code&gt;
	/* button style */
	.button 
	{    
		color: #feeef5;    
		border: solid 1px #d2729e;    
		background: #f895c2;    
		font: 14px/100% Arial, Helvetica, sans-serif;    
		padding: .5em 2em .55em;
	}
	
	.button:hover 
	{    
		background: #f90442;    
		text-decoration: none;
	}
	.button:active 
	{
	    color: #f3c3d9;
	}
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Stylesheet</category>
				
				<category>HTML</category>
				
				<pubDate>Sun, 17 Oct 2010 04:25:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/10/17/doctype-declaration</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Coldfusion load content like Facebook and Twitter</title>
				<link>http://www.ppshein.net/index.cfm/2010/10/14/coldfusion-load-content-like-facebook-and-twitter</link>
				<description>
				
				Today, I&apos;ve tested how to load content like facebook and twitter when scrolling down at the bottom of document. I feel it&apos;s cool and flexible for developers and users. As mention in previous post, don&apos;t need to include pagination and don&apos;t need to retrieve all data from database.By using like that, we can save our client time to click pagination link and don&apos;t need them to worry how many pages he/she already clicked.
In this demo, index.cfm is the main page and action.cfm will display the rest of limited records when scrolling down at the bottom of document.
				 [More]
				</description>
				
				
				<category>jQuery</category>
				
				<category>Coldfusion</category>
				
				<category>Twitter</category>
				
				<category>Facebook</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Thu, 14 Oct 2010 19:28:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/10/14/coldfusion-load-content-like-facebook-and-twitter</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Create gradient button with CSS</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/24/create-gradient-button-with-css</link>
				<description>
				
				It&apos;s great that we can create gradient button with only CSS. We don&apos;t need any background image for creating gradient button anymore. 
&lt;code&gt;
/* it&apos;s just to create gradient button */

.button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font: 14px/100% Arial, Helvetica, sans-serif;
    padding: .5em 2em .55em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
    text-decoration: none;
}
.button:active {
    position: relative;
    top: 1px;
}
&lt;/code&gt;
 
&lt;code&gt;
/* it&apos;s just to create color manipluation */

.orange {
    color: #fef4e9;
    border: solid 1px #da7c0c;
    background: #f78d1d;
    background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
    background: -moz-linear-gradient(top,  #faa51a,  #f47a20);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=&apos;#faa51a&apos;, endColorstr=&apos;#f47a20&apos;);
}
.orange:hover {
    background: #f47c20;
    background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
    background: -moz-linear-gradient(top,  #f88e11,  #f06015);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=&apos;#f88e11&apos;, endColorstr=&apos;#f06015&apos;);
}
.orange:active {
    color: #fcd3a5;
    background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
    background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=&apos;#f47a20&apos;, endColorstr=&apos;#faa51a&apos;);
}
&lt;/code&gt;

&lt;code&gt;
&lt;!--- usage ---&gt;
&lt;input class=&quot;button pink&quot; type=&quot;button&quot; value=&quot;Submit&quot; /&gt;
&lt;/code&gt;

Very thanks to : http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/
				
				</description>
				
				
				<category>Stylesheet</category>
				
				<category>HTML</category>
				
				<pubDate>Fri, 24 Sep 2010 04:10:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/24/create-gradient-button-with-css</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Shortcut icon for iPhone</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/16/shortcut-icon-for-iphone</link>
				<description>
				
				&lt;p&gt;Everybody know how to make shortcut icon for Internet Explorer, Firefox and others. But, some people doesn&apos;t know how to make shortcut icon for apple projects. For me, I recently know how to make shortcut icon for iPhone either. Well, it&apos;s just simple and totally look alike with other shortcut icon. &lt;/p&gt;
&lt;p&gt;Ok, let&apos;s go. First of all, we need to create Icon and standard resolution is 45x45 pixels. If you create the size more than standard resolution, iPhone automatically resize to their standard size.&lt;/p&gt;
&lt;p&gt;Here is my icon for my blog.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;center&quot; href=&quot;/assets/content/app/app-welcome.png&quot;&gt;&lt;img src=&quot;/assets/content/app/app-icon.png&quot; alt=&quot;App-Icon&quot; width=&quot;50&quot; height=&quot;50&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(click above image to view)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After that, we need to put this icon as shortcut icon for apple projects in our coding. Ok, here we go....&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;app-icon.png&quot; type=&quot;image/png&quot;/&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;How? Easy, right?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
				
				</description>
				
				
				<category>iPhone</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Thu, 16 Sep 2010 17:15:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/16/shortcut-icon-for-iphone</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Shortcut screen for iPhone</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/16/shortcut-screen-for-iphone</link>
				<description>
				
				&lt;p&gt;Last day, I&apos;ve created &lt;a href=&quot;/post.cfm/shortcut-icon-for-iphone&quot; target=&quot;_blank&quot;&gt;shortcut icon&lt;/a&gt; and shortcut screen for iPhone but only &lt;a href=&quot;/post.cfm/shortcut-icon-for-iphone&quot;&gt;shortcut icon&lt;/a&gt; is done. Oddly, I don&apos;t know why shortcut screen hasn&apos;t come up in iPhone even I&apos;ve put some code in my blog. Recently, &lt;a href=&quot;http://blog.mrbuzzy.biz/&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;MrBuzzy&lt;/strong&gt;&lt;/a&gt; gave me some codes to implement what I have a need to do. It&apos;s quite cool.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If you done creating shortcut icon and shortcut screen regarding my post
 for your website, you don&apos;t need to open Safari browser and don&apos;t need 
to wait page loading screen of Safari browser if you want to open your 
website in iPhone. Only click on shortcut icon and browse the website 
without using Safari browser.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;One thing forgot to mention is your site must support mobile version. Currently, my site doesn&apos;t support mobile version. :)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here we go:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;
&lt;link name=&quot;viewport&quot; content=&quot;minimum-scale=1.0, maximum-scale=1, width=device-width, user-scalable=no&quot;&gt;
&lt;link name=&quot;apple-mobile-web-app-capable&quot; content=&quot;YES&quot;&gt;
&lt;link name=&quot;apple-mobile-web-app-status-bar-style&quot; content=&quot;black-translucent&quot;&gt;
&lt;!--- create shortcut icon for iPhone ---&gt;
&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;app-icon.png&quot; type=&quot;image/png&quot;/&gt;
&lt;!--- create shortcut screen for iPhone ---&gt;
&lt;link rel=&quot;apple-touch-startup-image&quot; href=&quot;app-welcome.png&quot; type=&quot;image/png&quot;&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It will look alike following image:&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;center&quot; href=&quot;/assets/content/app/app-welcome.png&quot;&gt;&lt;img src=&quot;/assets/content/Images/photo.PNG&quot; alt=&quot;&quot; width=&quot;320&quot; height=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Click to check preview image)&lt;/em&gt;&lt;/p&gt;
				
				</description>
				
				
				<category>iPhone</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Thu, 16 Sep 2010 17:14:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/16/shortcut-screen-for-iphone</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Rounded Corner for IE</title>
				<link>http://www.ppshein.net/index.cfm/2010/6/23/rounded-corner-for-ie</link>
				<description>
				
				If you want to make rounded corner box for everything, you may use integrating with images and css. Unless, For firefox, you can set &lt;span style=&quot;text-decoration: underline;&quot;&gt;border-radius&lt;/span&gt; by prefixing &quot;-moz&quot; to the css property. And ofcource for webkit use &quot;-webkit. For IE, border-radius doesn&apos;t work on it. That&apos;s why we need to integrate images and css for doing rounded corner. If you&apos;re sick of doing so, you can use following coding:

&lt;strong&gt;CSS&lt;/strong&gt;

&lt;code&gt;
.curved {
	padding:4px 0px 0px 0px;    
	width:80px;     
	height:20px;     
	border:#666666 solid 1px;     
	color:#000000;     
	text-align:center;     
	-moz-border-radius:20px;     
	-webkit-border-radius:10px;     
	behavior:url(border-radius.htc);
}
&lt;/code&gt;

&lt;strong&gt;The HTML&lt;/strong&gt;:


&lt;code&gt;
&lt;div class=&quot;curved&quot;&gt;rouneded div&lt;/div&gt;
&lt;/code&gt;


Best Credit to :
&lt;a href=&quot;http://www.htmlremix.com/files/20080924-border-radius.zip&quot;&gt;http://www.htmlremix.com/files/20080924-border-radius.zip&lt;/a&gt;
				
				</description>
				
				
				<category>Stylesheet</category>
				
				<category>HTML</category>
				
				<pubDate>Wed, 23 Jun 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/6/23/rounded-corner-for-ie</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Automatically choose stylesheet file with users&apos; browser</title>
				<link>http://www.ppshein.net/index.cfm/2010/1/30/automatically-choose-stylesheet-file-with-users-browser</link>
				<description>
				
				As being web-developer, we need to consider our websites must be compatible with every browsers. When I was lack of experiences in Web Developement, some of my websites are ok with only Internet Explorer. In firefox or Opera, the structure of my websites are distortion and awful. That&apos;s why I need to do all of my site to be compatible with all browsers whenever I start creating. And, need to do our site can choose appropriate stylesheet up to users&apos; browser. Because we cannot do only one stylesheet file can be compatible to every browser. Here is coding:

 
&lt;code&gt;
&lt;!--- (For Internet Browser) ---&gt;
&lt;!--[if IE]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie_styles.css&quot;&gt;
&lt;![endif]--&gt;
(For Chrome, firefox so on)
&lt;!--&lt;![if !IE]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ff_styles.css&quot;&gt;
&lt;![endif]&gt;--&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>Stylesheet</category>
				
				<pubDate>Sat, 30 Jan 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/1/30/automatically-choose-stylesheet-file-with-users-browser</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Transparent PNG Image in Internet Explorer</title>
				<link>http://www.ppshein.net/index.cfm/2010/1/20/transparent-png-image-in-internet-explorer</link>
				<description>
				
				Some designers might say PNG image type is the best in Web Development. Because it has good resolution, less file size and so on than JPEG. But it&apos;s a problem that its background cannot be transparent in Internet Explorer like Gif format. And, we cannot do it can be transparent with CSS coding. But, don&apos;t worry. I can point out how to make PNG image background to be transparent in Internet Explorer.

&lt;span style=&quot;color:#0000ff;&quot;&gt;iepngfix.htc&lt;/span&gt;
&lt;code&gt;&lt;public:component&gt;
&lt;public:attach event=&quot;onpropertychange&quot; onevent=&quot;doFix()&quot; /&gt;
&lt;invalidTag type=&quot;text/javascript&quot;&gt;
// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com
// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
// This must be a path to a blank image. That&apos;s all the configuration you need.
if (typeof blankImg == &apos;undefined&apos;) var blankImg = &apos;[root]/blank.gif&apos;;
var f = &apos;DXImageTransform.Microsoft.AlphaImageLoader&apos;;
function filt(s, m)
{
 if (filters[f])
 {
  filters[f].enabled = s ? true : false;
  if (s) with (filters[f]) { src = s; sizingMethod = m }
 }
 else if (s) style.filter = &apos;progid:&apos;+f+&apos;(src=&quot;&apos;+s+&apos;&quot;,sizingMethod=&quot;&apos;+m+&apos;&quot;)&apos;;
}
function doFix()
{
 // Assume IE7 is OK.
 if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
  (event &amp;amp;&amp;amp; !/(background|src)/.test(event.propertyName))) return;
 var bgImg = currentStyle.backgroundImage || style.backgroundImage;
 if (tagName == &apos;IMG&apos;)
 {
  if ((/\.png$/i).test(src))
  {
   if (currentStyle.width == &apos;auto&apos; &amp;amp;&amp;amp; currentStyle.height == &apos;auto&apos;)
    style.width = offsetWidth + &apos;px&apos;;
   filt(src, &apos;scale&apos;);
   src = blankImg;
  }
  else if (src.indexOf(blankImg) &lt; 0) filt();
 }
 else if (bgImg &amp;amp;&amp;amp; bgImg != &apos;none&apos;)
 {
  if (bgImg.match(/^url[(&quot;&apos;]+(.*\.png)[)&quot;&apos;]+$/i))
  {
   var s = RegExp.$1;
   if (currentStyle.width == &apos;auto&apos; &amp;amp;&amp;amp; currentStyle.height == &apos;auto&apos;)
    style.width = offsetWidth + &apos;px&apos;;
   style.backgroundImage = &apos;none&apos;;
   filt(s, &apos;crop&apos;);
   // IE link fix.
   for (var n = 0; n &lt; childNodes.length; n++)
    if (childNodes[n].style) childNodes[n].style.position = &apos;relative&apos;;
  }
  else filt();
 }
}
doFix();
&lt;/script&gt;
&lt;/public:component&gt;

 &lt;/code&gt;
And, you must put blank.gif image into your root. To include above file in &lt;span style=&quot;color:#0000ff;&quot;&gt;stylesheet.css&lt;/span&gt; like that :
&lt;code&gt;span#logo img {behavior: url(&quot;iepngfix.htc&quot;);}

 &lt;/code&gt;
How.?? It&apos;s easy, isn&apos;t it?
				
				</description>
				
				
				<category>jQuery</category>
				
				<category>Javascript</category>
				
				<category>Stylesheet</category>
				
				<pubDate>Wed, 20 Jan 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/1/20/transparent-png-image-in-internet-explorer</guid>
				
				
			</item>
			
		 	
			</channel></rss>