Newspaper Layouts with Columns and Image Masks

Our final example in this article will demonstrate how to use a couple of new CSS attributes and functions to create a cool newspaper layout — in this case the href="http://www.zurb.com/playground/newspaper-layout">Super Awesome Times.

The faux-newspaper look goes in and out of style online pretty frequently, but these tricks can be used for quite a few cool applications. What we’ll talk about here is using -webkit-mask-image and -webkit-column-count.

Using Image Masks

Image masking is a way to affect the alpha channel of a block-level element by masking it with another image (or anything that can take the place of an image, like a gradient). For the Super Awesome Times we wanted to apply a subtle gradient to the masthead. We could simply render an image, but that’s no fun. Instead we masked the text (which in this case is an image, but with @font-face you could use text instead) with a generated gradient. Check it out:

	div#masthead img {
	-webkit-mask-image:
		-webkit-gradient(
			linear,
			left top, left bottom,
			from(rgba(0,0,0,.75)), to(rgba(0,0,0,1)));
	}

The only property we need is -webkit-mask-image — the browser will use whatever you supply to create an alpha mask for the image or block element you’ve applied the mask to. In this case we use a gradient, which causes the masthead to fade from 75% opacity to 100%. Below is the masthead with the mask, and without — so you can see the difference:

href="http://www.zurb.com/playground/newspaper-layout"> src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/12/newspaper-1.jpg" width="639" height="165" alt="Newspaper-1 in Stronger, Better, Faster Design with CSS3" />

It’s a subtle change, but some added depth can go a long way. There’s a href="http://webkit.org/blog/181/css-masks/">great introduction to using masks over on Surfin’ Safari, the official WebKit blog. You can see how masks can be used for all sorts of interesting effects — even masking out an actual playing video.

Stunningly Easy Text Columns

Finally, we’ll show you how to use a new (and very poorly supported, so far) property in CSS3: text columns. Not the floated div kind, but the kind where you can simply set the number of columns and the gutter and have the browser do the rest.

href="http://www.zurb.com/playground/newspaper-layout" style="display: block; padding: 10px; border: solid 1px #ccc;"> src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/12/newspaper-2.jpg" width="594" height="202" alt="Newspaper-2 in Stronger, Better, Faster Design with CSS3" /> />3 columns, no fuss.

In the example above you can see three columns of text, but if you click through to the live example and view the source code, you’ll see that we’ve used just one div containing a number of paragraphs. Nothing tricky, no floats, no bizarre height manipulations — we’re just telling the browser to put the content of that block into 3 columns with 15px of space between them. Here’s how:

	div.three-col {
		-webkit-column-count: 3;
		-webkit-column-gap: 15px;
		-moz-column-count: 3;
		-moz-column-gap: 15px;
	}

That’s it! Simple, easy markup and styling. The catch here is that even in forward-thinking browsers this property has pretty poor support — there are a number of other properties (like dividers, breakers, etc) that haven’t been implemented or at all supported yet. This is just a taste of what’s to come — simple columns are on the way, but not here just yet.

style="padding: 25px 15px; background: #fafafafa none repeat scroll 0% 0%; display: block;"> href="http://www.zurb.com/playground/newspaper-layout"> src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/12/newspaper-layout-th.jpg" width="210" height="162" style="float: left; margin-right: 15px;" alt="Newspaper-layout-th in Stronger, Better, Faster Design with CSS3" />

href="http://www.zurb.com/playground/newspaper-layout">See the Live Demo »

Check out the Super Awesome Times on the Playground – just creating this prototype got some cool ideas kicking for our own site and blog.

Coming Up in CSS3…

We hope you enjoyed this further foray into CSS3. You can still check out our article on CSS3 buttons (including one which, no kidding, glows radioactively). Stay tuned for the third and final article in the series, where we’ll take the CSS properties and really go to town with polaroids, an OS X dock, vinyl album music players and more.

References and Resources:

  • href="http://www.smashingmagazine.com/2009/12/02/pushing-your-buttons-with-practical-css3/">Pushing Your Buttons with Practical CSS3
  • href="http://webkit.org/blog/181/css-masks/">Using -webkit-mask-image at Surfin’ Safari
  • href="http://www.css3.info/preview/multi-column-layout/">Introduction to Columns at CSS3.info
  • href="http://css-tricks.com/rgba-browser-support/">RGBa Browser Support at CSS-Tricks
  • href="http://webkit.org/blog/138/css-animation/">Introduction to CSS Animation at Surfin’ Safari
  • href="http://www.css3.info/webkit-introduce-more-new-features/">Introduction to CSS Transitions at CSS3.info
  • href="http://developer.apple.com/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Introduction/Introduction.html">Safari Visual Effects Documentation
/>

© ZURB for href="http://www.smashingmagazine.com">Smashing Magazine, 2009. | href="http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/">Permalink | href="http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/#comments">88 comments | title="Bookmark in del.icio.us" href="http://del.icio.us/post?url=http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/&title=Stronger,%20Better,%20Faster%20Design%20with%20CSS3">Add to del.icio.us | title="Bookmark in Digg" href="http://digg.com/submit?phase=2&url=http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/">Digg this | title="Stumble on StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/">Stumble on StumbleUpon! | title="Tweet us!" href="http://twitter.com/home?status=@tweetmeme%20@smashingmag%20Reading%20'Stronger,%20Better,%20Faster%20Design%20with%20CSS3'%20http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/">Tweet it! | title="Bookmark in Reddit" href="http://reddit.com/submit?url=http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/">Submit to Reddit | href="http://forum.smashingmagazine.com/">Forum Smashing Magazine
Post tags: href="http://www.smashingmagazine.com/tag/css/" rel="tag">CSS, href="http://www.smashingmagazine.com/tag/css3/" rel="tag">css3

Tagged with:
 

Google: Comment Spam Can Hurt Your Site’s Ranking

Google wrote a blog post named Hard facts about comment spam. I’ll sum it up for you quickly. If you do not protect your site against comment spam, Google will trust your site less and it can ultimately hurt your rankings.

Most blogs these days have automatic comment spam solutions, but you need to make sure your blog is handling it correctly. I check comment spam here several times a day. Although most gets caught, some leaks through and I need to take care of them manually. Yes, I have them all nofollowed anyway, but comment spam looks bad and it distracts from the content on this site. I am more concerned with it distracting from the content here then Google trusting me less – too be honest. But most bloggers are more concerned with Google trust over reader trust, so either way, this is something you need to take care of.

How does this hurt your rankings? Well, if Google trusts the links on your site less, then your internal linking power dwindles down and you rank lower.

Google offers these tips:

  • Disallow anonymous posting.
  • Use CAPTCHAs and other methods to prevent automated comment spamming.
  • Turn on comment moderation.
  • Use the “nofollow” attribute for links in the comment field.
  • Disallow hyperlinks in comments.
  • Block comment pages using robots.txt or meta tags.

There is a lot of discussion around this blog post at Google. Some seem surprised by this, while others do not.

Forum discussion at DigitalPoint Forums and HighRankings Forum.


Google wrote a blog post named Hard facts about comment spam. I’ll sum it up for you quickly. If you do not protect your site against comment spam, Google will trust your site less and it can ultimately hurt your rankings.

Most blogs these days have automatic comment spam solutions, but you need to make sure your blog is handling it correctly. I check comment spam here several times a day. Although most gets caught, some leaks through and I need to take care of them manually. Yes, I have them all nofollowed anyway, but comment spam looks bad and it distracts from the content on this site. I am more concerned with it distracting from the content here then Google trusting me less – too be honest. But most bloggers are more concerned with Google trust over reader trust, so either way, this is something you need to take care of.

How does this hurt your rankings? Well, if Google trusts the links on your site less, then your internal linking power dwindles down and you rank lower.

Google offers these tips:

  • Disallow anonymous posting.
  • Use CAPTCHAs and other methods to prevent automated comment spamming.
  • Turn on comment moderation.
  • Use the “nofollow” attribute for links in the comment field.
  • Disallow hyperlinks in comments.
  • Block comment pages using robots.txt or meta tags.

There is a lot of discussion around this blog post at Google. Some seem surprised by this, while others do not.

Forum discussion at DigitalPoint Forums and HighRankings Forum.



Tagged with:
 

SEO Tips for Creating a Strategic Game Plan

Websites do not optimize themselves; they need SEO, a game plan and tactful execution to overcome savvy competitor’s intent on ranking in the top 3 results for any respective profit-bearing keyword.
As a result, it boils down to which site has (a) the most authority (b) the most relevant content (c) the most relevant on page [...]

Websites do not optimize themselves; they need SEO, a game plan and tactful execution to overcome savvy competitor’s intent on ranking in the top 3 results for any respective profit-bearing keyword.

SEO Tips to Develop a Tactical Game Plan

SEO Tips to Develop a Tactical Game Plan

As a result, it boils down to which site has (a) the most authority (b) the most relevant content (c) the most relevant on page SEO signals and (d) the most popular off page inbound links.

The underlying multifaceted metrics of information retrieval remain the same for websites regardless of industry or topic; however, the only distinguishing metrics that shift are the degrees of optimization within each of the respective thresholds.

These distinguishing metrics are based on granular consistencies that reinforce relevance at every opportunity.

Metrics such as:

  • alt image continuity (using the Alt attribute for SEO)
  • relevant naming conventions (naming pages properly)
  • relevant site architecture (a well structured website)
  • relevant internal links (the way you link to your own content)
  • sufficient deep links to specific pages (linking to pages other than the homepage)
  • a sufficient volume of content on a topic (dedicating pages of content per keyword)

By streamlining these on page and off page metrics, a site can improve their overall relevance score and glide past clunky competitors using less refined optimization methods.

Some industries have a lower barrier to entry due to lower search volume, which is all based on supply and demand. This supply and demand are responsible for determining how steep and challenging acquiring a ranking can be based on the keyword. However, the market itself dictates which keywords are worthy targets.

Most consumers when they are hunting for something to purchase are impulsive and impatient. Understanding this, getting as many keywords above the fold (above the scroll line on a page) is the ultimate objective of SEO.

This means you must map out which keywords are the most lucrative to hang your hat on when banking on conversion and return on investment. Some keywords you can acquire with very little effort, others take month or sometimes years to rise to the top.

The key is to target a market holistically and encompass the various nodes of relevance to educate, entice and convert users based on their needs and intent.  Someone looking to make an impulse purchase may not need to read 1000 words on why you product is better than your competitors; a picture with a price tag and 20 word description is more fitting for their needs.

Similarly, someone who needs more information about a product, is not ready to check out either and may look on another site or skim social media to look for feedback or reviews. By understanding search behavior and coupling that information with what people need to make informed purchasing decisions, you can position your website across a myriad of keywords and modifiers to encourage conversion by intelligently appeasing their impulse, need for information and emotion triggers that compel them to “buy now”.

On the contrary, if you cue the wrong message at the wrong time to the wrong consumer, you will repel them based upon the fact that they are not far enough in the sales cycle to engage your proposition. SEO is more about mapping the ideal page for the ideal user than it is about the actual processes or techniques that are used to execute it.

A keyword dud or lackluster page produces the same effect “absolutely nothing” so, mapping the right conversion paths to the right keywords and respective landing pages and then having something worth sharing from “marketing your product” is half the battle of conversion – which is the ultimate objective of SEO.

SEO is all about results, and optimizing a keyword dud that gets one search a week is futile, you should target keywords within reach until they are ranking in the top 5 results, then when you site matures use that momentum to target even more competitive keywords or market segments.

The takeaway here is, 75% of your time, energy and effort should be digging deep into competitive analysis and keyword research to extract the best commerce laden keywords that convert, the other 25% should be spent developing topical content, consolidating internal links and building deep links to your preferred landing pages.

Type in traffic from people using keywords is only one facet of traffic, but when a website ranks for thousands of keywords, the notion is, it is hard to conduct a search on a topic without running into it, because that site IS an authority on the topic.

The days of mini sites dominating the search engine result pages are winding down, now, search engines have needs, those needs are to serve up the most relevant, informative or entertaining content to its users.

So, invest in making your site a destination worthy or regard by mapping out which segments are more important to end users, creating conversion paths that facilitate ease of use as well as tactfully market your product and service once they arrive.

With different needs for different users, you can’t please all of the people all of the time, but the ones that you do impress should be the ones with the strongest need and / or demand for a solution from the product or server you are selling. This goes back to market research which is the precursor to SEO.

Tagged with:
 

Google AdSense Ads Get Special “Featured Ads” With Stars

There are reports at both DigitalPoint Forums and WebmasterWorld that Google AdSense is testing a new ad format. The new ad format has “featured ads” within the ad units, with little yellow stars next to them.

I was to hunted down an ad myself to confirm it is real. I spotted the ad on ukcarinsurances.blogspot.com, here is a screen capture:

Google AdSense Feature Ad

The ad, as you can see, has a yellow star next to it and if you mouse over the star, it using a title attribute that reads “Featured Ad.”

I was only able to replicate this once…

There has been no word from Google on this yet, I will do my best to get an official statement shortly.

Forum discussion at DigitalPoint Forums and WebmasterWorld.

Update: Google sent me a statement confirming this test. They said:

We are currently running a limited test in which a small number of users are seeing ads that are marked based on signals related to quality and relevance. This experiment is part of our ongoing efforts to help users find what they’re looking for, and we’re closely monitoring feedback.


There are reports at both DigitalPoint Forums and WebmasterWorld that Google AdSense is testing a new ad format. The new ad format has “featured ads” within the ad units, with little yellow stars next to them.

I was to hunted down an ad myself to confirm it is real. I spotted the ad on ukcarinsurances.blogspot.com, here is a screen capture:

Google AdSense Feature Ad

The ad, as you can see, has a yellow star next to it and if you mouse over the star, it using a title attribute that reads “Featured Ad.”

I was only able to replicate this once…

There has been no word from Google on this yet, I will do my best to get an official statement shortly.

Forum discussion at DigitalPoint Forums and WebmasterWorld.

Update: Google sent me a statement confirming this test. They said:

We are currently running a limited test in which a small number of users are seeing ads that are marked based on signals related to quality and relevance. This experiment is part of our ongoing efforts to help users find what they’re looking for, and we’re closely monitoring feedback.



Tagged with:
 
Tagged with:
 

Seth Godin: Sliced Bread

Malcolm Gladwell: Outliers

Anthony Parinello: Your Price is Too High

©