<?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>P0L0&#039;s Blog &#187; xhtml</title>
	<atom:link href="http://p0l0.binware.org/index.php/tag/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://p0l0.binware.org</link>
	<description>Opensource Projects and IT experiences</description>
	<lastBuildDate>Sun, 30 Oct 2011 08:39:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Abrir links en nuevas ventanas en XHTML 1.0 Strict</title>
		<link>http://p0l0.binware.org/index.php/2006/09/07/abrir-links-en-nuevas-ventanas-en-xhtml-10-strict/</link>
		<comments>http://p0l0.binware.org/index.php/2006/09/07/abrir-links-en-nuevas-ventanas-en-xhtml-10-strict/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 14:48:41 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2006/09/07/abrir-links-en-nuevas-ventanas-en-xhtml-10-strict/</guid>
		<description><![CDATA[Siguiendo con los problemas de ceñirse al XHTML 1.0 Strict me he encontrado que en la etiqueta &#60;a&#62; ya no existe la propiedad target por lo tanto para abrir links en paginas nuevas es algo que se hace dificil. Pero googleando me encontre con esta solucion. function externalLinks() { if (!document.getElementsByTagName) return; var anchors = [...]]]></description>
			<content:encoded><![CDATA[<p>Siguiendo con los problemas de ceñirse al XHTML 1.0 Strict me he encontrado que en la etiqueta <strong>&lt;a&gt;</strong> ya no existe la propiedad <strong>target</strong> por lo tanto para abrir links en paginas nuevas es algo que se hace dificil. Pero googleando me encontre con esta solucion.</p>
<pre name="code" class="javascript">
function externalLinks() {
    if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName("a");
    for (var i=0; i++) {
        var anchor = anchors[i];
        if (anchor.getAttribute("href") &#038;&#038;
            anchor.getAttribute("rel") == "external")
                anchor.target = "_blank";
    }
}
window.onload = externalLinks;
</pre>
<p>Y luego lo unico que hay que hacer es usar <strong>rel=&#8221;external&#8221;</strong> en todos los links que se quieran abrir en ventanas nuevas</p>
]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2006/09/07/abrir-links-en-nuevas-ventanas-en-xhtml-10-strict/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alinear una tabla en XHTML 1.0 Strict</title>
		<link>http://p0l0.binware.org/index.php/2006/09/05/alinear-una-tabla-en-xhtml-10-strict/</link>
		<comments>http://p0l0.binware.org/index.php/2006/09/05/alinear-una-tabla-en-xhtml-10-strict/#comments</comments>
		<pubDate>Tue, 05 Sep 2006 22:05:37 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2006/09/05/alinear-una-tabla-en-xhtml-10-strict/</guid>
		<description><![CDATA[Estaba validando una web que estoy haciendo en XHTML 1.0 Strict, tal como recomiendan el estandar de W3C, pero resulta que no habia manera de centra una tabla en medio de la pantalla. Los dos metodos que conocia &#60;center&#62; &#60;table&#62; &#8230; &#60;/table&#62; &#60;/center&#62; y &#60;table align=&#8221;center&#8221;&#62; &#8230; &#60;/table&#62; no funcionan, ya que en el modo [...]]]></description>
			<content:encoded><![CDATA[<p>Estaba validando una web que estoy haciendo en XHTML 1.0 Strict, tal como recomiendan el estandar de W3C, pero resulta que no habia manera de centra una tabla en medio de la pantalla. Los dos metodos que conocia <strong>&lt;</strong><strong>center</strong><strong>&gt;</strong><strong> &lt;</strong><strong>table</strong><strong>&gt; </strong><strong>&#8230;</strong><strong> &lt;</strong><strong>/table</strong><strong>&gt; </strong><strong>&lt;</strong><strong>/center</strong><strong>&gt;</strong> y <strong>&lt;</strong><strong>table align=&#8221;center&#8221;</strong><strong>&gt; </strong><strong>&#8230;</strong><strong> &lt;</strong><strong>/table&gt;</strong> no funcionan, ya que en el modo Strict estan prohibidos, asi que googleando un poco encontre este post de <a target="_blank" title="debin.net :: how to center a table in xhtml strict" href="http://debin.net/2002/aligntable/">debin.net</a> y la mejor solucion para que funcione en MSIE y demas es usar css poniendo: <strong>table { margin-left:auto; margin-right:auto; text-align: center; }</strong> y se alinea bien.</p>
]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2006/09/05/alinear-una-tabla-en-xhtml-10-strict/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

