Posts Tagged ‘CSS’

The Skinny on CSS Attribute Selectors

Tuesday, February 16th, 2010

CSS has the ability to target HTML elements based on any one of their attributes.

Check out the post: The Skinny on CSS Attribute Selectors

From PSD to WP series – Part II

Monday, October 19th, 2009

It’s finally published.

From Photoshop to Wordpress – Part II – Coding

I’ve said it before and I’ll say it again… lesson learned. I never thought it would have taken me so long to write it but life comes at you with unexpected road bumps and you just have to deal with it. From now on tho, if I ever do another series, I’ll make sure all the parts are written before publishing the first one.

I’m just so happy that it’s out there and I hope it will help some of you learn how to slice a Photoshop mockup.

Like anything else in Web Design, understand that this is merely one way of doing it. It’s how I’ve done it for the past 10 years and it’s worked great for me.

As for Part III, I’m starting it this week and I hope to publish it in the coming weeks.

Thank you for you patience!

Some Tips & Tricks

Thursday, December 4th, 2008

Just wrote a few Tips and Tricks over at The Web Squeeze. ID’s and Classes in CSS was posted last week and today, Extending the background around two floating div’s just went live. Obviously, these are intended for newcomers to the CSS game. Hopefully these 2 will help some of you out there.

CSS Reset Stylesheets

Friday, April 18th, 2008

From No CSS Reset by Jonathan Snook:

“The problem I’ve had with these resets is that I then find myself declaring much more than I ever needed to just to get browsers back to rendering things the way I want. As it turns out, I’m perfectly happy with how a number of elements render by default. I like lists to have bullets and strong elements to have bolded text.”

I echo that declaration. I too used to start my stylesheet with the famous

* { margin: 0; padding: 0; }

The I found that I was putting back the same formatting that was already set by default on most of the elements.

As for building a base CSS stylesheet, I do have one but it mostly only contains the main separations for a site like #header, #content, etc…

The Highly Extensible CSS Interface

Monday, April 14th, 2008

A four-part series by Cameron Moll

“Throughout the duration of this series, we’ll be speaking extensively about markup — XHTML, CSS, and a little scripting. Marking up a website is akin to speaking Spanish. There’s more than one way say something, and there’s certainly more than one way to code something.”