<?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>birghtyoursite &#187; css xhtml</title>
	<atom:link href="http://www.brightyoursite.com/blog/tag/css-xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightyoursite.com/blog</link>
	<description>Bright your site</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:39:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>nice web font with google font api</title>
		<link>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/#comments</comments>
		<pubDate>Fri, 28 May 2010 11:25:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[SEO Friendly]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[w3c valid]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=415</guid>
		<description><![CDATA[Are you still use flash and images for the art font in your web? if so you should know the magic of Google Font Directory and Google Font API , you can use all the font in the Google Font Directory , also it&#8217;s very easy to install. What&#8217;s google font api Google Font API [...]]]></description>
			<content:encoded><![CDATA[<p>Are you still use flash and  images for the art font in your web? if so you should know the magic of  <a href="http://code.google.com/webfonts" title="Google Font Directory">Google Font Directory</a> and <a href="http://code.google.com/apis/webfonts/" title="Google Font API">Google Font API</a> , you can use all the font in the Google Font Directory , also it&#8217;s very easy to install.<span id="more-415"></span></p>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine|Droid+Serif:bold">
<h3>What&#8217;s  google font api</h3>
<p>
 Google Font API helps you add  Google Font Directory web fonts to any web page.It provide  high quality open source fonts,works in most browsers,also as other gooles services it&#8217;s very  easy to use.
</p>
<h3>Add google font api to your site</h3>
<p>
First,you need add the google font css,for instance:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

<p>this import the Tangerine font style,but if you want to use multiple fonts,for example you need add 1 more font  Inconsolata,the  css link should be</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine|Inconsolata&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

<p>then you need apply the css style to the element you want</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">CSS selector <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Font Name'</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>or use a inline css</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family: 'Font Name', serif;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Your text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>let&#8217;s see a live sample</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
/* add this in the header*/
&nbsp;
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family: 'Tangerine', serif;font-size:36px&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Making the Web font  looks nice!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
/* add this in the body */</pre></div></div>

<p>result is:</p>
<h1 style="font-family: 'Tangerine', serif;font-size:36px">Making the Web font  looks nice!</h1>
<p>this sentence is  ordinary text, so it will not effect the other style (like color,text-shadow&#8230;.) you add for this sentence .
</p>
<h3>Complex sample</h3>
<p>
I think you may love it now,let&#8217;s see what&#8217;s more the  google font api can do?The google font api provide more options for the font style, like italic or bold,here is the rules<br />
&quot;<br />
To request multiple font families, separate the names with a pipe character (|).<br />
the regular version of the requested fonts by default. To request other styles or weights, append a colon (:) to the name of the font, followed by a list of styles or weights separated by commas (,)<br />
 &quot;<br />
also   for weights, you can alternatively specify a numerical weight; for example</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">http://fonts.googleapis.com/css?family=Cantarell:italic|Droid+Serif:bold|Tangerine:700</pre></div></div>

<p>this means load Cantarell italic font ,Droid+Serif blod font and  Tangerine font with font weight 700.<br />
the live sample</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h3</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot; font-size:30px &quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Enjoyed it,Happy reading!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h3</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family:'Droid Serif';font-size:30px &quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Enjoyed it,Happy reading!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h3 style=" font-size:30px ">Enjoyed it,Happy reading!</h3>
<h3 style="font-family:'Droid Serif';font-size:30px ">Enjoyed it,Happy reading!</h3></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make IE8 Display in IE7 Compatibility Mode</title>
		<link>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:19:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml css]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=380</guid>
		<description><![CDATA[Browser compatibility is realy pain for css coders,this is a quickly to fix the the pages have problems IE8 while looks good in IE7,just following line in the tag on the page, &#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&#62; but some one failed while others success,why? the key of use &#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&#62; The key of use [...]]]></description>
			<content:encoded><![CDATA[<p>
 Browser compatibility is realy pain for css coders,this is a quickly to fix the the pages have problems IE8 while looks good in IE7,just following line in the <head> tag on the page,<br />
&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;<br />
but some one failed while  others success,why?
</p>
<p><span id="more-380"></span></p>
<h3>the key of use  &lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;</h3>
<p>
The key of use this  &lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;   is add this tag before all the css  &lt;link href=&#8221;xxx.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&gt; so the  IE8 browser can know <img src='http://www.brightyoursite.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> h, i need display this page in IE7 Compatibility Mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>awesome jquery slide menu</title>
		<link>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/</link>
		<comments>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 03:37:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery slider]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/</guid>
		<description><![CDATA[Add some lines of javascript codes to your page, you will see it&#8217;s magic: It make your normal menu looks more elegant. Have a try , you will see the fascination of animate menu .let&#8217;s go&#8230; Online demo Nothing better than a demo:awesome jquery slide menu Add to your site First,download the source file and [...]]]></description>
			<content:encoded><![CDATA[<p>Add some lines of javascript codes to your page, you will see it&#8217;s magic: It make your normal menu looks more elegant. Have a try , you will see the fascination of animate menu .let&#8217;s go&#8230;<br />
<span id="more-345"></span></p>
<h3>Online demo</h3>
<p>
 Nothing better than a demo:<a target='_blank' href='http://www.brightyoursite.com/demo/jquery/slidemenu/index.html' rel='nofollow'>awesome jquery slide menu</a>
</p>
<h3>Add to your site</h3>
<p>
First,download the source file and upload to js ,css , images to your site root folder , and then add following codes between &lt;head&gt; and &lt;/head&gt;</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;jquery-latest.pack.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;slide.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>  
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;style.css&quot;</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>HTML codes</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;menu&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;menu&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Home<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>HTML/CSS<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>JavaScript<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Resources<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Tutorials<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>About<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>You can see it&#8217;s no difference with your normal menu.So the only thing you need to do is adjust your css file, add extra style to the slide menu .</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/** style need add for slide menu **/</span>	
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span <span style="color: #00AA00;">&#123;</span> 
			<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">110px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span<span style="color: #6666ff;">.out</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span.over<span style="color: #00AA00;">,</span>
		<span style="color: #6666ff;">.menu</span> ul li a span<span style="color: #6666ff;">.bg</span> <span style="color: #00AA00;">&#123;</span>  
			<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-45px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #808080; font-style: italic;">/** image background **/</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_menu.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-1px</span> <span style="color: #993333;">repeat-x</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li span<span style="color: #6666ff;">.bg</span> <span style="color: #00AA00;">&#123;</span> 
			<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_over.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">center</span> <span style="color: #993333;">center</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #808080; font-style: italic;">/** color background **/</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#45A8DF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> ul li a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> ul li a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#A6DD00</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav1</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fea274</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav2</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#b0bbba</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav3</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#a3f091</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav4</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#86dbf9</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav5</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#e0caf0</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav6</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#9dace9</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>You can Reference the  style.css in the download files to adjust your own css.so if you understand css well, it&#8217;s easy to create one of yours.Good luck!!
</p>
<h3>Download</h3>
<p>
<a href='http://www.brightyoursite.com/demo/jquery/slidemenu/slidemenu.zip' rel='nofollow'>awesome jquery slide menu &amp; source codes</a><br />
Enjoy it !!!
</p>
<p>
Reference :<a rel='nofollow' href='http://www.cnblogs.com/wiky/archive/2010/04/15/animated-menu-0415.html'>http://www.cnblogs.com/wiky/archive/2010/04/15/animated-menu-0415.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css hacks for chrome firefox ie6 ie7 ie8</title>
		<link>http://www.brightyoursite.com/blog/2010/01/15/css-hacks-for-chrome-firefox-ie6-ie7-ie8/</link>
		<comments>http://www.brightyoursite.com/blog/2010/01/15/css-hacks-for-chrome-firefox-ie6-ie7-ie8/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 07:50:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[w3c valid]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=122</guid>
		<description><![CDATA[When coding cross-browsers css xhtml layout,sometimes we may meet some pain css problem and cost much time . Fortunately, there are some css hacks for us : /*---google chrome hack---*/ &#160; @media screen and (-webkit-min-device-pixel-ratio:0) { /*----css codes for google chrome------ #sboxes li h2 { font-size:17px; padding-left:7px; } */ &#125; sometimes , only ie6 have [...]]]></description>
			<content:encoded><![CDATA[<p>When coding cross-browsers css xhtml layout,sometimes we may meet some pain css problem and cost much time . Fortunately, there are some css hacks for us :<br />
<span id="more-122"></span></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*---google chrome hack---*/</span>
&nbsp;
 <span style="color: #a1a100;">@media screen and (-webkit-min-device-pixel-ratio:0) {</span>
   <span style="color: #808080; font-style: italic;">/*----css codes for google chrome------
   #sboxes li h2 
    {
      font-size:17px;
     padding-left:7px; 
      }
*/</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>sometimes , only ie6 have layout problems ,so i aways use quick ie6 hack,add a &quote;_&quote;to the css,  for instance: <br/></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">  <span style="color: #cc00cc;">#content</span>
  <span style="color: #00AA00;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
    _padding<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* --- for ie6 css ----  */</span>
  <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>those above 2 hack is most used.There are some other css hacks:</p>
<p>
css hack for ie7 :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*+</span>html selector <span style="color: #00AA00;">&#123;</span> property<span style="color: #00AA00;">:</span> value<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>this hack can pass w3c validation!
</p>
<p>
css for ie6,ie7,ie8</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span> html selector <span style="color: #00AA00;">&#123;</span> property<span style="color: #00AA00;">:</span> value<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>this hack also  can pass w3c validation!
</p>
<p>
css hack for only ie8</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">property<span style="color: #00AA00;">:</span> value\<span style="color: #cc66cc;">0</span></pre></div></div>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/01/15/css-hacks-for-chrome-firefox-ie6-ie7-ie8/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

