Improve the Web
Firefox 3 is here! Go to spreadfirefox.com and pledge to download it on June 17th.
Tags: FireFox 3
Firefox 3 is here! Go to spreadfirefox.com and pledge to download it on June 17th.
Tags: FireFox 3
Generally, we don’t much like table-based layouts around these parts. As I like to put it, tables are for boring data, not beautiful design. Sometimes however, working to make a quick change to a site designed elsewhere can require a comprimise.
In this case, I’m referring to a table layout I inherited that I wanted to make centered in the browser window, and only by changing the CSS (and without adding a new id on every single page) Here’s how I did it:
First I tried the idealistic (proper) method, fingers crossed:
body > table {
margin: 0 auto;
}
It worked… almost. It worked on the usual suspects – Safari 3, FireFox 2 Mac/PC, IE 7. But of course, IE 6 doesn’t recognize child selectors.
Next, I tried a less pretty but ultimately effective method that utilizes the C in CSS… “Cascading.” That’s right, it can be used to your advantage! For this method I made two definitions in my CSS:
First, I styled every table within the body tag:
body table {
margin: 0 auto;
}
Then, I reset the margins of any tables nested within the first table.
body table table {
margin: 0;
}
And that worked on all mentioned browsers, and it’s pretty much just long hand for the child selector version I tried first. Outside of looking a little like myspace code, I can live with it. After all, we’re talking about a table layout! Dirty CSS is the least of its problems.
Tags: CSS, IE6, Web Design
I’m proud to announce that the design made and developed by Say This, Say That! for Locust Street Taxi, is now officially up and live!
http://www.locuststreettaxi.com
Locust Street Taxi is a Pacific Northwest band. They deliver an infectiously fun and energetic live show the likes of which no musicologist or behavioral scientist would dare to analyze!
The site is built on WordPress and gives them the ability to update the site dynamically, as well as blog about their band. Hopefully their fans enjoy the new site and good luck to the band in the future!
Say This, Say That! is pleased to announce the launch of Eros Arabian & Hackney Horses. Eros Arabian & Hackney Horses is a local Olympia, WA based ranch that specializes in raising and breeding.
Say This, Say That! set out to recreate the companies web site. The site now offers a cleaner navigation and more functionality. Viewers of the site can check out dynamic horse portfolios which feature information, pictures, and even videos about each horse. The site also features a news module for easy updates.
So, feel free to check out our work here…