Google+ Adds Content Recommendations For Mobile WebsitesWebsite owners with a Google+ page will soon be able to add content recommendations to the user experience on their mobile websites. Google just announced the new feature today, which blends both Google+ activity (such as +1s and shares) and search authorship to determine the best related content to show to users as they browse mobile website content. Readers will see recommendations whether they’re signed in to a Google account or not. The feature works for iOS and Android, for the Android browser, Chrome and Safari. There’s a video on that Google blog post that shows best how it works, but that video is inexplicably not on YouTube and doesn’t appear to be easily embeddable. You can see it in action now by reading any Forbes.com article on your mobile device; and here’s a screenshot showing the recommendation in action: Here’s how Google explains the feature on the content recommendations developer page: This feature is being rolled out now.

Website speed testNobody Likes a Slow Website We built this Website Speed Test to help you analyze the load speed of your websites and learn how to make them faster. It lets you identify what about a web page is fast, slow, too big, what best practices you’re not following, and so on. We have tried to make it useful both to experts and novices alike. In short, we wanted it to be a easy-to-use tool to help webmasters and web developers everywhere optimize the performance of their websites. Feature Overview Examine all parts of a web page – View file sizes, load times, and other details about every single element of a web page (HTML, JavaScript and CSS files, images, etc.). How it works All tests are done with real web browsers, so the results match the end-user experience exactly.The top 10 things you've always wanted to do in CSS | Alternate GatewaysHorizontally centre a block element on a page Float block elements next to each other Clear a float Wrap text round an image Make a div expand to fill its content Spruce up your links Have your block element stretch to fit the visible screen Remove page margins, so there is no gap around the edge of the screen Create a horizontal menu Converting a block element to an inline element and vice-versa Horizontally centre an element As you most probably know, the align="center" property has been depreceated for a good long while (since HTML 4). Block Elements By using margin:0 auto , we are creating equal margins on both the and sides of our block element, thus pushing it to the centre of the screen (this is the same as using margin-right:auto; margin-left:auto ). Inline Elements display : block ; margin : 0 auto ; Inline elements will not centre with margin:0 auto alone, as it isn't in their nature. A div horizontally centred on screen will force the element to appear just where it occurs in the code a {

Box-shadow, one of CSS3′s best new featuresHome / CSS3 Previews / Box-shadow, one of CSS3’s best new features The box-shadow property allows designers to easily implement multiple drop shadows (outer or inner) on box elements, specifying values for color, size, blur and offset. Browser support is growing of late with Mozilla (Firefox), Webkit (Safari/Chrome/Konqueror), Opera and the IE9 Platform Preview all offering a decent implementation of the spec, although Mozilla and Webkit still require their respective -moz- and -webkit- prefixes (note Mozilla Firefox 4.0+ no longer requires the -moz- prefix). Here’s a basic example: Firefox, Safari/Chrome, Opera and IE9 users should see a grey fading shadow under this box. In theory, the code for this is straightforward: But for the moment, as with many other ‘experimental’ CSS3 properties, you’ll need to use the following prefixes to support Mozilla and Webkit: How it Works The Syntax: box-shadow: none | [ , ]* = inset? Examples: Creating a basic drop shadow Layering multiple shadows Example:

Krumo: Version 2.0 of print_r(); and var_dump();Border Radius: CSS Rounded Corners Without ImagesRounded corner effects to the blocks in HTML structure enhance the beauty of blogs and we have achieved this effect by using corner images in the past, but the CSS3 border-radius property allows web developers to easily utilize rounder corners in their design elements, without the need for corner images or the use of multiple div tags, and is perhaps one of the most talked about aspects of CSS3. I am going to write CSS rounded corner tutorial to understand “border-radius” property of W3C along with the concept of CSS browser extensions. Let’s start with a very basic example, Border Radius Example 1 Let’s write a html code, and style it with “border-radius” to generate a block with rounded corners. Output You have noticed “border-radius” property and browser specific extension of Mozilla Firefox in the style code. CSS Rounded Corners Without Images Border Radius Detail Rounder corners can be created independently using the four individual border i.e Syntax Examples Border Radius Example 2

Box Shadow Generator | CSS3 Generator | CSS3GenUse this CSS3 box shadow generator to quickly generate box shadow CSS for your project. Your browser does not support the CSS3 box-shadow property. You can still use this tool to generate the CSS3 rule, but you won't be able to see the results. <div class="error_msg">Please enable Javascript to use this page.</div> Box Shadow Explained The CSS3 box-shadow property allows you to add depth to your website's design without the need for images or extra container elements. While the syntax is easy to understand, it is hard to visualise the style using just code. The box-shadow syntax works as follows: The first value defines the distance of the box shadow in the x (horizontal) direction and the second value defines the distance in the y (vertical) direction. Optionally you can include an additional parameter after the blur distance: This defines the spread distance of the shadow. Supporting Browsers

CSS Sprites: Image Slicing’s Kiss of DeathBack when video games were still fun (we’re talking about the 8-bit glory days here), graphics were a much simpler matter by necessity. Bitmapped 2-dimensional character data and background scenery was individually drawn, much like today’s resurgent pixel art. Hundreds and later thousands of small graphics called sprites were the building blocks for all things visual in a game. Article Continues Below As game complexity increased, techniques developed to manage the multitude of sprites while keeping game play flowing. And what does this have to do with the web? Everything old is new again, and though the rise of 3D games has made sprite maps obsolete, the concurrent rise of mobile devices with 2D gaming capabilities have brought them back into vogue. Specifically, we’re going to replace old-school image slicing and dicing (and the necessary JavaScript) with a CSS solution. How do CSS Sprites work? Let’s start with the master image itself. On to the HTML. Applying the CSS#applyingcss