<?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>altrugon.com &#187; CSS</title>
	<atom:link href="http://www.altrugon.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.altrugon.com</link>
	<description>El blog de altrugon</description>
	<lastBuildDate>Fri, 10 Dec 2010 22:15:44 +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>Hide Text from Submit button with CSS</title>
		<link>http://www.altrugon.com/css/hide-text-from-submit-button-with-cssocultar-texto-del-boton-submit-con-css/</link>
		<comments>http://www.altrugon.com/css/hide-text-from-submit-button-with-cssocultar-texto-del-boton-submit-con-css/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 16:22:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hide button value]]></category>
		<category><![CDATA[IE6 hide text submit]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/?p=306</guid>
		<description><![CDATA[Here is the solution of how to get rid of your submit button&#8217;s text with CSS and not only that, we also are going to replace the entire button with an image. You are not going to believe the hack that I had to used to make it work in IE6&#8230; seriously, when the hell [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the solution of how to get rid of your submit button&#8217;s text with CSS and not only that, we also are going to replace the entire button with an image.</p>
<p>You are not going to believe the hack that I had to used to make it work in IE6&#8230; seriously, when the hell is this browser going to die? Another nightmare of morning thanks to it.<br />
<span id="more-306"></span></p>
<h3>The HTML Code</h3>
<pre><code>&lt;input type="submit" class="form-submit" value="Search" id="edit-submit" name="op"/&gt;</code></pre>
<h3>The CSS Code</h3>
<pre><code>#edit-submit {
  width: 25px;
  height: 25px;
  text-indent: -9999px;
  background: url(../images/icon-search-25x25.gif) left top no-repeat; /* path to your image */
  border: none;
  margin: 0 0 0 10px;
  padding: 0;
  color: transparent;
  text-transform: capitalize;  /* This is the IE hack <img src='http://www.altrugon.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  */
}
</code></pre>
<p>Yes, I know it seems ridiculous use a text-transform property to make the text disappear, but we are talking about IE6. </p>
<p>Enjoy and convince your clients to stop using IE6. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/hide-text-from-submit-button-with-cssocultar-texto-del-boton-submit-con-css/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>4095 CSS selectors</title>
		<link>http://www.altrugon.com/css/4095-css-selectors/</link>
		<comments>http://www.altrugon.com/css/4095-css-selectors/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 19:37:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[4095 css selectors]]></category>
		<category><![CDATA[ie css selectors limit]]></category>
		<category><![CDATA[ie limite css]]></category>
		<category><![CDATA[ie limite selectores]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/?p=297</guid>
		<description><![CDATA[You may don&#8217;t know but the entire family of IE browser has a limit for the amount of CSS selectors to be swallowed; and when I say entire I mean IE6, IE7, and IE8. Yes you read right, the &#8220;fabulous&#8221; new IE8 still is carrying that limitation. Long story short is that IE stops reading [...]]]></description>
			<content:encoded><![CDATA[<p>You may don&#8217;t know but the entire family of IE browser has a limit for the amount of CSS selectors to be swallowed; and when I say entire I mean IE6, IE7, and IE8.</p>
<p>Yes you read right, the &#8220;fabulous&#8221; new IE8 still is carrying that limitation.</p>
<p>Long story short is that IE stops reading selectors after 4095 ignoring the rest of your CSS code, however this is not happening in other browsers.</p>
<p>You may think this is a big number (I did too) but you will be surprise to see how easily the selectors growth when you are working with a CMS and a big big site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/4095-css-selectors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google CSS error</title>
		<link>http://www.altrugon.com/css/google-css-error/</link>
		<comments>http://www.altrugon.com/css/google-css-error/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 18:52:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Trivialities]]></category>
		<category><![CDATA[google css error]]></category>
		<category><![CDATA[google is not perfect]]></category>
		<category><![CDATA[google no es perfecto]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/?p=287</guid>
		<description><![CDATA[CSS is not an easy world and even Google make their errors. I took this screen-shot today (20/03/2009), don&#8217;t you think those buttons are to close to the input box? Nobody is perfect]]></description>
			<content:encoded><![CDATA[<p>CSS is not an easy world and even Google make their errors.</p>
<p>I took this screen-shot today (20/03/2009), don&#8217;t you think those buttons are to close to the input box?</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-288" style="border: 1px solid #686868;" title="google_css_error" src="http://www.altrugon.com/wp-content/uploads/2009/03/google_css_error.png" alt="google_css_error" width="535" height="275" /></p>
<p>Nobody is perfect <img src='http://www.altrugon.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/google-css-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Safari&#8217;s input focus outer glow</title>
		<link>http://www.altrugon.com/css/remove-safaris-input-focus-outer-glowquitar-el-border-azul-de-los-inputs-en-safari/</link>
		<comments>http://www.altrugon.com/css/remove-safaris-input-focus-outer-glowquitar-el-border-azul-de-los-inputs-en-safari/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:56:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[blue border safari]]></category>
		<category><![CDATA[desactivar borde]]></category>
		<category><![CDATA[hide glow]]></category>
		<category><![CDATA[input glow]]></category>
		<category><![CDATA[outer glow safari]]></category>
		<category><![CDATA[quitar borde input]]></category>
		<category><![CDATA[remove glow]]></category>
		<category><![CDATA[safari form]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/?p=237</guid>
		<description><![CDATA[It&#8217;s actually quiet easy to remove that outer glow when you focus an input element on Safari, a simple outline: none in your CSS code is all that you need. Check the following examples and screen captures to see how it works: Regular form with the blue outer glow &#60;form&#62; &#60;input type="text" name="test" id="test" size="20" [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s actually quiet easy to remove that outer glow when you focus an input element on Safari, a simple <strong>outline: none</strong> in your CSS code is all that you need.</p>
<p>Check the following examples and screen captures to see how it works:<br />
<span id="more-237"></span></p>
<h3>Regular form with the blue outer glow</h3>
<p><a href="http://www.altrugon.com/wp-content/uploads/2009/02/safari-glow.png"><img class="aligncenter size-full wp-image-239" title="safari-glow" src="http://www.altrugon.com/wp-content/uploads/2009/02/safari-glow.png" alt="safari-glow" width="469" height="98" /></a></p>
<pre><code>&lt;form&gt;
  &lt;input type="text" name="test" id="test" size="20" /&gt;
  &lt;input type="submit" value="Submit" name="submit" /&gt;
&lt;/form&gt;
</code></pre>
<h3>The same form without the outer glow</h3>
<p><a href="http://www.altrugon.com/wp-content/uploads/2009/02/safari-no-glow.png"><img class="aligncenter size-full wp-image-240" title="safari-no-glow" src="http://www.altrugon.com/wp-content/uploads/2009/02/safari-no-glow.png" alt="safari-no-glow" width="470" height="96" /></a></p>
<pre><code>&lt;style media="screen"&gt;
  #test { outline: none; }
&lt;/style&gt;

....

&lt;form&gt;
  &lt;input type="text" name="test" id="test" size="20" /&gt;
  &lt;input type="submit" value="Submit" name="submit" /&gt;
&lt;/form&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/remove-safaris-input-focus-outer-glowquitar-el-border-azul-de-los-inputs-en-safari/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Firefox, hover-flow hidden, and flash</title>
		<link>http://www.altrugon.com/css/firefox-hover-flow-hidden-and-flashfirefox-hover-flow-hidden-y-flash/</link>
		<comments>http://www.altrugon.com/css/firefox-hover-flow-hidden-and-flashfirefox-hover-flow-hidden-y-flash/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 03:08:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[overflow hidden]]></category>
		<category><![CDATA[overflow:hidden]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/?p=217</guid>
		<description><![CDATA[So, you have noticed that Firefox doesn&#8217;t handle the &#8220;overflow: hidden&#8221; very well with flash elements. I know, you maybe have a fancy slideshow that is working perfect with images and other elements, but when you try to add some videos everything goes crazy . Well don&#8217;t desperate, the solution is easy. Your code right [...]]]></description>
			<content:encoded><![CDATA[<p>So, you have noticed that Firefox doesn&#8217;t handle the &#8220;overflow: hidden&#8221; very well with flash elements. I know, you maybe have a fancy slideshow that is working perfect with images and other elements, but when you try to add some videos everything goes crazy <img src='http://www.altrugon.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . Well don&#8217;t desperate, the solution is easy.<span id="more-217"></span></p>
<p>Your code right now looks something like this:</p>
<pre><code>&lt;object  width="500" height="300" ... &gt;
  &lt;param name="movie" value="matrix.swf" /&gt;
  &lt;param name="quality" value="high" /&gt;
  ...
  &lt;embed src="matrix.swf" width="500" height="300" quality="high"  ... &gt;&lt;/embed&gt;
&lt;/object&gt;</code></pre>
<p>To work around this, you only need to use the wmode=”opaque” parameter. This will give the flash movie a stacking order</p>
<pre><code>&lt;object  width="500" height="300" ... &gt;
  &lt;param name="movie" value="matrix.swf" /&gt;
  &lt;param name="quality" value="high" /&gt;
  &lt;param name="wmode" value="opaque" /&gt;
  ...
  &lt;embed src="matrix.swf" width="500" height="300" quality="high"  ... &gt;&lt;/embed&gt;
&lt;/object&gt;</code></pre>
<p>You also may use the wmode=”transparent” which not only allows us to stack elements but also makes the background of the flash movie transparent.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/firefox-hover-flow-hidden-and-flashfirefox-hover-flow-hidden-y-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox and its dots surrouding links</title>
		<link>http://www.altrugon.com/css/firefox-and-its-dots-surrouding-links/</link>
		<comments>http://www.altrugon.com/css/firefox-and-its-dots-surrouding-links/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 04:44:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.altrugon.com/wpblog/2007/03/20/firefox-and-its-dots-surrouding-links.html</guid>
		<description><![CDATA[Those dots surrounding the links in the websites have been driving me crazy. You spend hours developing a new design and after you get those ugly dots crossing your entire website. If you want to get rid of them, here is the solution: Type &#8220;about:config&#8221; in Firefox’s location bar (that big horizontal bar on top [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.altrugon.com/wp-content/uploads/2009/01/firefox-dots.jpg"><img class="alignleft size-full wp-image-197" style="margin-right: 5px" title="firefox-dots" src="http://www.altrugon.com/wp-content/uploads/2009/01/firefox-dots.jpg" alt="firefox-dots" width="200" height="71" /></a> Those dots surrounding the links in the websites have been driving me crazy. You spend hours developing a new design and after you get those ugly dots crossing your entire website.</p>
<p><span id="more-28"></span></p>
<p>If you want to get rid of them, here is the solution:</p>
<ol>
<li>Type &#8220;about:config&#8221; in Firefox’s location bar (that big horizontal bar on top where you type to go to a different website)</li>
<li>Look for the string: <strong>browser.display.focus_ring_width</strong></li>
<li>The default value is 1 (at least in my browser), change the value to 0</li>
</ol>
<p>That&#8217;s all you have to do to get rid off those dots in your browser but what happens with the rest of human beings that visit your site? Well, there is also a solution for this issue and is to add a simple line of code into your CSS file:</p>
<pre><code>a{ outline: none;}</code></pre>
<p>Easy eh? Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.altrugon.com/css/firefox-and-its-dots-surrouding-links/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

