<?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>Ask me Questions and get Answers ! &#187; CSS</title>
	<atom:link href="http://askmetoo.com/category/internet/web-development/css/feed" rel="self" type="application/rss+xml" />
	<link>http://askmetoo.com</link>
	<description>Ask Questions and get Answers About everything for free!</description>
	<lastBuildDate>Wed, 21 Dec 2011 08:04:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>IE7 CSS Hacks</title>
		<link>http://askmetoo.com/ie7-css-hacks.htm</link>
		<comments>http://askmetoo.com/ie7-css-hacks.htm#comments</comments>
		<pubDate>Mon, 20 Jun 2011 09:45:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=229</guid>
		<description><![CDATA[#mm .rollOver { height: 165px; /* IE 6 &#038; bellow */ } html>body #mm .rollOver { height: 163px; /* FF &#038; Others */ } *:first-child+html #mm .rollOver { height: 165px !important; /* #%@#%(! IE 7 */ } p.style { color:red; } /* IE7 */ * html p.style { color:blue; } /* Other IE */ *&#124;html [...]]]></description>
			<content:encoded><![CDATA[<p>#mm .rollOver {<br />
   height: 165px; /* IE 6 &#038; bellow */<br />
}<br />
html>body #mm .rollOver {<br />
   height: 163px; /* FF &#038; Others */<br />
}<br />
*:first-child+html #mm .rollOver {<br />
   height: 165px !important; /* #%@#%(! IE 7 */<br />
}<br />
p.style { color:red; } /* IE7 */<br />
* html p.style { color:blue; } /* Other IE */<br />
*|html p.style { color:pink; } /* FF, Opera, Konqueror, Safari */</p>
<p>#ie7-hook-id div[class^="target-class"] { background: #ff0000; }<br />
div#ie7-hook-id .target-class { background: #0000ff; }</p>
<p>* div[class^="ie7-target-class"] { background: #ff0000; }<br />
body .ie7-target-class { background: #0000ff; }</p>
<p>Valid CSS Selectors</p>
<p>* html {} /* IE 6 and below */<br />
*:first-child+html {} * html {} /* IE 7 and below */<br />
*:first-child+html {} /* IE 7 only */<br />
html>body {} /* IE 7 and modern browsers only */<br />
html>/**/body {} /* Modern browsers only (not IE 7) */<br />
html:first-child {} /* Recent Opera versions 9 and below */</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/ie7-css-hacks.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>position: absolute center</title>
		<link>http://askmetoo.com/position-absolute-center.htm</link>
		<comments>http://askmetoo.com/position-absolute-center.htm#comments</comments>
		<pubDate>Mon, 21 Mar 2011 15:30:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=213</guid>
		<description><![CDATA[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 &#60;div id=&#34;xyz_main&#34;&#62; &#60;div id=&#34;xyz_header&#34;&#62; Header &#60;/div&#62; &#60;div id=&#34;xyz_body&#34;&#62; Body &#60;/div&#62; &#160; &#60;div id=&#34;xyz_footer&#34;&#62; Footer &#60;/div&#62; &#60;/div&#62; #xyz_main { width: 140px; border: 1px solid #666666; text-align: left; position: absolute; top: 0px; left: 50%; margin-left: -70px; }]]></description>
			<content:encoded><![CDATA[<p><span id="more-213"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;xyz_main&quot;&gt;
    &lt;div id=&quot;xyz_header&quot;&gt; Header &lt;/div&gt;
    &lt;div id=&quot;xyz_body&quot;&gt; Body &lt;/div&gt;
&nbsp;
    &lt;div id=&quot;xyz_footer&quot;&gt; Footer &lt;/div&gt;
&lt;/div&gt;
#xyz_main {
    width: 140px;
    border: 1px solid #666666;
    text-align: left;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -70px;
}</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/position-absolute-center.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to test JavaScript in CSS?</title>
		<link>http://askmetoo.com/how-to-test-javascript-in-css.htm</link>
		<comments>http://askmetoo.com/how-to-test-javascript-in-css.htm#comments</comments>
		<pubDate>Sun, 20 Jan 2008 21:03:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://askmetoo.com/2008/01/20/how-to-test-javascript-in-css/</guid>
		<description><![CDATA[When Explorer and Opera parsing the CSS file, encounter the JavaScript and execute it. Browsers execute it only once, though, so if you&#8217;d repeat the background-image: etc for another class or id, you still see one alert only. So Lets Try this: 1 2 3 4 #Example &#123; border: 1px solid #000000; padding: 10px; background-image: url&#40;'javascript:alert(\'It works\');'&#41; or [...]]]></description>
			<content:encoded><![CDATA[<p>When Explorer and Opera parsing the CSS file,  encounter the JavaScript and execute it. Browsers execute it only once, though, so if you&#8217;d repeat the background-image: etc for another class or id, you still see one alert only.</p>
<p>So Lets Try this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#Example</span> <span style="color: #00AA00;">&#123;</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;">#000000</span><span style="color: #00AA00;">;</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>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'javascript:alert(<span style="color: #000099; font-weight: bold;">\'</span>It works<span style="color: #000099; font-weight: bold;">\'</span>);'</span><span style="color: #00AA00;">&#41;</span></pre></td></tr></table></div>

<p><code>or</code></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'javascript:alert('</span>It works<span style="color: #ff0000;">');'</span><span style="color: #00AA00;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/how-to-test-javascript-in-css.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

