<?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>Ubelly &#187; css</title>
	<atom:link href="http://www.ubelly.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ubelly.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 11:50:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Vendor prefixes: the good, the bad and the ugly</title>
		<link>http://www.ubelly.com/2012/02/vendor-prefixes-the-good-the-bad-and-the-ugly/</link>
		<comments>http://www.ubelly.com/2012/02/vendor-prefixes-the-good-the-bad-and-the-ugly/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 11:36:32 +0000</pubDate>
		<dc:creator>Peter Gasston</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[peter gasston]]></category>
		<category><![CDATA[stopsatgreen]]></category>
		<category><![CDATA[vendor prefixes]]></category>

		<guid isPermaLink="false">http://www.ubelly.com/?p=13062</guid>
		<description><![CDATA[<div><img width="312" height="200" src="http://www.ubelly.com/wp-content/uploads/2012/02/vendorprefixes1.jpg" class="attachment-type-photo wp-post-image" alt="vendorprefixes" title="vendorprefixes" /></div>blockquote {padding-left: 40px;} .code {font-family: courier, terminal, serif;} If you’re a forward-thinking web developer &#8211; which of course, as you’re  <a href="http://www.ubelly.com/2012/02/vendor-prefixes-the-good-the-bad-and-the-ugly/" class="more-link"><span class="more-icon"></span><span class="screen-reader-text">Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<div><img width="312" height="200" src="http://www.ubelly.com/wp-content/uploads/2012/02/vendorprefixes1.jpg" class="attachment-type-photo wp-post-image" alt="vendorprefixes" title="vendorprefixes" /></div><style>
blockquote {padding-left: 40px;}
.code {font-family: courier, terminal, serif;}
</style>
<p><img class="alignright" title="Peter Gasston" alt="" src="http://g-ecx.images-amazon.com/images/G/02/ciu/20/6b/5e8df0da9d720a22d17b08.L._V179529672_SX200_.jpg" width="200" height="200"></p>
<p>If you’re a forward-thinking web developer &#8211; which of course, as you’re a Ubelly reader, almost goes without saying &#8211; you must be pretty familiar with code that looks something like this:</p>
<blockquote class="code"><p>.foo {<br />-moz-transform: rotate(45deg);<br />-ms-transform: rotate(45deg);<br />-o-transform: rotate(45deg);<br />-webkit-transform: rotate(45deg);<br />}</p>
</blockquote>
<p>The same property, repeated four times but with four different prefixes, one for each of the four main browser rendering engines (these are known as <i>vendor prefixes</i>). It seems wasteful; all four operate in exactly the same way, so all this means is extra work for us and a lot of repetition in our stylesheets. Unsurprisingly, a lot of people are calling for these prefixes to be scrapped. In <a href="http://hsivonen.iki.fi/vendor-prefixes/">a post which began a round of discussion recently</a>, Henri Sivonen said:</p>
<blockquote><p>I think vendor prefixes are hurting the Web. They are hurting Web authors. They are hurting users of browsers. They are hurting competition in the Web browser space.</p>
</blockquote>
<p>This divided opinion. <a href="http://www.glazman.org/weblog/dotclear/index.php?post/2011/11/16/CSS-vendor-prefixes-an-answer-to-Henri-Sivonen">Daniel Glazman disagreed</a> in a point-by-point rebuttal, but Alex Russell was more emphatic still, saying “<a href="http://infrequently.org/2011/11/vendor-prefixes-are-a-rousing-success/">vendor prefixes are a rousing success</a>”:</p>
<blockquote><p>Prefixes are an enabler in allowing the <i>necessary</i> process of use, iteration, and consensus building to take place.</p>
</blockquote>
<p>So I’d like to provide a little context to the debate, as well as put my own opinion on the relative success of vendor prefixes.</p>
<h4>What are vendor prefixes for?</h4>
<p>In the past they were mainly used for features that were proprietary to each particular browser, but in recent years they’ve become more common as a way to introduce experimental support for new CSS properties, before they become standardised. The aim is that no browser introduces a new feature before it’s been found to be fully interoperable with other browsers.</p>
<p>As an extreme example, imagine we introduce a new property called <span  class="code">dangle</span> which takes a single angle value, like so:</p>
<blockquote class="code"><p>.foo { dangle: 45deg; }</p>
</blockquote>
<p>Seems straightforward, but what if WebKit measured that angle vertically, and Mozilla, horizontally? If the two implemented the property without a prefix, the feature would be interoperable; in one of the two browsers it would display completely differently to how you wanted it.</p>
<p>Browser prefixes are intended to save us from that problem, and when they do their job, they do it very well. For a real world example, consider the <span class="code">radial-gradient</span> property. This is how the syntax looked when WebKit first introduced it, used to create a circular black to white gradient from the top left corner with a 100px radius:</p>
<blockquote class="code"><p>gradient(radial,0,0,0,0,0,100,from(black),to(white);</p>
</blockquote>
<p>Not to put too fine a point on it, it was ugly. As the syntax currently stands, you have to do this to get the same effect:</p>
<blockquote class="code"><p>radial-gradient(0 0,circle,black,white 100px,transparent 100px);</p>
</blockquote>
<p>But there’s a new, refined syntax on its way, which does the same like this:</p>
<blockquote class="code"><p>radial-gradient(100px circle at 0 0,black,white);</p>
</blockquote>
<p>The syntax has undergone radical changes since first being introduced, it’s much more logical and human-readable now, and it’s thanks only to the browser prefixes being used that we haven’t ended up with a load of incompatible properties across different browsers, causing us (and therefore our clients) no end of problems.</p>
<p>So you can see how prefixes are useful in this example, but the complaints tend to come when we have the opposite; as in my first example, where we have four properties working in exactly the same way, seemingly standardised but not available for us to use yet.</p>
<p>That’s down to the way the W3C works. Their criteria state that features are deemed to be experimental until the module they belong to has gained Candidate Recommendation status. This means the technical reviews have been completed and there are no outstanding objections, which are things we don’t always get to see; while it may appear to us that the feature is ready, there may be very good reasons why it isn’t.</p>
<h4><a name="h.26k61seari6n"></a>The real problems with browser prefixes</h4>
<p>Other than making our code messy and repetitious, there are two serious problems being caused by prefixes in the form they currently take.</p>
<p>The first is that developers love to experiment with cutting edge features as they’re released, creating demos to show off their potential. But sometimes a feature can be implemented in one browser years before it appears in others, as was the case with CSS Animations. When that happens, those demos aren’t always updated to accommodate the new vendor prefixed property, meaning that in new browser versions the demos simply don’t work even though it seems as if they should &#8211; which looks like the fault of the browser, not the developer.</p>
<p>The other problem occurs when developers use prefixed properties in a way that, deliberately or otherwise, means the targeted browser is the only one that can display the site correctly. I’m thinking specifically of WebKit properties on mobile here; it’s unfortunately the case that some developers make mobile websites using <i class="code">-webkit-</i> properties only, meaning that alternative browsers &#8211; such as IE9 Mobile, Opera Mobile, Firefox for Android &#8211; get a broken or non-existent experience. This is an example where browser prefixes lead to a browser monoculture which is actively harmful.</p>
<p>The situation has become so bad that some browser makers have considered implementing <i class="code">-webkit-</i> properties just so that their users can browse the web without problems. Should this happen, this would break the vendor prefix system once and for all.</p>
<h4><a name="h.fx696gt2aopq"></a>Some proposed solutions</h4>
<p>Many people have suggested ways to replace the vendor prefix system: Henri Sivonen suggested in his original post that experimental features should be kept in nightly and development releases of browsers, and not make their way into full releases until they are stable. <a href="http://lea.verou.me/2011/11/vendor-prefixes-have-failed-whats-next/">Lea Verou suggested a number of different approaches</a>, including using a single experimental prefix but applied per-browser using an <span class="code">@vendor</span> rule, and <a href="http://lea.verou.me/2011/11/vendor-prefixes-have-failed-whats-next/">Felipe Gomes has a similar suggestion</a>, using the @vendor-unlock rule to activate experimental properties.</p>
<p>However, all of these people believe that the vendor prefix system is more fundamentally broken than I do. I think the problem is a little more obvious, as you’ll notice that both of the key problems I described previously have a clear commonality: developers. Us. As Opera’s <a href="http://www.brucelawson.co.uk/2012/vendor-prefixes-mobile-monoculture/">Bruce Lawson said</a>:</p>
<blockquote><p>We’re approaching a monoculture on mobile. This is not the work of an evil organisation, but it’s developer-constructed.</p>
</blockquote>
<p>In a post on this subject on my own blog, <a href="http://www.broken-links.com/2011/11/15/an-argument-in-favour-of-vendor-prefixes/">I argued that we need to take more responsibility</a>, including:</p>
<ul>
<li>Commit to supporting old demos that we have made.
<li>Always make sure we plan our designs and builds in a way that they are not reliant on prefixed features, but degrade gracefully.
<li>Don’t use an unprefixed property before standardisation has happened unless we can have reasonable confidence that it is safe. </li>
</ul>
<p>Even if you’re an advocate for a more fundamental revamp, you should agree that a change in our behaviour could be massively beneficial to the web as a whole.</p>
<p>Of course, there is another option: don’t use vendor prefixed properties at all.</p>
<h4><a name="h.akyf9thcdncl"></a>Bonus section: Tools</h4>
<p>If you get bored writing out all of the prefixes individually, there are tools such as <a href="http://prefixr.com/">Prefixr</a> and <a href="http://css3please.com/">CSS3 Please!</a> which allow you to write the rule once and have all the code output for you.</p>
<p>An alternative approach is to use tools which pre-process your stylesheets, either on the client side like <a href="http://leaverou.github.com/prefixfree/">-prefix-free</a> or <a href="http://lesscss.org/">LESS</a>, or the server side like <a href="http://sass-lang.com/">Sass</a>. Note that the former two introduce a dependency on JavaScript, which may be less than optimal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubelly.com/2012/02/vendor-prefixes-the-good-the-bad-and-the-ugly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gearing up for New Adventures in Nottingham</title>
		<link>http://www.ubelly.com/2011/01/gearing-up-for-new-adventures-in-nottingham/</link>
		<comments>http://www.ubelly.com/2011/01/gearing-up-for-new-adventures-in-nottingham/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 14:34:30 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[#naconf]]></category>
		<category><![CDATA[brendan dawes]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[elliot jay stocks]]></category>
		<category><![CDATA[new adventures]]></category>
		<category><![CDATA[nottingham]]></category>
		<category><![CDATA[sam hardacre]]></category>

		<guid isPermaLink="false">http://www.ubelly.com/?p=5703</guid>
		<description><![CDATA[<div><img width="1200" height="853" src="http://www.ubelly.com/wp-content/uploads/2011/01/na-logo1.jpg" class="attachment-type-photo wp-post-image" alt="na-logo" title="na-logo" /></div>Tomorrow a few of the Ubelly guys (namely Martin, Andrew and myself) will be heading up to Nottingham to attend the  <a href="http://www.ubelly.com/2011/01/gearing-up-for-new-adventures-in-nottingham/" class="more-link"><span class="more-icon"></span><span class="screen-reader-text">Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<div><img width="1200" height="853" src="http://www.ubelly.com/wp-content/uploads/2011/01/na-logo1.jpg" class="attachment-type-photo wp-post-image" alt="na-logo" title="na-logo" /></div><p><a rel="attachment wp-att-5705" href="http://www.ubelly.com/2011/01/gearing-up-for-new-adventures-in-nottingham/na-logo-2/"><img class="alignnone size-Featured wp-image-5705" src="http://www.ubelly.com/wp-content/uploads/2011/01/na-logo1-460x240.jpg" alt="" width="460" height="240" /></a></p>
<p>Tomorrow a few of the Ubelly guys (namely <a href="http://www.ubelly.com/author/thebeebs/" target="_blank">Martin</a>, <a href="http://www.ubelly.com/author/spooner/">Andrew</a> and myself) will be heading up to Nottingham to attend the <a href="http://newadventuresconf.com" target="_blank">New Adventures in Web Design</a> conference. We&#8217;re rather excited due to the calibre of speakers (and attendees for that matter) and can&#8217;t wait to hear some of the talks. We&#8217;ll be live tweeting throughout the day from <a href="http://twitter.com/Ubelly" target="_blank">@Ubelly</a> and will have a blog or two to post about the conference.</p>
<p>We&#8217;re particularly looking forward to hearing about <a href="http://twitter.com/brendandawes" target="_blank">Brendan Dawes</a>&#8216; journey and <a href="http://twitter.com/elliotjaystocks" target="_blank">Elliot Jay Stocks</a>&#8216; &#8216;With Great Power Comes Great Responsibility&#8217; talk, which focuses on HTML5 and CSS3 and the possibilities (and dangers) of using these nifty new technologies.</p>
<p>In addition, we&#8217;ve got an extra person coming along in the form of <a href="http://twitter.com/nocturnalmonkey" target="_blank">Sam</a> to sketchnote the conference (and provide the little image above). We had something similar last year at <a href="http://www.flickr.com/photos/ubelly/sets/72157625053185564/" target="_blank">Flash on the Beach</a>, but with a new year and new conference we&#8217;ve picked someone up with a whole new style and we&#8217;re looking forward to how it goes!</p>
<p>Can we stop there? Of course not.</p>
<p>Keep an eye out on Foursquare, as we&#8217;ve set up a <a href="http://foursquare.com/venue/15846434" target="_blank">special venue</a> for #naconf and we&#8217;ll be giving out some goodies through the day. All you have to do is find us  first&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubelly.com/2011/01/gearing-up-for-new-adventures-in-nottingham/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 border-radius in the real world</title>
		<link>http://www.ubelly.com/2011/01/css3-border-radius-in-the-real-world/</link>
		<comments>http://www.ubelly.com/2011/01/css3-border-radius-in-the-real-world/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 16:10:00 +0000</pubDate>
		<dc:creator>thebeebs</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.ubelly.com/2011/01/css3-border-radius-in-the-real-world/</guid>
		<description><![CDATA[<div><img width="244" height="184" src="http://www.ubelly.com/wp-content/uploads/2011/01/WP_000138.jpg" class="attachment-type-photo wp-post-image" alt="WP_000138.jpg" title="WP_000138.jpg" /></div>I was walking through the high street yesterday and noticed a poster outside of M&#38;S that was advertising a dine  <a href="http://www.ubelly.com/2011/01/css3-border-radius-in-the-real-world/" class="more-link"><span class="more-icon"></span><span class="screen-reader-text">Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<div><img width="244" height="184" src="http://www.ubelly.com/wp-content/uploads/2011/01/WP_000138.jpg" class="attachment-type-photo wp-post-image" alt="WP_000138.jpg" title="WP_000138.jpg" /></div><p>I was walking through the high street yesterday and noticed a poster outside of M&amp;S that was advertising a dine in for two, £10 promotion. The way that they had used a picture as the infill for the 0 in £10 made me think about how you could achieve that effect using CSS3.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="M&amp;S Advert" border="0" alt="M&amp;S Advert" src="http://www.ubelly.com/wp-content/uploads/2011/01/WP_000138.jpg" width="244" height="184" /><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="M&amp;S Advert 2" border="0" alt="M&amp;S Advert 2" src="http://www.ubelly.com/wp-content/uploads/2011/01/WP_000137.jpg" width="244" height="184" /></p>
<p>So when I got home I booted up my editor and had a fiddle with the border-radius property that&#8217;s supported in IE9, Chrome, Safari, FireFox and Opera.</p>
<p>From the picture I&#8217;d say they were using Helvetica as the font, but to keep things simple I’ve just used Arial.</p>
<p>Firstly I added the HTML I’ll need which consists of some text wrapped in a span and on the right a 200px by 200px image of some food:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:53b6ccf4-b7e1-4112-8033-cb424d67662f" class="wlWriterEditableSmartContent">
<pre style=" width: 600px; height: 36px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #0000FF;">&lt;</span><span style="color: #800000;">span</span><span style="color: #0000FF;">&gt;</span><span style="color: #000000;">&#163;1</span><span style="color: #0000FF;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000FF;">&gt;&lt;</span><span style="color: #800000;">img </span><span style="color: #FF0000;">src</span><span style="color: #0000FF;">=&quot;food.png&quot;</span><span style="color: #FF0000;"> style</span><span style="color: #0000FF;">=&quot;width:200px; height:200px&quot;</span><span style="color: #FF0000;"> </span><span style="color: #0000FF;">/&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Then I added the CSS for the page:</p>
<p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:775fd86a-69bb-4432-9f5e-374eebb1eff3" class="wlWriterEditableSmartContent">
<pre style=" width: 460px; height: 329px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800000;">&lt;style&gt;
    body</span><span style="color: #000000;">{</span><span style="color: #FF0000;">
        background-color</span><span style="color: #000000;">:</span><span style="color: #0000FF;">#000</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
         font-family</span><span style="color: #000000;">:</span><span style="color: #0000FF;">arial</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">
    span
    </span><span style="color: #000000;">{</span><span style="color: #FF0000;">
        color</span><span style="color: #000000;">:</span><span style="color: #0000FF;">#fff</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        vertical-align</span><span style="color: #000000;">:</span><span style="color: #0000FF;">middle</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        font-size</span><span style="color: #000000;">:</span><span style="color: #0000FF;"> 280px</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">

    img </span><span style="color: #000000;">{</span><span style="color: #FF0000;">
        border-radius</span><span style="color: #000000;">:</span><span style="color: #0000FF;">105px</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        border</span><span style="color: #000000;">:</span><span style="color: #0000FF;"> 10px solid #fff</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        vertical-align</span><span style="color: #000000;">:</span><span style="color: #0000FF;">middle</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">
&lt;/style&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p>To create the round image shape I added the CSS3 attribute border-radius and set it’s value to 105 which is half the size of the width + border.</p>
<p>I also added a 10px white border so that it looks more like the original image.</p>
<p>I started up the browser and IE9 displayed roughly what I was expecting. However a number of the other browser failed to correctly apply the border.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Internet Explorer 9" border="0" alt="Internet Explorer 9" src="http://www.ubelly.com/wp-content/uploads/2011/01/image20.png" width="244" height="123" /></p>
<p>&#160;</p>
<h2>Google Chrome </h2>
<p>rounded the corners but did not display the white border that I specified.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Chrome Failed to render the border" border="0" alt="Chrome Failed to render the border" src="http://www.ubelly.com/wp-content/uploads/2011/01/image21.png" width="244" height="135" /></p>
<h2>Safari </h2>
<p>pulled the same trick.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Safari failed to render the border" border="0" alt="Safari failed to render the border" src="http://www.ubelly.com/wp-content/uploads/2011/01/image22.png" width="244" height="129" /></p>
<h2>Firefox </h2>
<p>Did not apply the rounded corners at all. This is because Firefox currently applies border radius with a vendor prefix.</p>
<p>&#160;<img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="FireFox" border="0" alt="FireFox" src="http://www.ubelly.com/wp-content/uploads/2011/01/image23.png" width="244" height="128" /></p>
<p>To fix this you simply have to add the vendor specific code to the image in CSS:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:105a336f-067e-4021-9b78-affea79c6712" class="wlWriterEditableSmartContent">
<pre style=" width: 460px; height: 38px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800000;">-moz-border-radius : 105px;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>However, Firefox still didn’t apply the border as I was expecting.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Firefox" border="0" alt="Firefox" src="http://www.ubelly.com/wp-content/uploads/2011/01/image24.png" width="244" height="133" /></p>
<h2>Opera</h2>
<p>The rendering in opera was similar:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Opera" border="0" alt="Opera" src="http://www.ubelly.com/wp-content/uploads/2011/01/image25.png" width="244" height="131" /></p>
<p>&#160;</p>
<p>It seemed that only IE9 Beta was rendering border-radius correctly, so I thought I’d change approach. This time I created a DIV and set it’s background-image property to the food image and rounded the corners of the DIV.</p>
<p>&#160;</p>
<p>This time all the browsers displayed the border-radius correctly, however I had now broken the vertical-alignment by using&#160; a left floated div&#160; rather than an image.</p>
<p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:f25dfe46-d48e-482f-8898-e0c6bd86c14a" class="wlWriterEditableSmartContent">
<pre style=" width: 460px; height: 428px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800000;">&lt;style&gt;
    body</span><span style="color: #000000;">{</span><span style="color: #FF0000;">
    background-color</span><span style="color: #000000;">:</span><span style="color: #0000FF;">#000</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
         font-family</span><span style="color: #000000;">:</span><span style="color: #0000FF;">arial</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">
    span
    </span><span style="color: #000000;">{</span><span style="color: #FF0000;">
        color</span><span style="color: #000000;">:</span><span style="color: #0000FF;">#fff</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        vertical-align</span><span style="color: #000000;">:</span><span style="color: #0000FF;">middle</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        font-size</span><span style="color: #000000;">:</span><span style="color: #0000FF;"> 280px</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        float</span><span style="color: #000000;">:</span><span style="color: #0000FF;">left</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">

    div </span><span style="color: #000000;">{</span><span style="color: #FF0000;">
        background-image</span><span style="color: #000000;">:</span><span style="color: #0000FF;">url(&quot;food.png&quot;)</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        border-radius</span><span style="color: #000000;">:</span><span style="color: #0000FF;">105px</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        border</span><span style="color: #000000;">:</span><span style="color: #0000FF;"> 10px solid #fff</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        -moz-border-radius </span><span style="color: #000000;">:</span><span style="color: #0000FF;"> 105px</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        vertical-align</span><span style="color: #000000;">:</span><span style="color: #0000FF;">middle</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
        float</span><span style="color: #000000;">:</span><span style="color: #0000FF;">left</span><span style="color: #000000;">;</span><span style="color: #FF0000;">
    </span><span style="color: #000000;">}</span><span style="color: #800000;">

&lt;/style&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:8b7b1483-7c77-43f5-a7ad-000d16fcd32b" class="wlWriterEditableSmartContent">
<pre style=" width: 460px; height: 49px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #0000FF;">&lt;</span><span style="color: #800000;">span</span><span style="color: #0000FF;">&gt;</span><span style="color: #000000;">&#163;1</span><span style="color: #0000FF;">&lt;/</span><span style="color: #800000;">span</span><span style="color: #0000FF;">&gt;&lt;</span><span style="color: #800000;">div </span><span style="color: #FF0000;">style</span><span style="color: #0000FF;">=&quot;width:200px; height:200px&quot;</span><span style="color: #FF0000;"> </span><span style="color: #0000FF;">/&gt;</span><span style="color: #000000;">   </span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<h2>IE9</h2>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Internet Explorer 9" border="0" alt="Internet Explorer 9" src="http://www.ubelly.com/wp-content/uploads/2011/01/image26.png" width="244" height="129" /></p>
<h2>Opera</h2>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="opera" border="0" alt="opera" src="http://www.ubelly.com/wp-content/uploads/2011/01/image27.png" width="244" height="121" /></p>
<p>&#160;</p>
<h2>Safari</h2>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Safari" border="0" alt="Safari" src="http://www.ubelly.com/wp-content/uploads/2011/01/image28.png" width="244" height="119" /></p>
<h2>Chrome</h2>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Chrome" border="0" alt="Chrome" src="http://www.ubelly.com/wp-content/uploads/2011/01/image29.png" width="244" height="124" /></p>
<h2>FireFox</h2>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Firefox" border="0" alt="FireFox" src="http://www.ubelly.com/wp-content/uploads/2011/01/image30.png" width="244" height="131" /></p>
<p>&#160;</p>
<p>I guess the lesson here is: Don’t use CSS3 border-radius on elements other than DIV’s if you want consistent rendering across all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubelly.com/2011/01/css3-border-radius-in-the-real-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>10 jQuery plugins, free VS2010 training and how to stay sane</title>
		<link>http://www.ubelly.com/2010/05/10-jquery-plugins-free-vs2010-training-and-how-to-stay-sane/</link>
		<comments>http://www.ubelly.com/2010/05/10-jquery-plugins-free-vs2010-training-and-how-to-stay-sane/#comments</comments>
		<pubDate>Sun, 23 May 2010 14:30:07 +0000</pubDate>
		<dc:creator>Sara Allison</dc:creator>
				<category><![CDATA[Weekly Digest]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://www.ubelly.com/?p=1547</guid>
		<description><![CDATA[Free Visual Studio 2010 training – learn the new features for Application Lifecycle Management (ALM). Yep, it really is free…  <a href="http://www.ubelly.com/2010/05/10-jquery-plugins-free-vs2010-training-and-how-to-stay-sane/" class="more-link"><span class="more-icon"></span><span class="screen-reader-text">Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://bit.ly/9MRVMN">Free Visual Studio 2010 training</a> – learn the new features for Application Lifecycle Management (ALM). Yep, it really is free…</p>
<p>Trying to get a good website layout and CSS not quite cutting it? here’s <a href="http://webdesignledger.com/tools/10-jquery-plugins-to-help-with-web-page-layouts">10 jQuery Plugins to Help with Web Page Layouts</a></p>
<p>Starting out building retail websites? Make sure you add SEO into your list of things to do. To help, here’s <a href="http://www.napleswebdesign.net/5-seo-tips-for-retail-websites/">5 SEO Tips for Retail Websites</a> </p>
<p>Fancy playing around with CSS and html to create some cartoons, videos and animation? <a href="http://speckyboy.com/2010/05/21/10-mind-blowing-experimental-css3-techniques-and-demos/">10 Mind-Blowing Experimental CSS3 Techniques and Demos</a></p>
<p><a href="http://feedproxy.google.com/~r/seoptimise/~3/uqQ852qqTT0/46-croconversion-rate-optimization-resources-for-web-design-seo-social-media-experts.html">46 CRO/Conversion Rate Optimization Resources for Web Design, SEO &amp; Social Media Experts</a> – not sure whether your outsourced partners are really experts? This article could help…</p>
<p><a href="http://bit.ly/b4q3ML">Research Desktop</a> tags your activities and creates a unified user experience for the desktop.</p>
<p>Working remotely? Need to stay sane? Read Jeff Atwood <a href="http://www.codinghorror.com/blog/2010/05/on-working-remotely.html">On Working Remotely</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubelly.com/2010/05/10-jquery-plugins-free-vs2010-training-and-how-to-stay-sane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weekly Digest</title>
		<link>http://www.ubelly.com/2010/02/weekly-digest/</link>
		<comments>http://www.ubelly.com/2010/02/weekly-digest/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 16:57:29 +0000</pubDate>
		<dc:creator>Sara Allison</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[augmented reality maps]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web forms]]></category>

		<guid isPermaLink="false">http://www.ubelly.com/?p=212</guid>
		<description><![CDATA[App Store Quality Control Without the Quality – learning how an app store shouldn’t work. Estimating Programming Time – interesting  <a href="http://www.ubelly.com/2010/02/weekly-digest/" class="more-link"><span class="more-icon"></span><span class="screen-reader-text">Continue Reading</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://37signals.com/svn/posts/2145-the-app-store-quality-control-without-the-quality">App Store Quality Control Without the Quality</a> – learning how an app store shouldn’t work.</p>
<p><a href="http://www.itworld.com/it-managementstrategy/95770/estimating-programming-time">Estimating Programming Time</a> – interesting read from an Oracle developer about culture, coding, and planning.</p>
<p><a href="http://forabeautifulweb.com/blog/about/enable_css_pseudo-element_selectors_in_internet_explorer_with_ie-css3.js/">Enable CSS pseudo-element selectors in Internet Explorer with IE-CSS3.js</a>  &#8211; as Andy Clarke says, this is a ‘game changer’. Take a look at his step by step guide.</p>
<p><a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2010/02/15/silverlight-4-beta-networking-screencasts.aspx">Silverlight 4 Beta Networking Screencasts</a> by our very own Mike Taulty.</p>
<p><a href="http://feedproxy.google.com/~r/typepad/sethsmainblog/~3/EUfNbSZgvI0/viral-growth-trumps-lots-of-faux-followers.html">Viral growth trumps lots of faux followers</a> – you might have 1000+ followers but are they doing anything with your tweets?</p>
<p><a href="http://www.ted.com/talks/blaise_aguera.html">Blaise Aguera y Arcas demos augmented-reality maps</a> – this will blow your mind, showing how Bing maps integrates all available data to provide an in-context experience.</p>
<p style="width: 580px; height: 28px;">Not 10, not 20 – not even 30 but <a href="http://www.smashingmagazine.com/2010/02/18/50-css-and-javascript-techniques-for-layouts-forms-and-visual-effects/">50 useful coding techniques</a>.</p>
<p>Just starting out as a web designer and need help? Here&#8217;s some ‘<a href="http://www.smashingmagazine.com/2010/02/17/group-interview-advice-for-students-and-new-designers/">Expert advice for students and young web designers</a>’</p>
<p><a href="http://www.1stwebdesigner.com/design/important-usability-principles-website-designers/">5 Timeless Usability Principles for Website Designers</a>. We think they&#8217;re useful &#8211; do you agree?</p>
<p>Client asking you to create a web form and need inspiration? Here are ‘<a href="http://mashable.com/2010/02/17/business-web-forms/">4 Terrific Tools for Creating Business Web Forms</a>’. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubelly.com/2010/02/weekly-digest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User is logged in)
Database Caching using disk: basic
Object Caching 816/904 objects using disk: basic

Served from: www.ubelly.com @ 2012-02-09 08:43:15 -->
