Monday, November 30, 2009

CDATA for IE6, IE7 and IE8... CSS files...

<!--[if lt IE 6.0000]>  
 <link href="/css/style-ie6.css" rel="stylesheet" type="text/css" />  
<![endif]-->  
<!--[if lte IE 7]>  
 <link href="/css/style-ie7.css" rel="stylesheet" type="text/css" />  
<![endif]-->    

IE png file include in styles sheet path.....

.iepng { behavior: url("js/iepngfix.htc") }

Tuesday, November 24, 2009

Learn Css Tips from...

http://www.loriswebs.com/css-tips.html

Flash Action Script for link on(release)

on(release)

{

getURL("http://www.justaccountancyjobs.com/", "_blank");

}

Friday, November 20, 2009

Favicon meta on between header tag

<link rel="shortcut icon" href="/favicon.ico" />  

Saturday, November 7, 2009

Flash Transparent (wmode="transparent")

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="650" height="490">

<param name="movie" value="hardrock_param.swf">

<param name="wmode" value="transparent">

<!--[if !IE]>-->

<object type="application/x-shockwave-flash" data="MyHRL_files/hardrock_param.swf" wmode="transparent" width="650" height="490">

<!--<![endif]-->

<a href="http://www.myhrl.com/sponsors.html">Sponsors</a><br>

<a href="http://www.myhrl.com/facebook.html">Facebook</a><br>

<a href="http://www.myhrl.com/youtube.html">Youtube</a><br>

<a href="http://www.myhrl.com/twitter.html">Twitter</a><br>

<a href="http://www.myhrl.com/myspace.html">Myspace</a><br>

Media <br>

<a href="http://www.myhrl.com/fan_club.html">Fan Club</a><br>

<a href="http://www.myhrl.com/search_engine.html">Search Engine</a><br>

Internet Radio <br>

<a href="http://www.myhrl.com/sms.html">SMS</a>

<!--[if !IE]>-->

</object>

<!--<![endif]-->

</object>

Friday, November 6, 2009

Clear Fix

html .clearFix {height:1%;}
.clearFix:after {content: ""; display: block; height: 0; clear: both; visibility: hidden;}

--------------------------------------------------------------------------------------------
.clearfix:after with pseudo-element :after, we add an extra content at the end of the div container
content: “.”; the content: a single point is enough
display: block; the generated content is converted into a block element as the css property clear can not be applied to an inline element
height: 0; its height is imposted to null to avoid visible space
clear: both; as explained before we apply the clear:both; to the generated content
visibility: hidden; the element is hidden
--------------------------------------------------------------------------------------------