<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
	<channel>
		<language>en_GB</language>
		<title>Articles Tagged with &quot;Css&quot;</title>
		<link>http://tobyinkster.co.uk/tag/css/</link>
		<description></description>
		<item>
			<title>22/03/2008: CSS Quiz</title>
			<link>http://tobyinkster.co.uk/blog/2008/03/22/css-quiz/</link>
			<description>&lt;a id=&quot;mingle2_badge&quot; href=&quot;http://www.justsayhi.com/bb/css_quiz&quot; style=&quot;display: block; background: url(http://assets.justsayhi.com/badges/172/343/css_properties.kfg7oy5sn3.jpg) no-repeat top left; height: 93px;  width: 335px; text-decoration: none; color: #fff;&quot;&gt;&lt;strong id=&quot;mingle2_badge_score&quot; style=&quot;display: block; padding-left: 123px; padding-top: 20px;  font-weight: normal; font-family: Times New Roman, Arial; font-size: 20px;&quot;&gt;66&lt;/strong&gt;&lt;/a&gt; &lt;div style=&quot;width: 335px; font-size: 11px;&quot;&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
		</item>
		<item>
			<title>22/01/2008: CSS to HTML Compiler</title>
			<link>http://tobyinkster.co.uk/blog/2008/01/22/css-compile/</link>
			<description>&lt;p&gt;I&amp;#8217;ve searched around the &amp;#8216;Net for something like this before, but without success, so decided to write my own. The basic idea is this: there are certain circumstances in which you need to write some styled &lt;acronym title=&quot;Hypertext Markup Language&quot;&gt;HTML&lt;/acronym&gt; without access to the document&amp;#8217;s header. For example, when composing &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;-formatted e-mails, which may be displayed in a web-based e-mail client; when adding content to limited content-management system; or in an &lt;a href=&quot;http://www.ebay.co.uk&quot;&gt;eBay&lt;/a&gt; auction description. In such a situation, you can&amp;#8217;t (validly) include a &lt;code class=&quot;html&quot;&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot;&amp;gt;&lt;/code&gt; element, nor a &lt;code class=&quot;html&quot;&gt;&lt;style&gt;...&lt;/style&gt;&lt;/code&gt; block (if you &lt;strong&gt;do&lt;/strong&gt; include such a construct it may just about work, but the document will not be valid), so instead you are reduced to using &lt;span class=&quot;caps&quot;&gt;HTML &lt;/span&gt;&lt;code class=&quot;html&quot;&gt;style&lt;/code&gt; attributes all over the place.&lt;/p&gt;

&lt;p&gt;However, it is slow work using &lt;code class=&quot;html&quot;&gt;style&lt;/code&gt; attributes as you can&amp;#8217;t take advantage of &lt;acronym title=&quot;Cascading Style Sheet&quot;&gt;CSS&lt;/acronym&gt; selectors. Instead&amp;#8230;&lt;/p&gt;</description>
		</item>
		<item>
			<title>12/08/2007: PHP Debugging with Style -OR- How I Learned to Stop Worrying and Love the Bug</title>
			<link>http://tobyinkster.co.uk/blog/2007/08/12/php-debugging-with-style/</link>
			<description>&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;PHP &lt;/span&gt;lets you &lt;a href=&quot;http://www.php.net/set-error-handler&quot;&gt;define your own error handler&lt;/a&gt;, so I decided to get a bit fancy. MegaErrorHandler (&lt;a href=&quot;http://groups.google.com/groups?q=spacegirl+meh&quot;&gt;&lt;span class=&quot;caps&quot;&gt;MEH&lt;/span&gt;&lt;/a&gt;) outputs its errors as specially-formatted &lt;span class=&quot;caps&quot;&gt;HTML &lt;/span&gt;comments, with the details of the error encoded using &lt;a href=&quot;http://json.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A small client-side script, with an associated stylesheet then pulls this data out of the comments and formats it as a nice little interactive bug-viewing console, allowing you to view a stack trace for each bug, inspect superglobals, view the syntax-highlighted source code for the file where the error occurred, check the list of defined constants and other useful things&amp;#8230;&lt;/p&gt;</description>
		</item>
		<item>
			<title>More Complex Spiral</title>
			<link>http://tobyinkster.co.uk/article/more-complex-spiral/</link>
			<description>====&lt;br&gt;
&lt;ul id=&quot;spiral&quot;&gt;
  &lt;li id=&quot;sp1&quot;&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li id=&quot;sp2&quot;&gt;&lt;a href=&quot;#&quot;&gt;Articles&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li id=&quot;sp3&quot;&gt;&lt;a href=&quot;#&quot;&gt;News&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li id=&quot;sp4&quot;&gt;&lt;a href=&quot;#&quot;&gt;Links&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li id=&quot;sp5&quot;&gt;&lt;a href=&quot;#&quot;&gt;Contact Us&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;&lt;abbr title=&quot;Hypertext Markup Language&quot;&gt;&lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;&lt;/abbr&gt;&lt;/h2&gt;
&lt;p&gt;Really easy&amp;#8230;&lt;/p&gt;


&lt;pre&gt;&lt;code class=&amp;quot;html&amp;quot;&gt;&amp;amp;lt;ul id=&amp;quot;spiral&amp;quot;&amp;amp;gt;
  &amp;amp;lt;li id=&amp;quot;sp1&amp;quot;&amp;amp;gt;&amp;amp;lt;a href=&amp;quot;#&amp;quot;&amp;amp;gt;Home&amp;amp;lt;span&amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/li&amp;amp;gt;
  &amp;amp;lt;li id=&amp;quot;sp2&amp;quot;&amp;amp;gt;&amp;amp;lt;a href=&amp;quot;#&amp;quot;&amp;amp;gt;Articles&amp;amp;lt;span&amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/li&amp;amp;gt;
  &amp;amp;lt;li id=&amp;quot;sp3&amp;quot;&amp;amp;gt;&amp;amp;lt;a href=&amp;quot;#&amp;quot;&amp;amp;gt;News&amp;amp;lt;span&amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/li&amp;amp;gt;
  &amp;amp;lt;li id=&amp;quot;sp4&amp;quot;&amp;amp;gt;&amp;amp;lt;a href=&amp;quot;#&amp;quot;&amp;amp;gt;Links&amp;amp;lt;span&amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/li&amp;amp;gt;
  &amp;amp;lt;li id=&amp;quot;sp5&amp;quot;&amp;amp;gt;&amp;amp;lt;a href=&amp;quot;#&amp;quot;&amp;amp;gt;Contact Us&amp;amp;lt;span&amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/li&amp;amp;gt;
&amp;amp;lt;/ul&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;



&lt;h2&gt;&lt;abbr title=&quot;Cascading Style Sheet&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt;&lt;/abbr&gt;&lt;/h2&gt;
&lt;p&gt;Really hard&amp;#8230;&lt;/p&gt;
&lt;pre&gt;&amp;lt;code&amp;#8230;</description>
		</item>
		<item>
			<title>Chapter 3: Adding Some Style</title>
			<link>http://tobyinkster.co.uk/article/html-tutorial-3/</link>
			<description>====&lt;br&gt;
&lt;p&gt;So now you know how to make a basic web page. When writing the page, we focused on &lt;em&gt;structure&lt;/em&gt;&amp;nbsp;&amp;#8212; how the page was divided up into its various parts (headings, paragraphs, etc)&amp;nbsp;&amp;#8212; but not on &lt;em&gt;style&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;In this chapter we&amp;#8217;ll focus on how to apply style to your page, but without even changing the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;!&lt;/p&gt;

&lt;h2&gt;Applying A Basic Style&lt;/h2&gt;

&lt;p&gt;Right now, our page looks something like this:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/Images/html_tutorial/figure5.png&quot;&gt;&lt;img src=&quot;/Images/html_tutorial/thumb-figure5.png&quot; height=&quot;150&quot; width=&quot;137&quot; alt=&quot;picture of the example in a browser&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You&amp;#8217;ll remember that one of the lines in the &lt;span class=&quot;caps&quot;&gt;HTML &lt;/span&gt;file said this:&lt;/p&gt;



&lt;pre&gt;&lt;code class=&amp;quot;html&amp;quot;&gt;&amp;amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;style.css&amp;quot;&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;So we shall now create a file called style.css and add some formatting instructions to it.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;css&quot;&gt;body {
       font-family: Arial, Helvetica, &amp;#8220;Sans Serif&amp;#8221;;&lt;br&gt;
       background-color: white;&lt;br&gt;
       color: black;&lt;br&gt;
       font-size: 12px; }&lt;br&gt;
h1   {&amp;#8230;</description>
		</item>
		<item>
			<title>19/10/2003: On Web Design</title>
			<link>http://tobyinkster.co.uk/blog/2003/10/19/web-design/</link>
			<description>&lt;p&gt;local wrote:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Now I wonder how important cross-browser coding actually is. How many browsers do I have to test, which versions?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I have two philosophies on this question.&lt;/p&gt;

&lt;p&gt;The first is the philosophy I apply when making my own website&amp;nbsp;&amp;#8212; I stick to the standards and let any browser that can&amp;#8217;t handle it be damned. If 99% of browsers don&amp;#8217;t work on it, that&amp;#8217;s fine by me. (OK, so I have added a few little workarounds for &lt;span class=&quot;caps&quot;&gt;IE6, &lt;/span&gt;but nothing major)&lt;/p&gt;

&lt;p&gt;The second philosophy is similar and is what I use for other people&amp;#8217;s websites. Again, write to standards, but make sure it works more or less perfectly in:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;IE 5+ (Windows)&lt;/li&gt;
&lt;li&gt;Netscape 6+&lt;/li&gt;
&lt;li&gt;Opera 7+&lt;/li&gt;
&lt;li&gt;Konqueror&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;and make sure the content is readable and the site is navigatable in:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;Netscape 4.x&lt;/li&gt;
&lt;li&gt;IE 4 (Win)&lt;/li&gt;
&lt;li&gt;IE 5 (Mac)&lt;/li&gt;
&lt;li&gt;Opera 5+&lt;/li&gt;
&lt;li&gt;Lynx&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Now, the best way to do this, is to follow my smiple (sic) 7 point design&lt;br&gt;
procedure:&lt;/p&gt;

&lt;h2&gt;1. Content&lt;/h2&gt;

&lt;p&gt;Start with the content. It may be cliche to say so nowadays, but content really is king.&lt;/p&gt;

&lt;h2&gt;2. Markup&lt;/h2&gt;

&lt;p&gt;Mark up the content&amp;#8230;&lt;/p&gt;</description>
		</item>
	</channel>
</rss>
