<?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"
	>

<channel>
	<title>Customer Street CSS</title>
	<atom:link href="http://www.customer-street-css.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.customer-street-css.com</link>
	<description>CSS Articles and Information from Customer Street</description>
	<pubDate>Fri, 11 Apr 2008 16:27:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>XRAY For Web Developers</title>
		<link>http://www.customer-street-css.com/css-related-articles/xray-for-web-developers/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/xray-for-web-developers/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 16:27:17 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[Browser Bugs]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/?p=40</guid>
		<description><![CDATA[Long has it been a problem for developers developing sites for browsers that do not support standards in their HTML and CSS. Creating a site that is accessible, clean and well coded is a problem with this respect because of the fact that some browser bugs can only be gotten round by either using &#8216;hacks&#8217;, [...]]]></description>
			<content:encoded><![CDATA[<p>Long has it been a problem for developers developing sites for browsers that do not support standards in their HTML and CSS. Creating a site that is accessible, clean and well coded is a problem with this respect because of the fact that some browser bugs can only be gotten round by either using &#8216;hacks&#8217;, or by creating a lot of excess code that really shouldn&#8217;t need to be there. But that is the crisis the developers face everyday.</p>
<p>Another tool that I have found extremely useful recently is called <a href="http://www.westciv.com/xray/" title="XRAY For Developers">XRAY</a>. This awesome small peice of script is so basic and easy to use there is no reason why you shouldn&#8217;t have it available for your site. And the best thing is it works across ALL browsers (that I&#8217;ve tried it with so far, with the exception of Multiple IE browsers).</p>
<h3>How do I Get It?</h3>
<p>All you have to do to get the script is visit the above link and copy, or drag the shown link to your favourites bar. Then, whichever page you are looking at you can use the script on simply by clicking on the link in the favourites bar of any browser. And how does it work? I hear you say. I believe the script is basically javascript and all it does is inspect the element that you click on (much like Firebug for Firefox) giving you plenty of details about it&#8217;s name, it&#8217;s hierarchy in the document and some of the styles that have been applied to it.</p>
<p>Another good portion of this script is that it highlights the area you are &#8216;inspecting&#8217; very clearly and even shows the margin and padding applied to the area in different colours. I have found this so very useful for debugging sites in IE where extra margins and padding seem to be applied all the time! Gone are the days where you simply couldn&#8217;t see where the problem laid&#8230; with this tool you can almost certainly find and correct the problem with ease!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/xray-for-web-developers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Position: absolute - Not Always A Pain</title>
		<link>http://www.customer-street-css.com/css-related-articles/position-absolute-not-always-a-pain/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/position-absolute-not-always-a-pain/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 16:26:30 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Layouts]]></category>

		<category><![CDATA[Absolute Positionging In CSS]]></category>

		<category><![CDATA[Customer Street CSS]]></category>

		<category><![CDATA[Position Absolute]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/uncategorized/position-absolute-not-always-a-pain/</guid>
		<description><![CDATA[Since I started building more professional looking web sites I have always looked to code in as a high a quality as possible for the task at hand. This is why, until recently, I had never touched on using absolute positioning. I&#8217;d always been told that it was a pain to use and never worked [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started building more professional looking web sites I have always looked to code in as a high a quality as possible for the task at hand. This is why, until recently, I had never touched on using absolute positioning. I&#8217;d always been told that it was a pain to use and never worked properly and that all kinds of trouble could be associated with it&#8217;s use (such as when a browser window was resized all of the elements started to overlap and look horrible). For that reason it was a complete no go area for me.</p>
<p>However, more and more frequently I&#8217;m finding it a very handy aspect of style in web pages. As long as you know how to use it correctly it can create some awesome looking sites, works very well with javascript, and is relatively easy to use in a good development way.</p>
<p>One of the basic reasons I was always told not to use it is because when you absolutely position something you are taking it completely out of the document flow, which is not usually a good thing, and position attributes (such as top, and left) are values taken from the edges of the browser view pane&#8230; or are they?</p>
<h3>But wait, that is not the case!</h3>
<p>It is only the case if you are positioning elements inside a statically positioned element. To explain this a little easier we&#8217;ll use an example. Say we have an HTML document with a div that is 400 px wide, 500 pixels wide, has a 50 pixel margin from the top and is center aligned. If we stick another div in there with width 50 pixels, height 50 pixels and is absolutely positioned, the obvious happens. The small div inside our container div is taken out of the document flow and stuck right in the top-left of the users pane.</p>
<p>Now, try adding &#8216;position: relative&#8217; to the container div. What happens? The div is now contained <strong>inside</strong> it&#8217;s parent and is positioned in the top and left corner of the container! It&#8217;s that easy. When you relatively position a containing div it contrains the proportions that our relatively positioned div can use and basically says &#8216;you can only be positioned from the edges of me&#8217;. This little trick is so very useful and I find myself using it a lot for positioning of elements inside a container that can be stuck exactly where they without worrying about the size of a browser window.</p>
<p>It has also helped our team of CSS Integrators who were having trouble building some CSS Documents around a static HTML page. Some of the items had to be taken out of the document flow in order to get them to position where they should have been.</p>
<p>I&#8217;ll admit that I would always still prefer to use floats, margins and padding to get the positioning of the web pages I create correct. But for smaller items that can make full use of absolute positioning, by all means go ahead and have a play with this. It&#8217;s a amazing what you can do with it when the correct need arises!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/position-absolute-not-always-a-pain/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lightweight CSS</title>
		<link>http://www.customer-street-css.com/css-related-articles/lightweight-css/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/lightweight-css/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 09:48:51 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/uncategorized/lightweight-css/</guid>
		<description><![CDATA[Time and time again when I&#8217;m teaching CSS, or looking through other people&#8217;s code I see things like:

border-width: 1px;
border-style: solid;
border-color: #000;

Or, as a more frequent example:

margin-top: 10px;
margin-bottom: 15px;
margin-left: 25px;
margin-right: 0;

That last example is four lines of code that could so easily be condensed into one simple line. The same applies to (X)HTML markup too. One [...]]]></description>
			<content:encoded><![CDATA[<p>Time and time again when I&#8217;m teaching CSS, or looking through other people&#8217;s code I see things like:</p>
<p><code><br />
border-width: 1px;<br />
border-style: solid;<br />
border-color: #000;<br />
</code></p>
<p>Or, as a more frequent example:</p>
<p><code><br />
margin-top: 10px;<br />
margin-bottom: 15px;<br />
margin-left: 25px;<br />
margin-right: 0;<br />
</code></p>
<p>That last example is four lines of code that could so easily be condensed into one simple line. The same applies to (X)HTML markup too. One of the more frequent examples I see of this is putting an image inside a div and using the div class or id to position that image. Save yourself some time and energy and stick the class or id in the image tag and get rid of the redundant div tag (I&#8217;ll be coming back to this later)!</p>
<p>In my above two examples of CSS the correct and more &#8216;lightweight&#8217; way of writing exactly the same thing would be:</p>
<p><code><br />
border: 1px solid #000;<br />
margin: 10px 0 15px 25px;<br />
</code></p>
<p>For a lot of CSS rules the order in which you place the properties is not overly important, but for others you really do need to know them. For example, here where we have set all four margins in one rule you must always remember the correct order, which is top, right, bottom, left (remember the points of the compass, north, east, south and west). It is simply a case of getting to know which selectors you can apply this to (such as fonts, borders, margins, padding etc.) as well as what you can and can&#8217;t include in the property order for that selector.</p>
<p>Going back to the (X)HTML example a lot of the problem comes with a little illness called &#8216;divitis&#8217;, which basically means using divs for <strong>everything</strong>. I&#8217;m going to write an article about <strong>semantics</strong> later on, which will apply to this post, but for now I&#8217;ll just say that you do not need to wrap everything in a div to position it. divs are not the only tags out there for you to use and you should be using the correct tag for the correct page element. So, in the example above we want to move an image to a certain position and give it a border. Wrapping it in a div to do so is creating redundant code that will add to page loading times, and for SEO purposes increase the code-text ratio, which is bad!</p>
<p>Why not stick the id or class of the CSS selector that does all the moving inside the image tag and then make a small modification to the selector that applies it to the image (for IE pruposes, especially when using floats with margin and padding). Example:</p>
<p><code><br />
#header {<br />
float: left;<br />
border: 1px solid #000;<br />
margin-top: 10px;<br />
</code></p>
<p>&#8230; would need to become&#8230;</p>
<p><code><br />
img#header {<br />
float: left;<br />
border: 1px solid #000;<br />
margin-top: 10px;<br />
</code></p>
<p>And there you have it. A stripped div tag with exactly the same effect to the web page. You may be thinking that this is a very slight change and wouldn&#8217;t make much difference at all, which is true. But when building large (and especially dynamic) pages you really do need to consider making sure your code is as efficient as possible and by doing this for each redundant tag it will make a difference.</p>
<p>This applies to your CSS too. Once you have built quite a large site you will start to realise that your style sheet is getting increasingly large and filesizes can become a bit of a worry. You could split your stylesheet up a little and only load the relevant styles for relevant pages, but this can become quite tiresome and way too much work (unless you organise yourself to do this from the start). The easier way would be to optimise your style sheet removing any redundant classes and id&#8217;s that aren&#8217;t used any more and make sure that your rules are compacted into as few as possible.</p>
<p>Of course, to make things easier there are certain programs out there that will do these things for you, and being the kind-hearted soul that I am I&#8217;ll post a link to the one I find most effective:</p>
<p><a href="http://www.codebeautifier.com/" title="COde Beautifier: Optimise Your CSS">Code Beautifier</a> - Just add your CSS!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/lightweight-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS Vista: The Tool To Rule</title>
		<link>http://www.customer-street-css.com/css-related-articles/css-vista-the-tool-to-rule/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/css-vista-the-tool-to-rule/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 11:56:27 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/uncategorized/css-vista-the-tool-to-rule/</guid>
		<description><![CDATA[CSS Vista is one of those tools that, once you find, you will wonder how you managed to build a website without it! The major difficulty in developing websites, particularly those based around CSS layouts, is browser inconsistencies. It&#8217;s very ironic how Firefox displays web pages you build exactly how you build them because of [...]]]></description>
			<content:encoded><![CDATA[<p>CSS Vista is one of those tools that, once you find, you will wonder how you managed to build a website without it! The major difficulty in developing websites, particularly those based around CSS layouts, is browser inconsistencies. It&#8217;s very ironic how Firefox displays web pages you build exactly how you build them because of it&#8217;s up-to-date CSS support, yet Firefox also has the most tools available for checking and developing your sites. Problems arise when you come to use the same code for browsers such as Internet Explorer.</p>
<p>CSS Vista can help with this. The way it works is, you open up the program and type in the URL of the web page you want to edit. This can be local or live. Once you are there you can load the specific CSS file that you need to work on and it will appear in the left-hand pane with your site in the right. You can then edit the CSS in &#8216;real-time&#8217; and see what your changes do to the site. Once you have finished you can save the CSS file and upload it to your server with the changes in place and site looking as it should.</p>
<p>You may be wondering at this point what benefit this gives CSS developers because, for those that use the add-ons for Firefox, this same thing can be done with EditCSS or the developers toolbar. But the great thing about CSS Vista is that you can open IE as a browser within the program and edit THAT in real-time too! You can even open both browsers at once in the right-hand pane, and see how your changes affect both! That is extremely helpful when you need things to look the same, but don&#8217;t know what will work!</p>
<p>The best thing about it is, it&#8217;s free! It&#8217;s currently still in a beta stage, and although it works very well, there are still a few bugs to iron out. But for new developers and those stuck with cross-browser difficulties, it&#8217;s a must-have!</p>
<p>http://litmusapp.com/labs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/css-vista-the-tool-to-rule/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Almost Gets It Right!</title>
		<link>http://www.customer-street-css.com/css-related-articles/microsoft-almost-gets-it-right/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/microsoft-almost-gets-it-right/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 16:57:34 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[Browser Bugs]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/css-related-articles/microsoft-almost-gets-it-right/</guid>
		<description><![CDATA[Here at Customer Street we like to do things right. In CSS terms this means building nice that work across all browsers and generally look the way the customer, or the company planned. However, if you are not a web developer you may not know that getting things to look right for Internet Explorer is [...]]]></description>
			<content:encoded><![CDATA[<p>Here at Customer Street we like to do things right. In CSS terms this means building nice that work across all browsers and generally look the way the customer, or the company planned. However, if you are not a web developer you may not know that getting things to look right for Internet Explorer is a nightmare. This is because the browser does not recognise a lot of the proprietary styles that are in the Web Standard Definitions, and so we are forced to either changed our styles or find other hacks and tricks to get around the rendering issues.</p>
<p>I&#8217;ve just been sent a very interesting link about Microsoft&#8217;s Internet Explorer 8, that was set to change the way developers code their websites completely, <strong>again!</strong></p>
<p>Originally, Internet Explorer 8 was set to <a href="http://it.slashdot.org/article.pl?sid=08/01/22/1837244" title="IE8 Has Three Rendering Modes">burden web developers</a>, like all of the other Internet Explorer releases, this time by requiring the use of an extra meta tag for each page of content, that told Internet Explorer 8 which standards mode to render in&#8230; either Internet Explorer 8&#8217;s standard mode, or that compatible for Internet Explorer 7. Of course, if Microsoft had gotten things right from the start then there wouldn&#8217;t be any problems whatsoever.</p>
<p>The good part was that they had attempted to make it Standards Compliant and it even rendered the <a href="http://it.slashdot.org/article.pl?sid=07/12/19/2231235&#038;from=rss" title="IE8 Renders Acid2 Test Correctly">Acid2 Test Page</a> correctly&#8230; for about a day!</p>
<p>However, as most web developers know, there are so many tricks and hacks needed to create a web site that looks as it should in, especially, Internet Explorer 6. And, although Internet Explorer 7 was a huge improvement, it still didn&#8217;t have the completely rendering capabilities of the other major browsers out there.</p>
<p>It was because of this flaw from the start that web developers had to &#8216;hack&#8217; their CSS using all sorts of weird and wonderful methods, or by creating &#8216;Conditional Comments&#8217; (the only Microsoft Godsend to help fix their own mistakes) to allow for browser specific styles. So, when you look at a page in Internet Explorer 8, the thought was that you might actually need it to render as Internet Explorer 7 because of the hacks you&#8217;d put in place to get things to works for versions 7 and 6. Confused? Good.</p>
<p>However, it is now apparent by the latest posting on the IEBlog that Microsoft have realised (by the amount of feedback recieved because of the original post) that this method is actually not really appropriate and that Internet Explorer 8 should render in complete Standards Compliance Mode and even offers some support for CSS3.</p>
<p>You can read the article <a href="http://www.sitepoint.com/blogs/2008/03/04/microsoft-backflips-on-browser-version-targeting/" title="Internet Explorer 8 Gets It better">here</a>. Feel free to leave a comment as to what you make of this. The conclusion here being that Microsoft, once again attempted to come up with an ingenious way of covering their own mistakes, yet realised (finally) that it&#8217;d be a lot more straight forward to just start again! Thank God for that!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/microsoft-almost-gets-it-right/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web Semantics And Table-less Forms</title>
		<link>http://www.customer-street-css.com/html-related-articles/web-semantics-and-table-less-forms/</link>
		<comments>http://www.customer-street-css.com/html-related-articles/web-semantics-and-table-less-forms/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 16:22:24 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[Browser Bugs]]></category>

		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/uncategorized/web-semantics-and-table-less-forms/</guid>
		<description><![CDATA[For a long time, since I started taking a very active interest in Web Standards and learning CSS I have always queried the methods by which forms, such as contact forms, should be correctly marked up and displayed. Since I can remember building my first web site, there have been disagreements as to the correct [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time, since I started taking a very active interest in Web Standards and learning CSS I have always queried the methods by which forms, such as contact forms, should be correctly marked up and displayed. Since I can remember building my first web site, there have been disagreements as to the correct semantic approach to mark-up when it comes to forms of all types.</p>
<h3>Is A Form A Table?</h3>
<p>Most commonly forms are marked up in tables and I&#8217;ll admit that this is the one use I have for tables that don&#8217;t directly indicate tabular data, most likely because it&#8217;s the first method I used to code a form and I&#8217;ve just never got out of the habit. But building my own personal site that contains comments and other various forms I started to question whether this was semantically correct because a form is not really a table of data.</p>
<h3>Is a form a list of fields?</h3>
<p>This is probably just about the closest semantic method for creating a form, such as a contact form, because you are looking at a list of input fields so naturally you&#8217;d think it was a list? Obviously to switch from tables to proper HTML the easiest way would simply be to stick it in a number of paragraph or division tags, but looking at semantics a form would not naturally fit into either of these.</p>
<p>The great thing about lists is, as soon as you turn off their margins and padding (using the Universal Selector) you can do anything with them. Navigation lists can so easily be created in just CSS by using a ul and an li tag. Forms, I believe should use the same mark-up. This gives you such a wide scope in CSS that you can do with them and they will then look better.</p>
<h3>But no, a form should be a fieldset!</h3>
<p>Yes, the fieldset. Not many people know of this tag, and it is even less widely used. Web Standards state that a form element should contain some form of block-level element for the input fields to sit in, so this could be a div, or a p, or any other block-level element. But the most semantic is the fieldset that sits nicely around your form and you can apply a legend to it, which can also be styled, giving you a very nice looking form. <a href="http://www.themaninblue.com/writing/perspective/2004/03/24/" title="The Man In Blue: Semantic Forms">This article</a> is a nice little guide to the kinds of things that fieldsets can achieve. It may look like a long way to go about things, and there are obvious browser inconsistencies, but it&#8217;s not too tricky, very functional and most importantly semantic.</p>
<p>When couple with some nice CSS you can create a really nice form with a legend that does everything you want, or need it to do</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/html-related-articles/web-semantics-and-table-less-forms/feed/</wfw:commentRss>
		</item>
		<item>
		<title>10 Best CSS Hacks And Tricks</title>
		<link>http://www.customer-street-css.com/css-related-articles/10-best-css-hacks-and-tricks/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/10-best-css-hacks-and-tricks/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 14:32:24 +0000</pubDate>
		<dc:creator>Alex Hall</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/uncategorized/10-best-css-hacks-and-tricks/</guid>
		<description><![CDATA[Here at Ufindus Customer Street we always strive for good clean code in the sites we build. I&#8217;m not personally accustomed to using CSS &#8216;Hacks&#8217; when coding websites so I wouldn&#8217;t ever recommend using those dirty hacks to get around Internet Explorer bugs because there are plenty of cleaner ways of doing it. However, this [...]]]></description>
			<content:encoded><![CDATA[<p>Here at Ufindus Customer Street we always strive for good clean code in the sites we build. I&#8217;m not personally accustomed to using CSS &#8216;Hacks&#8217; when coding websites so I wouldn&#8217;t ever recommend using those dirty hacks to get around Internet Explorer bugs because there are plenty of cleaner ways of doing it. However, this short list compiles some very useful CSS tricks that I now use everyday when building sites with CSS.</p>
<p>For example, did you know that Internet Explorer and every other browser handle heights differently? Shocking I know. Internet Explorer 6 and below do not recognise the CSS property &#8216;min-height&#8217;, which does exactly what it says it should in Mozilla and the other browsers. That is, a section given min-height will never shrink to a height less than that value. This becomes very useful with dynamic sites where you don&#8217;t know how much content there is going to be and you would like your page to have some form of height whether there is content to fill it, or not.</p>
<p>Height in every browser other than Internet Explorer will set the maximum height of an element and won&#8217;t expand beyond that. We can&#8217;t use this in our example because the content might be longer than our set height. Internet Explorer incorrectly adjusts for this stretching the element to fit the contents inside, which should be the functionality of &#8216;min-height&#8217; not &#8216;height&#8217;. This means that unless we use &#8216;overflow: hidden&#8217; the element will stretch in Internet Explorer. A real pain that can be.</p>
<p>However, the fix for this can be found in this list and it&#8217;s simple to implement as it requires setting a min-height (for browsers that support it), a height (for Internet Explorer), and the middle value with !important resets the min-height for Internet Explorer, whilst not conflicting with the value set for the other browsers.</p>
<p>A very helpful fix and plenty more can be found at <a href="http://stylizedweb.com/2008/02/14/10-best-css-hacks/" title="10 Best CSS Hacks And Tricks">Stylized Web.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/10-best-css-hacks-and-tricks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple CSS Layouts - Same HTML</title>
		<link>http://www.customer-street-css.com/css-related-articles/multiple-css-layouts-same-html/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/multiple-css-layouts-same-html/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 16:35:16 +0000</pubDate>
		<dc:creator>Matthew Hadwen - Customer Street CSS Pro</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Layouts]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/css-related-articles/multiple-css-layouts-single-html/</guid>
		<description><![CDATA[Yesterday I decided to play about further with the fluid CSS layouts I mentioned the other day. It didn&#8217;t take long to produce quite a few different layouts using the same basic html as before. So I put the layouts together into this page for you to view them on and download the CSS files [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I decided to play about further with the fluid CSS layouts I mentioned the other day. It didn&#8217;t take long to produce quite a few different layouts using the same basic html <a href="http://www.customer-street-css.com/css-related-articles/css-3-column-elastic-layout-fixed-side-bars-fluid-center-sticky-footer/" title="3 Column Fluid CSS Layout">as before</a>. So I put the layouts together into <a href="http://www.customer-street-css.com/fluid-layout/" title="Multiple CSS Fluid Layouts" >this page</a> for you to view them on and download the CSS files if you want.</p>
<p>It&#8217;s probably worth mentioning that I&#8217;ve left the <a href="http://www.ryanfait.com/sticky-footer/" title="sticky footer">sticky footer</a> in there from the last design just for presentation purposes, but I&#8217;ve put comments in the stylesheets so the code is easy to identify and rip out if you don&#8217;t want it.</p>
<p>The main issue I&#8217;ve found with this method of creating fluid CSS layouts is that the footer is only pushed down by the main content area and not the sidebars as they are absolutely absolutely positioned. If you know of a way around this feel free to leave a comment.</p>
<p>So, in the meantime I&#8217;ll continue experimenting with some different layout methods which I&#8217;ll post about in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/multiple-css-layouts-same-html/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS 3 Column Elastic Layout - Fixed Side Bars, Fluid Center, Sticky Footer</title>
		<link>http://www.customer-street-css.com/css-related-articles/css-3-column-elastic-layout-fixed-side-bars-fluid-center-sticky-footer/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/css-3-column-elastic-layout-fixed-side-bars-fluid-center-sticky-footer/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 17:29:18 +0000</pubDate>
		<dc:creator>Matthew Hadwen - Customer Street CSS Pro</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Layouts]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/css-related-articles/css-3-column-elastic-layout-fixed-side-bars-fluid-center-sticky-footer/</guid>
		<description><![CDATA[Just thought I&#8217;d share a layout I&#8217;ve been working on. I wanted to produce a 3 column fluid layout with elastic capabilities for accessibility.
I&#8217;ve given the side columns a fixed width and the whole layout a min-width of 800px, simply because this is the standard browser resolution we&#8217;re usually asked to develop for.
I&#8217;ve incorporated a [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I&#8217;d share a layout I&#8217;ve been working on. I wanted to produce a 3 column fluid layout with elastic capabilities for accessibility.</p>
<p>I&#8217;ve given the side columns a fixed width and the whole layout a min-width of 800px, simply because this is the standard browser resolution we&#8217;re usually asked to develop for.</p>
<p>I&#8217;ve incorporated a sticky footer designed by <a href="http://www.ryanfait.com/sticky-footer/" title="ryan fait sticky css footer">Ryan Fait</a> just because.</p>
<p>I&#8217;ve tested the design in MSIE 6 and 7, firefox and opera and found no problems in any. The code is fairly straightforward and valid.</p>
<p>This is the how the layout looks in nice bright colors for the youth.</p>
<p><IMG></p>
<p>HTML</p>
<blockquote>
<pre>
&lt;body&gt;
	&lt;div id="wrapper"&gt;

		&lt;div id="header"&gt;&lt;h1&gt;Header&lt;/h1&gt;&lt;/div&gt;

		&lt;div id="left"&gt;&lt;p&gt;Left Sidebar&lt;/p&gt;&lt;/div&gt;

		&lt;div id="center"&gt;&lt;h2&gt;Content&lt;/h2&gt;&lt;/div&gt;

		&lt;div id="right"&gt;&lt;p&gt;Right Sidebar&lt;/p&gt;&lt;/div&gt;

		&lt;div class="push"&gt;&lt;/div&gt;

	&lt;/div&gt;

	&lt;div id="footer"&gt;&lt;h2&gt;Footer&lt;/h2&gt;&lt;/div&gt;

&lt;body&gt;
</pre>
</blockquote>
<p>The CSS</p>
<blockquote>
<pre>

*{
padding:0;
margin:0;
}

html, body{
width:100%;
height: 100%;
}

#header{
width:100%;
height:10em;
background:#e00;
clear:both;
}

#left{
width:25%;
height:100px;
background:#0e0;
position:absolute;
right:0;
top:10em;
}

#right{
position:absolute;
left:0;
top:10em;
width:25%;
height:100px;
background:#00e;
}

#center{
margin-left:25%;
margin-right:25%;
height:200px;
background:#ee0;
}

#footer{
width:100%;
height:10em;
background:#0ee;
}

#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -10em;
}
#footer, .push {
	height: 10em;
}
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/css-3-column-elastic-layout-fixed-side-bars-fluid-center-sticky-footer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Smile Local - New CSS Layout</title>
		<link>http://www.customer-street-css.com/css-related-articles/smile-local-new-css-layout/</link>
		<comments>http://www.customer-street-css.com/css-related-articles/smile-local-new-css-layout/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 13:44:27 +0000</pubDate>
		<dc:creator>Matthew Hadwen - Customer Street CSS Pro</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.customer-street-css.com/css-related-articles/smile-local-new-css-layout</guid>
		<description><![CDATA[I&#8217;ve been giving a hand with Smile Local recently, one of Customer Streets&#8217; business directories which include UFindUs and MoreUK.
There&#8217;s some fairly big changes coming which all tie in with the new layout and some brand new tools which should benefit both businesses and users alike.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been giving a hand with Smile Local recently, one of Customer Streets&#8217; business directories which include UFindUs and MoreUK.</p>
<p>There&#8217;s some fairly big changes coming which all tie in with the new layout and some brand new tools which should benefit both businesses and users alike.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.customer-street-css.com/css-related-articles/smile-local-new-css-layout/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
