<?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>Bogdan Lungu &#187; Xhtml/CSS</title>
	<atom:link href="http://www.bogdan-net.com/archives/category/xhtml-css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bogdan-net.com</link>
	<description>Internet and Web Development</description>
	<lastBuildDate>Sun, 06 Sep 2009 16:37:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Merry Christmas and Happy Holidays</title>
		<link>http://www.bogdan-net.com/archives/37</link>
		<comments>http://www.bogdan-net.com/archives/37#comments</comments>
		<pubDate>Mon, 24 Dec 2007 20:36:13 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/37</guid>
		<description><![CDATA[Holidays are here, a moment of joy and good time for all of us in the middle of friends and family. I wish Happy Holidays and Merry Christmas to everyone and if this will be the last post of this year, I also say: Happy New Year!
]]></description>
			<content:encoded><![CDATA[<p>Holidays are here, a moment of joy and good time for all of us in the middle of friends and family. I wish Happy Holidays and Merry Christmas to everyone and if this will be the last post of this year, I also say: Happy New Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valid XHTML 1.0 Strict pages with flash on them</title>
		<link>http://www.bogdan-net.com/archives/33</link>
		<comments>http://www.bogdan-net.com/archives/33#comments</comments>
		<pubDate>Mon, 16 Jul 2007 20:31:56 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/33</guid>
		<description><![CDATA[Everyone knows there is a problem in having a valid XHTML 1.0 strict page when you want to use some flash on it. In another post I described how this can be done but unfortunately that thing wasn't complying with the XHTML 1.0 strict instead was fine for the pages validating using the Transitional Standard [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone knows there is a problem in having a valid XHTML 1.0 strict page when you want to use some flash on it. In <a href="http://www.bogdan-net.com/archives/8">another post</a> I described how this can be done but unfortunately that thing wasn't complying with the XHTML 1.0 strict instead was fine for the pages validating using the Transitional Standard of W3C XHTML specifications.<br />
Now I came back on this subject with a solution that fix the "Strict" problem, for this I appealed to a little help from Javascript using the getElemementById method.<br />
To insert a flash code in a web page according to the adobe specification you have to use a code almost similar with this one:</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;object classid=<span style="color:#CC0000;">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"</span> codebase=<span style="color:#CC0000;">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"</span> width=<span style="color:#CC0000;">"590"</span> height=<span style="color:#CC0000;">"400"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;param name=<span style="color:#CC0000;">"movie"</span> value=<span style="color:#CC0000;">"swf/flash.swf"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;param name=<span style="color:#CC0000;">"quality"</span> value=<span style="color:#CC0000;">"high"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;embed src=<span style="color:#CC0000;">"swf/flash.swf"</span> quality=<span style="color:#CC0000;">"high"</span> pluginspage=<span style="color:#CC0000;">"http://www.macromedia.com/go/getflashplayer"</span> type=<span style="color:#CC0000;">"application/x-shockwave-flash"</span> width=<span style="color:#CC0000;">"590"</span> height=<span style="color:#CC0000;">"400"</span>&gt;&lt;/embed&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &lt;/object&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Above code will insert an flash movie with the width of 590 and the height of 400, the flash movie is called flash.swf and it is situated in the swf directory. This code will cause some errors (I will not tell you here which) and the page fails to validate.<br />
My method is to remove all the flash code from the page and to insert it using a small external javascript file.<br />
The javascript file we will call it flash.js and place it in the /js directory inside the site root and should have the following content: </p>
<div class="igBar"><span id="lcode-5"><a href="#" onclick="javascript:showCodeTxt('code-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-5">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">function flash<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">document.<span style="">getElementById</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">'flash'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="">innerHTML</span> = <span style="color:#CC0000;">"&lt;object width=<span style="color:#000099; font-weight:bold;">\"</span>590<span style="color:#000099; font-weight:bold;">\"</span> height=<span style="color:#000099; font-weight:bold;">\"</span>400<span style="color:#000099; font-weight:bold;">\"</span> codebase=<span style="color:#000099; font-weight:bold;">\"</span>http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0<span style="color:#000099; font-weight:bold;">\"</span> classid=<span style="color:#000099; font-weight:bold;">\"</span>clsid:D27CDB6E-AE6D-11cf-96B8-444553540000<span style="color:#000099; font-weight:bold;">\"</span>&gt;&lt;param value=<span style="color:#000099; font-weight:bold;">\"</span>swf/flash.swf<span style="color:#000099; font-weight:bold;">\"</span> name=<span style="color:#000099; font-weight:bold;">\"</span>movie<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;param value=<span style="color:#000099; font-weight:bold;">\"</span>high<span style="color:#000099; font-weight:bold;">\"</span> name=<span style="color:#000099; font-weight:bold;">\"</span>quality<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;embed width=<span style="color:#000099; font-weight:bold;">\"</span>590<span style="color:#000099; font-weight:bold;">\"</span> height=<span style="color:#000099; font-weight:bold;">\"</span>400<span style="color:#000099; font-weight:bold;">\"</span> type=<span style="color:#000099; font-weight:bold;">\"</span>application/x-shockwave-flash<span style="color:#000099; font-weight:bold;">\"</span> pluginspage=<span style="color:#000099; font-weight:bold;">\"</span>http://www.macromedia.com/go/getflashplayer<span style="color:#000099; font-weight:bold;">\"</span> quality=<span style="color:#000099; font-weight:bold;">\"</span>high<span style="color:#000099; font-weight:bold;">\"</span> src=<span style="color:#000099; font-weight:bold;">\"</span>swf/flash.swf<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;/object&gt;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Be careful to write all this code on a single line because it is a string and a string in javascript can't be stretched on multiple lines.  As you see we are using the document.getElementById('flash').innerHTML method to write some content on a div with the id flash. The page should have the following code:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showCodeTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#CC0000;">"-//W3C//DTD XHTML 1.0 Strict//EN"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;html&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;head&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;title&gt;Insert valid Flash in XHML <span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">0</span> Strict&lt;/title&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script type=<span style="color:#CC0000;">"text/javascript"</span> src=<span style="color:#CC0000;">"js/flash.js"</span>&gt;&nbsp; &nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;style type=<span style="color:#CC0000;">"text/css"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#flash <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">width: 590px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height: 400px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">background-color: #777;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/style&gt; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/head&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;body onload=<span style="color:#CC0000;">"flash()"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;h1&gt;Insert flash animation using javascript&lt;/h1&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#CC0000;">"flash"</span>&gt;&lt;/div&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/body&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/html&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p> <br />
The result will  display a valid page with a flash on it. As you see we include the javascript external file and we load the flash() function from it using the body event onload. The flash code is not displayed and everything we have at View source is the empty div.<br />
That's all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/33/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Very common DTDs</title>
		<link>http://www.bogdan-net.com/archives/27</link>
		<comments>http://www.bogdan-net.com/archives/27#comments</comments>
		<pubDate>Sat, 05 May 2007 17:42:39 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/27</guid>
		<description><![CDATA[Despite writing a good valid code and a valid CSS for your webpage, if you don’t specify the right DOCTYPE or you won’t specify it at all meaning that your page will be rendered in quirks mode and it can behave strange displaying visual errors that can be very unpredictable damaging your layout.
Bellow is a [...]]]></description>
			<content:encoded><![CDATA[<p>Despite writing a good valid code and a valid CSS for your webpage, if you don’t specify the right DOCTYPE or you won’t specify it at all meaning that your page will be rendered in quirks mode and it can behave strange displaying visual errors that can be very unpredictable damaging your layout.<br />
Bellow is a list with the most common DTDs  I in my developing process respectively for HTML 4.01, XHTML 1.0 Transitional, XHTML 1.0 Strict.</p>
<div class="igBar"><span id="lphp-8"><a href="#" onclick="javascript:showCodeTxt('php-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-8">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE HTML PUBLIC <span style="color:#FF0000;">"-//W3C//DTD HTML 4.01//EN"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF0000;">"http://www.w3.org/TR/html4/strict.dtd"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#FF0000;">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#FF0000;">"-//W3C//DTD XHTML 1.0 Strict//EN"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</span>&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/27/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XHTML 1.o Specifications</title>
		<link>http://www.bogdan-net.com/archives/11</link>
		<comments>http://www.bogdan-net.com/archives/11#comments</comments>
		<pubDate>Wed, 07 Feb 2007 20:30:14 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/11</guid>
		<description><![CDATA[For those who are working with the XHTML 1.0 here are the full specification list of this markup language, with the W3C recommendations from January 2000 revised in August 2002.  You can find content like :
Normative Definition of XHTML 1.0
Differences with HTML 4
Compatibility Issues
DTDs
Element Prohibitions
HTML Compatibility Guidelines
and other useful things.
]]></description>
			<content:encoded><![CDATA[<p>For those who are working with the <a href="http://www.w3.org/TR/xhtml1/" target="_blank">XHTML 1.0 here</a> are the full specification list of this markup language, with the W3C recommendations from January 2000 revised in August 2002.  You can find content like :<br />
Normative Definition of XHTML 1.0<br />
Differences with HTML 4<br />
Compatibility Issues<br />
DTDs<br />
Element Prohibitions<br />
HTML Compatibility Guidelines<br />
and other useful things.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/11/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great resources for CSS</title>
		<link>http://www.bogdan-net.com/archives/10</link>
		<comments>http://www.bogdan-net.com/archives/10#comments</comments>
		<pubDate>Fri, 02 Feb 2007 23:43:35 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/10</guid>
		<description><![CDATA[css-discuss.incutio.com it is a great resource for CSS, it is divided in areas like browsers testing, editors of css, css concepts, example of layouts, switching (about rendering mode), hacks, sizing text, sizing images, and a lot more of tricks very useful for a professional web developer.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://css-discuss.incutio.com/" target="_blank">css-discuss.incutio.com</a> it is a great resource for CSS, it is divided in areas like browsers testing, editors of css, css concepts, example of layouts, switching (about rendering mode), hacks, sizing text, sizing images, and a lot more of tricks very useful for a professional web developer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using float model in CSS</title>
		<link>http://www.bogdan-net.com/archives/9</link>
		<comments>http://www.bogdan-net.com/archives/9#comments</comments>
		<pubDate>Tue, 30 Jan 2007 18:52:30 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/9</guid>
		<description><![CDATA[Here you can find a good article about the power of float model in CSS construction. This property it's a very important in solving non-tables layouts.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.complexspiral.com/publications/containing-floats/" target="_blank">Here</a> you can find a good article about the power of float model in CSS construction. This property it's a very important in solving non-tables layouts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valid XHTML when inserting flash code</title>
		<link>http://www.bogdan-net.com/archives/8</link>
		<comments>http://www.bogdan-net.com/archives/8#comments</comments>
		<pubDate>Sat, 27 Jan 2007 08:51:15 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/8</guid>
		<description><![CDATA[Even if flash is very used on web pages  a lot of web developers still don't know a correct way to insert a  .swf movie into a website. There are different ways for different browsers, the &#60;object&#62; element with it's attributes is used for Internet Explorer needs, instead other browsers (like Firefox for [...]]]></description>
			<content:encoded><![CDATA[<p>Even if flash is very used on web pages  a lot of web developers still don't know a correct way to insert a  .swf movie into a website. There are different ways for different browsers, the &lt;object&gt; element with it's attributes is used for Internet Explorer needs, instead other browsers (like Firefox for example) recognize only the &lt;embed&gt; element. The problem is that this element isn't listed in HTML or XHTML specifications, soo the code is not valid.<br />
To solve this problem I'm using this code which is working in both most important browsers Internet Explorer and Firefox:</p>
<div class="igBar"><span id="lhtml-10"><a href="#" onclick="javascript:showCodeTxt('html-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-10">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">&lt;object</span></a> <span style="color: #000066;">data</span>=<span style="color: #ff0000;">"path_to_flash"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"application/x-shockwave-flash"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"557"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"127"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">&lt;param</span></a> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"MOVIE"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"path_to_flash"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/param&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/object&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Using this method, now you can easily insert flash content in your site without concerning that the final source will not be valid, this works fine for HTML and even XHTML 1.0 Strict .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/8/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Good way to replace table based menus</title>
		<link>http://www.bogdan-net.com/archives/7</link>
		<comments>http://www.bogdan-net.com/archives/7#comments</comments>
		<pubDate>Wed, 24 Jan 2007 18:41:52 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
				<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/7</guid>
		<description><![CDATA[A heavy-table menu navigation can be replaced successfully by an unordered list formatted from css. With a little help of Javascript nested unordered lists can be quickly converted into drop-down menus. “Son of Suckerfish” (SoS) menu script, that you can find it here http://www.htmldog.com/articles/suckerfish/dropdowns/ is developed by Patrick Griffiths and Dan Webb. This is a [...]]]></description>
			<content:encoded><![CDATA[<p>A heavy-table menu navigation can be replaced successfully by an unordered list formatted from css. With a little help of Javascript nested unordered lists can be quickly converted into drop-down menus. “Son of Suckerfish” (SoS) menu script, that you can find it here <a href="http://www.htmldog.com/articles/suckerfish/dropdowns/" target="_blank">http://www.htmldog.com/articles/suckerfish/dropdowns/</a> is developed by Patrick Griffiths and Dan Webb. This is a very good example how good can JavaScript and CSS work togheter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
