SitePoint Design View August 5th 2004 
Issue 1 

Newsletter Archives | Advertising | Contact us  
The Useful, the Usable and the Unbelieveable in Design for the Web 

In This Issue...

Need to Secure Multiple Domain or Host Names?

Thawte LogoSecuring multiple domain or host names need not burden you with unwanted administrative hassles. Learn more about how the cost-effective Thawte Starter PKI program can streamline management of your digital certificates.

Click here to download our Free guide

Top


Introduction

Alex Walker Apologies for this break in your scheduled transmission. As Kevin Yank takes a well earned two-week holiday, we've decided to 'plug the hole' with the first edition of SitePoint's new newsletter -- the SitePoint Design View.

Note: If you like this newsletter and wish to stay subscribed YOU MUST CLICK the button below!

But first, let me tell you what you can expect. The SitePoint Design View will focus on modern Web design from a practical standpoint. It will cover:

  • New Web design thinking and what to make of it
  • Great-looking design that accomplishes its goals
  • Design mistakes, oversights and soap-box issues
  • Designing for usability
  • Graphical design software techniques
  • Visual effects with CSS/XHTML/Flash
  • How Accessibility and Search Engine Optimization (SEO) impact on design
  • And much more

In the months to come, I hope to develop on all these topics and more. But, if you want to receive the next issue you must act now!

Press the button below and you will continue to get this Newsletter once a month:

Yes Subscribe me to the SitePoint Design View

(Or else click here instead.)

You will just need to reply to our confirmation email to complete the subscription process.

I look forward to bringing you some great design stuff!

Alex Walker
Editor, SitePoint Design View

Top


Using Pullquotes with CSS

Since you Tech Times readers are naturally technically inclined, I thought that to kick off 'Design View', I'd mix a touch of good layout theory with some old-fashioned CSS to produce pullquotes.

One of the most important things to keep in mind when designing for any audience is that Web users are mostly skimmers. Their eyes dart around like flies at a screen door, with only the vaguest idea of what they want or how they plan to accomplish it.

One of the most important considerations is to give the user easy, 'no-brainer' ways to get a toe-hold in a new page. 'Pullquotes' are one of the easiest ways to accomplish this.

Take a quick glance at any article on BoxesAndArrows.com and probably the second item you'll notice will be the grey quote box on the right -- the 'pullquote'.

Let's start with the basics -- we'll pop our quote in a sensible <blockquote> tag and give it a special 'pullquote' class.

  <blockquote class="pullquote">
     The most impressive thing about 
pullquotes is people read 'em! </blockquote>

We'll need a little garden-variety CSS to float it off to the right and to limit its width. I've also decided to pump the font-size up a little and over-rule the default paddings and margins set for <blockquote>.

.pullquote {
   width: 20%
   float:right;
   font-size:125%;
   margin:10px;
   padding:0
}

Now let's add some of those big, chunky, magazine-style quotes that scream, "HEY YOU! I'M SAYING THIS!"

Here are some I prepared earlier. close quoteclose quote

The closing quote is pretty straight-forward. We drop the graphic into the background, align it to the bottom-right and set it to 'no-repeat'. I've also set the bottom padding to 25px to keep it clear of the text.

.pullquote {
   width: 20%;
   float:right;
   font-size:125%;
   margin:10px;
   padding:0;
   background-image:url(closequote.gif);
   background-repeat: no-repeat;
   background-position: bottom right;
   border:1px #ddd solid; /* a temp border */ 
   padding:0px 0px 25px 0px;
}

But what about the open-quote? We're going to need to be resourceful here. CSS has one more 'hook' we can rely on -- an under-used pseudo element called ':first-letter'.

As the name implies, the ':first-letter' pseudo element targets only the first letter in a specified text element. It is surprisingly well-supported across modern browsers and, happily, will accept our open-quote graphic as a background image. Coupled with a little padding to keep our text clear of the graphic, we're starting to get a result.

 .pullquote:first-letter {  
   background-image:url(openquote.gif);
   background-repeat:no-repeat;
   background-position:left top;
   padding:0px 25px 5px 0px;
}

A preliminary browser check shows that Firefox, Safari, IE6 and Opera all seem to like the technique (although IE has a slightly different idea of where the base of the letter ends). However, although those pesky IE5 and IE5.5 browsers seem to recognize the pseudo element, they do wacky things with the background image. As a solution, we can take the soft option and simply strip the fancy quotes from those browsers with some evil CSS hackery.

The relatively elegant (well, for a hack, anyway) 'Alternate Box Model Hack # 3' will let us remove the quote effect completely from IE5+ Win, leaving it with a basic but perfectly acceptable unquoted quote. You can view the result here.

Admittedly, this trick is still a little unrefined (I haven't even considered IE5 Mac at this stage) but I think it, and pullquotes in general, are very worthwhile tools to incorporate into almost any project.

Let me know how you go.

Top


Flash Steve crosses from Pixels to Print

Yes, the rumors are true...

Steve Grosvenor hasn't been busy enough. On top of being SitePoint's Flash Columnist and Flash Blogger, along with his standard 9-5 gig, Steve has managed to find a spare zillion hours to knock out SitePoints' latest book 'The Flash Anthology: Cool Effects & Practical ActionScript'. Steve, I do hope you're eating properly. Please try to get some sleep!

Over recent months, I was slightly bemused to observe Simon, G and Kevin all smiling away to themselves as they worked through the editing stages of this book.

Well aware that their usual approach generally involved much more barking, snarling and foaming at the mouth, I wanted to see for myself what all the fuss was about.

I now know why they enjoyed their work so much...

Steve has a natural ability to weave convincing ideas into a fun and breezy writing style. As I'm probably 'front and center' of the target audience for this book (i.e. a little Flash - not much ActionScript), I was hooked quite early.

Like a lot of developers, I've become quite comfortable with JavaScript over the years, and I was actually surprised at how 'JavaScript-like' the ActionScript examples were. So, if you're at all familiar with JavaScript syntax and structures you should chew this stuff up and spit it out.

Enough said. Download the chapters and have a peek for yourself.

Actually, Macromedia has been on good terms with JavaScript for a number of years now. Dreamweaver's JavaScript behaviours are remarkably solid, and swapping data between Flash and JavaScript is almost effortless these days. One of Steve's latest 'bags' is JSFL (Flash JavaScript) Quickies, which are basically JS-powered productivity extensions for the Flash authoring environment.

Having spent 30 minutes looking for decent information on creating these extensions and coming up with zip (even Macromedia seems to have dropped the ball), Steve has decided to to let us in on some of his JSFL tricks. Should be great reading.

Read the blog entry:

Steve Grosvenor Flash Blog: Go Flash Go!
by Steve Grosvenor

Flash Anthology Excitement
(7 comments)

Top


Turn Your Website Traffic Into Revenue



Take control of your websites earning potential- Fastclick's optimized ad delivery and reliable monthly payments help you maximize your website's profit Fastclick's easy-to-use interface lets you view creatives, control which campaigns to run, review in-depth reporting and access customer support.

Publishers also enjoy:
  • High payouts
  • All popular ad formats
  • Automated defaults to maximize inventory fill
  • Guaranteed monthly payments
  • No exclusive contracts or delivery minimums
Learn more about Fastclick today

Top


Blending Modes

It's was great to see Corrie Haffly back from holidays and blogging on some interesting subjects including color palette generators, Illustrator functions and Photoshop blending modes.

The true use of blending modes is an ancient, mystical and inscrutable art form, fully understood only by a group of twelve Shaolin monks destined never to leave the cloistered halls of an Adobe training conference.

But, with patience and practice, you too may slowly unravel their secrets, Grasshopper.

Unlike the channels or layers panels, understanding the way one blending mode works doesn't really illuminate how the next mode works. It does take some time and experimentation (there are a few I have never found a practical use for).

One of my most common uses for blending modes is shadows. It's an old printing trick to use shadows to visually 'anchor' an object (a CD, DVD, camera, or book usually in our case) in place on a white page.

Here's a good starting point.

Original 1) Original Photo. A nice shot, but the background isn't needed.

Original 2) The layer is copied and background removed. A nice clean result, but the object seems to float about untethered to anything.
Luminosity + Screen 3) Luminosity + Screen. I've made two more copies of the original. I set the lower one to 'Luminosity' and the upper one to 'Screen'. The result leaves me with shadows that are blasted but still intact.
Gradient Fill 4) Add a little white gradient fill. This gently fades out the far background.
Gradient Fill 5) Overlay with the 'background-less' layer (#2). Subtly adjust the opacity of the 'Luminosity' layer to tune the final effect.

It's quick and effective!

Read the blog entry:

Corry Haffly Design Blog: Pixel Perfect
by Corrie Haffly

Photoshop Blending Modes: Dissolve (3 comments)
Photoshop's Darken and Lighten Blending Modes (3 comments)

Top


Veerle-y Interesting

Simon unearthed another little left-field gem last week. Belgium designer and blogger Veerle Pieters has done what no-one else seems to have thought of -- writing a tutorial series that takes a project from the interface design stage all the way through to production of the CSS/XHTML template.

There are probably a lot of up-and-coming developers that have almost all the 'snippets' of good design technique already rattling around in their heads.

The great thing about Veerle's set of articles is that they give you a great overview of how it all gets stitched together.

Even if you're quite comfortable with your design/CSS coding skills, give the series a browse anyway. It is a thing of beauty regardless.

Read the blog entry:

Simon Willison DHTML & CSS Blog: Stylish Scripting
by Simon Willison

CSS Design Tutorials (2 comments)

Top


That's all for the first issue of the SitePoint Design View. Don't forget, you MUST SUBSCRIBE to continue receiving this newsletter once a month... Click the button below now and you're on board.

Yes Subscribe me to the SitePoint Design View

( Or click here instead.)

If you subscribe, I'll see you in a month! If not, thanks for reading.

The Tech Times will resume in two weeks.

Cheers,

Alex Walker
design@sitepoint.com
Editor, Design View

Top


Help Your Friends Out

People you care about can benefit from the wealth of information on new and maturing technologies available on the Internet. Help them learn how to do it by forwarding them this issue of the SitePoint Design View!

Send this to a friend

Download a full four free chapters from every SitePoint Book!


cover shotThe Flash Anthology: Cool Effects & Practical ActionScript
by Steve Grosvenor


cover shotBuild Your Own ASP.NET Website Using C# & VB.NET
by Zak Ruvalcaba


cover shotBuild Your Own Database Driven Website Using PHP and MySQL
by Kevin Yank


cover shotThe PHP Anthology
by Harry Fuecks


cover shotHTML Utopia: Designing Without Tables Using CSS
by Dan Shafer


cover shotThe Web Design Business Kit
Brendon Sinclair

!More information about SitePoint Books

 What's New on SitePoint!

The Flash Anthology: Cool Effects &amp; Practical ActionScript - Chapter 1: Flash Essentials

Steve
Grosvenor
By Steve Grosvenor

Life without Flash would be boring and mundane. Whether you're a budding Flash designer or a stalwart developer looking to expand your skills, Chapter 1 of SitePoint's new title, The Flash Anthology, will give you the essential tools you'll need to get creative!

Top 10 Usability Blunders of the Big Players

Trenton
Moss
By Trenton Moss

If you thought the Web's big players had basic usability principles well in hand, think again! As Trenton reveals, many of the big names are behind the usability eight-ball. Learn from their mistakes in his surprising expose...

The Unruly Ruler

Sergio
Villarreal
By Sergio Villarreal

Looking to add a little style to your page layout? Sergio gets down and dirty as he uses his creativity - and a little CSS trickery - to create an attractive separator element for his site.

Standards - Just One Part of a Sensible Design

Christian
Heilmann
By Christian Heilmann

Too many designers advocate the application of standards over the use of sensible design practice. Christian argues the case for a flexible approach to the appropriate use of standards in today's sites...

'Not Found' Is Not An Option: Error Handling and User Experience

Oscar
Trelles
By Oscar Trelles

The customization of error messages is essential to a cohesive user experience - especially in the case of the dreaded 404. Oscar explains how you can improve your 404 messages to enhance the user experience on your site.

 Hot Design Forum Topics
 New Design Blog Entries

Flash Blog:
Go Flash Go!

Design Blog:
Pixel Perfect

DHTML & CSS Blog:
Stylish Scripting

Unsubscribe yourself from Kevin Yank's TechTimes Newsletter.

You are not yet subscribed to the SitePoint Design View.

Details about why you received this issue.

!You are currently subscribed as to the HTML edition of the Tech Times.


CHANGE your email address here

UNSUBSCRIBE from the Tech Times here.

SUBSCRIBE to the Tech Times here.

SWAP to the 'Text-Only' version of the Tech Times here.


SitePoint is Hosted by
Ventures Online


Thanks for reading!

 © SitePoint 2004. All Rights Reserved.

Back to the archives

Newsletter signup

Design, coding, community or marketing? Select the right newsletters right for your needs...