<?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>Emz Design &#187; CSS</title>
	<atom:link href="http://www.emzdesign.co.uk/category/web-design/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emzdesign.co.uk</link>
	<description>The ramblings of a web girl</description>
	<lastBuildDate>Mon, 08 Feb 2010 10:50:33 +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>Dropdown Problem with Firefox</title>
		<link>http://www.emzdesign.co.uk/2008/08/29/dropdown-problem-with-firefox/</link>
		<comments>http://www.emzdesign.co.uk/2008/08/29/dropdown-problem-with-firefox/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 14:05:59 +0000</pubDate>
		<dc:creator>Emma Selley</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.emzdesign.co.uk/?p=62</guid>
		<description><![CDATA[<strong>The Problem</strong>

Yesterday I came accross a slight problem when adding a Dropdown Menu to a site. 

I had 3 divs - one to the left, one to the middle, and one to the right. 

The left and middle div both had <code>float:left</code> in their style, while the right div had <code>float: right</code> to its style.

I tested the site and all looked great... until I added a Dropdown Menu to the middle div and Firefox starts playing up.

Basically, what Firefox did was keep the right div floating to the right, but underneath the middle div. This wasn't what I wanted at all, and after about half an hour of fiddling with the code I managed to fix it.]]></description>
			<content:encoded><![CDATA[<p><strong>The Problem</strong></p>
<p>Yesterday I came accross a slight problem when adding a Dropdown Menu to a site. </p>
<p>I had 3 divs &#8211; one to the left, one to the middle, and one to the right. </p>
<p>The left and middle div both had <code>float:left</code> in their style, while the right div had <code>float: right</code> to its style.</p>
<p>I tested the site and all looked great&#8230; until I added a Dropdown Menu to the middle div and Firefox starts playing up.</p>
<p>Basically, what Firefox did was keep the right div floating to the right, but underneath the middle div. This wasn&#8217;t what I wanted at all, and after about half an hour of fiddling with the code I managed to fix it.</p>
<p><strong>The Solution</strong></p>
<p>All I did was cut the right div out of the code and placed it before the middle div. It still had the same style attributes, all that was needed was a quick swap. And hey presto! It worked!</p>
<p><strong>The CSS</strong><br />
<code><br />
#left {float: left;}<br />
#middle {float: left;}<br />
#right {float: right;}</code></p>
<p><strong>The HTML</strong></p>
<p>Change this: </p>
<p><code>&lt;div id="left"&gt;Left Content&lt;/div&gt;<br />
&lt;div id="middle"&gt;Middle Content&lt;/div&gt;<br />
&lt;div id="right"&gt;Right Content&lt;/div&gt;</code></p>
<p>To this:</p>
<p><code>&lt;div id="left"&gt;Left Content&lt;/div&gt;<br />
&lt;div id="right"&gt;Right Content&lt;/div&gt;<br />
&lt;div id="middle"&gt;Middle Content&lt;/div&gt;</code></p>
 <div class='series_toc' style="font-size: 13px; margin-bottom: 25px;"><h2><a href="#" rel="bookmark">Related Posts</a></h2>

<a href='http://www.emzdesign.co.uk/2008/04/11/how-to-generate-cutomers-from-website/' title='Generating Customers via Your Website'>Generating Customers via Your Website</a> <br /> <a href='http://www.emzdesign.co.uk/2008/04/07/php-contact-form/' title='Create a Simple PHP Contact Form'>Create a Simple PHP Contact Form</a> <br /> <a href='http://www.emzdesign.co.uk/2008/04/08/center-website-css/' title='Centering Your Website Using CSS'>Centering Your Website Using CSS</a> <br /> <a href='http://www.emzdesign.co.uk/2008/06/09/link-building-correctly/' title='How you should be Link Building'>How you should be Link Building</a> <br /> <a href='http://www.emzdesign.co.uk/2008/08/29/dropdown-problem-with-firefox/' title='Dropdown Problem with Firefox'>Dropdown Problem with Firefox</a> <br /><a href='http://www.emzdesign.co.uk/2008/09/04/upgrading-wordpress/' title='Upgrading Wordpress Plugin'>Upgrading Wordpress Plugin</a> <br /> </div> ]]></content:encoded>
			<wfw:commentRss>http://www.emzdesign.co.uk/2008/08/29/dropdown-problem-with-firefox/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
