<?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>Graphic Euphoria&#187; CSS</title>
	<atom:link href="http://www.graphic-euphoria.co.uk/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.graphic-euphoria.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 12 Oct 2009 14:57:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Font stacks, the !important css declaration and some html tips</title>
		<link>http://www.graphic-euphoria.co.uk/font-stacks-important-css-declaration-html-tips</link>
		<comments>http://www.graphic-euphoria.co.uk/font-stacks-important-css-declaration-html-tips#comments</comments>
		<pubDate>Wed, 03 Jun 2009 18:34:33 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=239</guid>
		<description><![CDATA[It's been a good week for subscribing to blogs, they are a endless stream of new and useful information, here are a few good tit-bits from my reader account!

Font Stacks

It's a basic CSS declaration but not many people are aware of what font stacks do. In a world where most fonts are not available on the web, or 'web-safe' as we like to call it, you have to stick to a limited amount. Luckily CSS enables the developer to list his ideal fonts in an order of preference. Therefore if the first font, or most ideal, isn't available then the next one will take over. This is called the font stack.

Unit Interactive wrote a great article about font stacks

and also created a downloadable PDF document with examples.

This is a great tool to help explain to designers what is possible in true web design. As many developers will know, you typically get a PSD file from a designer and find you have to go back to them to explain why they can't use a certain font.

via firstwebdesigner.com &#038; CSS Globe



!important CSS Declaration

Impressive Webs - everything you need to know about the !important CSS declaration

This is another great article which explains a common CSS declaration. CSS, by it's nature, is cascading or in other words heiracial. This basically means it sets properties as it is read from top to bottom. A duplicated selector further down the page will overwrite the previous properties (where properties match).

There are also instances where someone has used in-line styling or you have no choice but to use in-line styling (i can't think of one). '!important' can also overwrite this!

Typing '!important' after any CSS property tells the browser that this CSS declaration is the most important one and overwrites all other declarations. It is great for overwriting common classes or properties where you might want to use an exception or perform a minor tweak.

via CSS Globe



Finally, some good html tips

Line25.com - html crimes you shouldn't commit

This article provides a quick list of 10 html good practices which would improve your coding. The majority are straight forward and known to many, the most being about out-dated tags, but still it's great to see a blog going back to the basics.

One great thing about using the more updated tags is that you can wrap the older tags around html elements, reset them with CSS (font-weight:normal), and use them together with a Javascript frame work to create advanced effects!

]]></description>
			<content:encoded><![CDATA[It&#8217;s been a good week for subscribing to <strong>blogs</strong>, they are a endless stream of new and useful information, here are a few good tit-bits from my <a title="Google RSS Reader" href="http://www.google.com/reader/" target="_blank">reader </a>account!
<h2>Font Stacks</h2>
It&#8217;s a basic <strong>CSS </strong><strong>declaration</strong> but not many people are aware of what <strong>font stacks </strong>do. In a world where most fonts are not available on the web, or &#8216;web-safe&#8217; as we like to call it, you have to stick to a limited amount. Luckily <strong>CSS </strong>enables the developer to list his ideal fonts in an order of preference. Therefore if the first <strong>font</strong>, or most ideal, isn&#8217;t available then the next one will take over. This is called the <strong>font stack</strong>.

<a title="font stacks article" href="http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/" target="_blank">Unit Interactive wrote a great article about font stacks</a>

and also created a <a title="font stacks pdf" href="http://unitinteractive.com/blog/blog-images/BetterFontStacks.pdf" target="_blank">downloadable PDF document</a> with examples.

This is a great tool to help explain to designers what is possible in true web design. As many developers will know, you typically get a PSD file from a designer and find you have to go back to them to explain why they can&#8217;t use a certain <strong>font</strong>.

via <a title="1st web designer .com font article" href="http://www.1stwebdesigner.com/development/ultimate-list-of-32-font-and-typography-tools/" target="_blank">firstwebdesigner.com</a> &amp; <a title="css globe" href="http://cssglobe.com/" target="_blank">CSS Globe</a>
<h2>!important CSS Declaration</h2>
<a title="important css declaration article" href="http://www.impressivewebs.com/everything-you-need-to-know-about-the-important-css-declaration/" target="_blank">Impressive Webs &#8211; everything you need to know about the !important CSS declaration</a>

This is another great article which explains a common <strong>CSS</strong> <strong>declaration</strong>. <strong>CSS</strong>, by it&#8217;s nature, is cascading or in other words heiracial. This basically means it sets properties as it is read from top to bottom. A duplicated selector further down the page will overwrite the previous properties (where properties match).

There are also instances where someone has used in-line styling or you have no choice but to use in-line styling (i can&#8217;t think of one). &#8216;<strong>!important</strong>&#8216; can also overwrite this!

Typing &#8216;<strong>!important</strong>&#8216; after any <strong>CSS </strong>property tells the browser that this <strong>CSS </strong><strong>declaration </strong>is the most important one and overwrites all other declarations. It is great for overwriting common classes or properties where you might want to use an exception or perform a minor tweak.

via <a title="css globe" href="http://cssglobe.com/" target="_blank">CSS Globe</a>
<h2>Finally, some good html tips</h2>
<a title="html crimes you shouldnt commit" href="http://line25.com/articles/10-html-tag-crimes-you-really-shouldnt-commit" target="_blank">Line25.com &#8211; html crimes you shouldn&#8217;t commit</a>

This article provides a quick list of 10 <strong>html good practices</strong> which would improve your coding. The majority are straight forward and known to many, the most being about out-dated <strong>tags</strong>, but still it&#8217;s great to see a blog going back to the basics.

One great thing about using the more updated tags is that you can wrap the older tags around html elements, reset them with <strong>CSS </strong>(font-weight:normal), and use them together with a Javascript frame work to create advanced effects!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/font-stacks-important-css-declaration-html-tips" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/font-stacks-important-css-declaration-html-tips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checklist for a Successful Website Launch</title>
		<link>http://www.graphic-euphoria.co.uk/checklist-for-a-successful-website-launch</link>
		<comments>http://www.graphic-euphoria.co.uk/checklist-for-a-successful-website-launch#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:01:55 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Findability (SEO)]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[gzip]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=126</guid>
		<description><![CDATA[Moxie.com have blogged a useful checklist. They list 13 steps you would do well to consider before launching a website to the world wide web!
I agree with all their points and can think of a couple extra..]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.e-moxie.com/resources/news/13-steps-to-a-successful-website-launch/"><img src="http://www.e-moxie.com/images/elogo.gif" alt="moxie.com" /></a></p>

<a title="visit moxie.com" href="http://www.e-moxie.com/resources/news/13-steps-to-a-successful-website-launch/" target="_blank">Moxie.com</a> have blogged a useful <strong>checklist</strong>. They list 13 steps you would do well to consider before <strong>launching </strong>a <strong>website </strong>to the <strong>world wide web</strong>!

<a title="visit moxie.com" href="http://www.e-moxie.com/resources/news/13-steps-to-a-successful-website-launch/" target="_blank">13 Steps to a Successful Website Launch via e-moxie.com</a>.

I agree with all their points and can think of a couple extra..

14. <strong>Gzip </strong>all your <strong>javascript </strong>(if supported by your server). Otherwise use a javascript <strong>compressor </strong>to shrink the code.

15. <strong>Compress </strong>all your <strong>CSS </strong>using a CSS compressor. Try to compile it into one file and with different <a title="css media types" href="http://www.graphic-euphoria.co.uk/combine-all-css-media-types-into-one-style-sheet" target="_self">media types for print and screen</a>.

16. Remove all your <strong>annotations </strong>from your code and insert a <strong>copywrite </strong>comment.

17. Run a <strong>broken link </strong>checking  site to find all the problem links.

18. Use a <strong>sitemap </strong>generator to create your <strong>sitemap.xml.</strong>

19. <strong>Verify </strong>your site with <a title="google webmaster tools site" href="http://www.google.com/webmasters/tools" target="_blank">google webmaster tools</a>.

20. Finally, don&#8217;t forget a <strong>favicon</strong>!

Wow, that&#8217;s seven more tips! I hope you find this useful.

more posts coming soon..<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/checklist-for-a-successful-website-launch" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/checklist-for-a-successful-website-launch/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shorthand CSS: Easier to learn, read and update!</title>
		<link>http://www.graphic-euphoria.co.uk/shorthand-css-easier-to-learn-read-and-update</link>
		<comments>http://www.graphic-euphoria.co.uk/shorthand-css-easier-to-learn-read-and-update#comments</comments>
		<pubDate>Sat, 14 Feb 2009 14:32:03 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=79</guid>
		<description><![CDATA[If you write CSS then you will be aware how bulky it can become and, more importantly, difficult to read. Using shorthand CSS you can cut through a lot of the bulk by removing excessive property declarations and with a quick scan you can find a property to change or update.]]></description>
			<content:encoded><![CDATA[Well, I’m slowly getting through all my bookmarks, blogging the important sites I’ve discovered over the last couple of years.

I’ve found another gem..

If you write <strong>CSS</strong> then you will be aware how bulky it can become and, more importantly, difficult to read. Using <strong>shorthand CSS</strong> you can cut through a lot of the bulk by removing excessive <strong>property</strong> declarations and with a quick scan you can find a <strong>property</strong> to change or update.

<strong>Roger Johansson</strong> over at <strong>www.456bereastreet.com </strong>has written a good post about the most common forms of shorthand.

<a title="Click here to view a summary of efficient css with shorthand properties" href="http://www.456bereastreet.com/archive/200502/efficient_css_with_shorthand_properties/" target="_blank">A summary of efficient css with shorthand properties</a>

Typically they combine many <strong>declarations</strong> into one single <strong>declaration</strong>. The most important thing to remember from these findings is the order of the <strong>attributes</strong> within the new longer <strong>declaration!</strong>

One other thing is worth mentioning again.. if you are setting a value to zero or 0 you don’t need to add the measurement on the end (it is px by default).

For example:
<pre name="code" class="css">Margin:0;</pre>
is the same as
<pre name="code" class="css">Margin:0px;</pre>
and finally, this is purely my own habit, when setting margin or padding i always use..
<pre name="code" class="css">Margin:0 0 0 0; Padding:0 0 0 0;</pre>
..even if i just want to change one value. It saves typing, keeps things neat and if you do need to go back and alter something you have already included it so you just change the value!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/shorthand-css-easier-to-learn-read-and-update" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/shorthand-css-easier-to-learn-read-and-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free loader bar animated gif creator website!</title>
		<link>http://www.graphic-euphoria.co.uk/free-loader-bar-animated-gif-creator-website</link>
		<comments>http://www.graphic-euphoria.co.uk/free-loader-bar-animated-gif-creator-website#comments</comments>
		<pubDate>Sat, 14 Feb 2009 14:13:20 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=74</guid>
		<description><![CDATA[I just stumbled across this site while googling for a loader bar. I admit i just couldn’t be bothered to make one and planned to steal one..

Thanks to the creator of ajaxload.info i never have to again! Simply choose your style, foreground colour , background colour then download your loader gif.

Loader bar.. Done!]]></description>
			<content:encoded><![CDATA[I just stumbled across this site while googling for a <strong>loader bar</strong>. I admit i just couldn’t be bothered to make one and planned to steal one..

Thanks to the creator of <a title="Click to visit ajaxload.info" href="http://www.ajaxload.info/" target="_blank">ajaxload.info</a> i never have to again! Simply choose your <strong>style</strong>, <strong>foreground colour </strong>, <strong>background colour</strong> then <strong>download </strong>your loader gif.

Loader bar.. Done!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/free-loader-bar-animated-gif-creator-website" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/free-loader-bar-animated-gif-creator-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Online CSS Framework Generator</title>
		<link>http://www.graphic-euphoria.co.uk/free-online-css-framework-generator</link>
		<comments>http://www.graphic-euphoria.co.uk/free-online-css-framework-generator#comments</comments>
		<pubDate>Sat, 14 Feb 2009 14:09:00 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=70</guid>
		<description><![CDATA[Today I stumbled across a cool new online Web 2.0 application. It’s called ‘CSS Frame Generator‘ but I think that title is a little bit confusing to what it actually does..

Since CSS is hierarchical and semantic you can greatly condense your style sheets by cutting out the over use of classes and id’s. For example, if I were to have a list within a div, you only have to give the containing div and id name to style all the contents.

This is where the CSS Frame Generator comes in. Basically you enter your (x)html, with the main elements given id’s, and the application will create a stylesheet full of empty CSS attributes. You can then start filling in the style attributes and finally delete the ones you don’t use!

So, to sum up, it doesn’t help with design but could just save you some time and make your code better!]]></description>
			<content:encoded><![CDATA[Today I stumbled across a cool new online <strong>Web 2.0 application</strong>. It’s called ‘<strong>CSS Frame Generator</strong>‘ but I think that title is a little bit confusing to what it actually does..

Since CSS is <strong>hierarchical </strong>and <strong>semantic </strong>you can greatly condense your style sheets by cutting out the over use of <strong>classes </strong>and <strong>id’</strong>s. For example, if I were to have a list within a div, you only have to give the containing div and id name to style all the contents.

This is where the <a href="http://lab.xms.pl/css-generator/" target="_blank">CSS Frame Generator</a> comes in. Basically you enter your (x)html, with the main elements given id’s, and the application will create a stylesheet full of empty CSS attributes. You can then start filling in the style attributes and finally delete the ones you don’t use!

So, to sum up, it doesn’t help with <strong>design </strong>but could just save you some time and make your code better!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/free-online-css-framework-generator" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/free-online-css-framework-generator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS quick reference and comparison table</title>
		<link>http://www.graphic-euphoria.co.uk/css-quick-reference-and-comparison-table</link>
		<comments>http://www.graphic-euphoria.co.uk/css-quick-reference-and-comparison-table#comments</comments>
		<pubDate>Sat, 14 Feb 2009 13:51:25 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=65</guid>
		<description><![CDATA[Two of the trickiest problems when coding with CSS is knowing the property name, the order of the property attributes (if using shorthand) and knowing which browser supports what..]]></description>
			<content:encoded><![CDATA[Two of the trickiest problems when coding with <strong>CSS </strong>is knowing the <strong>property </strong>name, the order of the property <strong>attributes </strong>(if using <strong>shorthand</strong>) and knowing which browser supports what..

This is what you need:

<a href="http://lesliefranke.com/files/reference/csscheatsheet.html" target="blank">CSS quick reference sheet</a>

and

<a href="http://meiert.com/en/indices/css-properties/" target="blank">CSS Property Index</a><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/css-quick-reference-and-comparison-table" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/css-quick-reference-and-comparison-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combine all CSS media types into one style sheet</title>
		<link>http://www.graphic-euphoria.co.uk/combine-all-css-media-types-into-one-style-sheet</link>
		<comments>http://www.graphic-euphoria.co.uk/combine-all-css-media-types-into-one-style-sheet#comments</comments>
		<pubDate>Sat, 14 Feb 2009 13:48:29 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=60</guid>
		<description><![CDATA[As you are probably already aware you can declare a media type for your CSS stylesheet. This enables you to have a specific style for online, mobile, print etc. Declaring these sheets seperately means you have extra http requests. The more requests per page the less efficient it becomes..]]></description>
			<content:encoded><![CDATA[I have stumbled across another great <strong>CSS </strong>tip!

<a title="Click here to view David Walsh's site" href="http://davidwalsh.name/combine-css-media-styles-file" target="_blank"> Combine Your CSS Media Styles Into One File</a>

As you are probably already aware you can declare a <strong>media type</strong> for your <strong>CSS stylesheet</strong>. This enables you to have a specific style for online, mobile, print etc. Declaring these sheets seperately means you have extra <strong>http requests</strong>. The more requests per page the less efficient it becomes..

CSS has a built in method of declaring the type as if it were an ‘if’ statement. Hence you can keep all your CSS in the one file! F.A.B.
<pre name="code" class="css">@media all
{
/* all other attributes (web, mobile etc) */
}

@media print
{
/* print attributes */
}</pre><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/combine-all-css-media-types-into-one-style-sheet" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/combine-all-css-media-types-into-one-style-sheet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The BEST CSS cheatsheet yet and it’s all about shorthand</title>
		<link>http://www.graphic-euphoria.co.uk/the-best-css-cheatsheet-yet-and-its-all-about-shorthand</link>
		<comments>http://www.graphic-euphoria.co.uk/the-best-css-cheatsheet-yet-and-its-all-about-shorthand#comments</comments>
		<pubDate>Sat, 14 Feb 2009 13:43:37 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=57</guid>
		<description><![CDATA[Well, it’s one of the best CSS cheat sheets I’ve seen yet. It sums up exactly what you want to know. ]]></description>
			<content:encoded><![CDATA[Well, it’s one of the best <strong>CSS cheat sheets</strong> I’ve seen yet. It sums up exactly what you want to know. It helps my <strong>productivity </strong>as the only thing i can’t remember is the order of the values in CSS shorthand. Specifically the font attributes!

So many thanks to <a title="leigeber.com" href="http://www.leigeber.com" target="_blank">leigeber.com</a>

this one is a gem..

<a title="download the CSS shorthand cheat sheet" href="http://www.leigeber.com/wp-content/uploads/2008/04/css-cheat-sheet.pdf" target="_blank">download it here!</a><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/the-best-css-cheatsheet-yet-and-its-all-about-shorthand" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/the-best-css-cheatsheet-yet-and-its-all-about-shorthand/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS horizontal drop down menus: A great resource list!</title>
		<link>http://www.graphic-euphoria.co.uk/css-horizontal-drop-down-menus-a-great-resource-list</link>
		<comments>http://www.graphic-euphoria.co.uk/css-horizontal-drop-down-menus-a-great-resource-list#comments</comments>
		<pubDate>Sat, 14 Feb 2009 01:59:32 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=43</guid>
		<description><![CDATA[Getting a CSS drop down menu to work across all browsers can be very tricky especially as internet explorer doesn’t really like a hover state on anything other than a anchor tag! Check out this great collection of popular solutions including pure CSS, Javascript and AJAX!]]></description>
			<content:encoded><![CDATA[I was very pleased to get this link in my daily blog subscription as i was just looking into these at work today! Getting a <strong>CSS drop down menu</strong> to work across all <strong>browsers</strong> can be very tricky especially as internet explorer doesn’t really like a hover state on anything other than a anchor tag! Check out this great collection of popular solutions including pure <strong>CSS</strong>, <strong>Javascript</strong> and <strong>AJAX!</strong>

<a title="user-friendly horizontal or vertical navigation menus using CSS" href="http://www.noupe.com/css/multilevel-drop-down-navigation-menus-examples-and-tutorials.html" target="_blank">Multilevel Drop Down Navigation Menus: Examples and Tutorials</a><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/css-horizontal-drop-down-menus-a-great-resource-list" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/css-horizontal-drop-down-menus-a-great-resource-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Reset: the first step to browser compatibility</title>
		<link>http://www.graphic-euphoria.co.uk/css-reset-the-first-step-to-browser-compatibility</link>
		<comments>http://www.graphic-euphoria.co.uk/css-reset-the-first-step-to-browser-compatibility#comments</comments>
		<pubDate>Fri, 13 Feb 2009 01:59:58 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=34</guid>
		<description><![CDATA[As everybody knows, getting a website to look the same across different browsers is a tricky task to get right, if not impossible. That is because every browser has it’s own standard default CSS styling sheet built in. Discover how to reset them and create a blank canvas!]]></description>
			<content:encoded><![CDATA[As everybody knows, getting a <strong>website </strong>to look the same across different <strong>browsers </strong>is a tricky task to get right, if not impossible. That is because every browser has it’s own standard default <strong>CSS styling sheet</strong> built in. So <strong>Mozilla Firefox</strong> will have a different default style to IE7 or even IE8. Even though these differences are subtle they are enough to give you some surprising results when you view your design in a new <strong>browser </strong>or platform.

The only way to fix this is to include at the top of your own <strong>CSS style sheet</strong> a ‘<strong>CSS Reset</strong>‘ script.
A while ago i stumbled across a basic <strong>CSS reset script</strong> and after some research i discovered <a title="Reset Reloaded" href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/" target="_blank">Eric Meyer’s CSS Rest Reloaded</a> script. Eric has created a really comprehensive script but as ever i felt the need to edit it for my own use. I personally felt it could be stripped down slightly and sometimes went too far. Specifically the body, blockquote, q resets and setting list-style to ‘none’. The following is what i had left:
<pre name="code" class="css">html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; line-height:100%;}
:focus {
/*outline: 0; if used define new style */
}
ol, ul {list-style:circle;}
/* tables still need ‘cellspacing=”0″‘ in the markup */
table {border-collapse: separate; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}</pre><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/css-reset-the-first-step-to-browser-compatibility" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/css-reset-the-first-step-to-browser-compatibility/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
