How To:Bluff Your Way In CSS

by Andy Budd & Jeremy Keith

Why CSS?

Why?

What is CSS?

Cascading Style Sheets

A way of specifying how a page should look.

So what else is new?

CSS > tag soup

CSS < tag soup

Less page weight

Savings in page weight = savings in bandwidth = savings in money

Reasons to be cheerful

but mostly...

It's cool!

C'mon, everybody's doing it.

Any Questions?

How to sound like one of the cool kids

Old picture of kids on bikes

To be seen as an expert you need to have the correct patter.

Express an irrational hatred of tables.

Person pulling a funny face

Some CSS experts have even been known to recode other peoples sites.

Here are a few tips.

If tables come up in conversation...

Criticise Table Based Sites

Airport timetable

Try this at the SXSW awards.

Remember. Data Tables are OK

Airport timetable

Know your CSS development tools.

Browsers

Any Questions?

What's hot and what's not

spicy chilis

CSS Zen Garden

screenshots from the css zen garden

Showcase sites

screenshots of showcase websites: Stylegala, Web Standards Awards and CSS Vault

High-Profile Makeovers

screenshots of high profile sites: Wired News, ESPN and Sprint

Any Questions?

Bluff Your Way Out Of Tricky Situations

Monopoly

What to do if your CSS doesn't work.

What to tell people looking for CSS help

Use Misdirection

Any Questions?

Advanced CSS Subjects

mad scientist

Image Replacement Techniques

Substituting images for text

What about accessibility?

Hacks/Filters

Combat browser bugs with browser-specific CSS rules

Hack Example

Visible to all:

#myelement { color: red; }

Only visible to Internet Explorer:

* html #myelement { color: green; }

CSS3

The next stage in CSS evolution

Structural pseudo classes

Any Questions?

Show that you're part of the community

Sesame street characters

CSS Community Sites

Gurus

Real gurus

CSS Books

Mailing Lists

Thank you

http://adactio.com/sxsw05/

http://adactio.com/sxsw05/