A Whole Lotta Nothing

Search this site:

About Me
Archives
Contact Me
Features

RSS

« How not to treat your avid readers | Main | links for 2005-07-07 »

July 06, 2005

New store CSS updates

Today I launched a new store and donation page for Creative Commons and while we're always looking to bolster our public support of the non-profit (and the t-shirts are really cool), I mention it here to show what's possible with CSS.

When I did a mockup of the store page, I did it in photoshop and aimed for a clean, catalog look that brought the photos of the products to the forefront. Once everyone liked it, I had a slight pang of worry that I might have to resort to using a table to align the photos and text.

I've been working on some fairly advanced CSS layouts the past couple years, and in the past year I've gotten to the point where I can reproduce almost anything in CSS, thanks mostly to a variety of float techniques that Doug Bowman explains here.

I started laying out the page like any other, using a variety of CSS columns floated to align text and images. I figured I'd hit a sticking point eventually and if necessary, resort to some ugly table hack to finish the job. I surprised myself in the end by never reaching that sticking point, and the end result is a nearly pixel-perfect identical layout, and it's all CSS (I know there are one or two minor html nits keeping it from validation).

I always knew CSS was powerful, flexible, and useful, but in the back of my mind I felt there a few browser limitations that could keep it from letting me do 100% of layouts using it. After this project I think it's safe to say at this point that using tables for layout is absolutely and completely a thing of the past.

Posted at July 6, 2005 01:22 PM

Comments

Great Designs and ideas, but why use CafePress? I know it's print-on-demand for t-shirts, but financially, it's downright stupid. You can get the shirts you have printed for under $10. I bet you could hire three teenagers to work part time and handle all the shipping.

I'd like to support CC with money, but it's not going to be via a whore like Cafepress.

Posted by: Daniel [TypeKey Profile Page] at July 6, 2005 07:51 PM

(almost) Complete turn around in opinion here, as I did a double take and saw the donate button and the buy shirts via paypal.

My bad, sorry.

(and it never was anything personal, its Cafepress that I have problems with)

Posted by: Daniel [TypeKey Profile Page] at July 6, 2005 07:55 PM

I just went there and donated $25 - you guys deserve it!

Quite nice store too, I'm looking forward to receiving my stuff. Congrats on the launch!

Posted by: Jacob Bøtter [TypeKey Profile Page] at July 7, 2005 01:38 AM

Unless you have powerful spam-filtering software, I recommend removing the email address from the URL string for the PayPal donation link. Spambots are guaranteed to scrape it in short order. I wrote about this back in 2002, but am not sure if the process is still the same for finding your PayPal business ID.

Posted by: camworld [TypeKey Profile Page] at July 7, 2005 09:56 AM

At first I didn't notice the links to donate because they looked like Google Adsense ads. I noticed the pretty girls though, so good work in that regard.

Posted by: Richard [TypeKey Profile Page] at July 9, 2005 10:20 PM

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?



Original content on this weblog is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Powered by MT 3.2