OverviewProcessServicesWorkBlog
DP Blog
8. 29. 2008
Search
View Our Keyword Cloud
(aka Tag Cloud)
Recent Posts
Archives
Syndicate RSS Feed
[Valid RSS]

Sticky Footer Goodness

One problem I've run into many times now when setting up templates via css is the seemingly simple "sticky footer". Put simply, a sticky footer is designed to "stick" at the bottom of the browser even if your site does not fill the browser lengthwise. This required almost no thought with old school tables using height="100%" but with CSS we obviously try to avoid tables at all cost. And even if you still insist on peppering your markup with those dreaded tables, the table height attribute is no longer supported by newer browsers so you, my friend, are also out of luck.  Enter The Man in Blue, Cameron Adams. Using his sticky footer solution you can set up the web page to span the entire height of the browser by setting the html, body and site container's (excluding the footer) height to 100%. Then using relative positioning and negative margins the footer container is positioned to show at the bottom of the browser. You can view code examples in the original post. Hat's off to Cameron for a great solution!

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments:

CSS Gurus Unite

With the ringing in of 2007, one of my work-related resolutions is to be more involved in the CSS community. Still being relatively new to the CSS world, there is a lot of information floating around out there that I have yet to discover, as well as information I have found which I now consider common knowledge, but had to figure out the hard way due to lack of documentation. Of course W3C has documentation for CSS properties but where do you go to learn about browser inconsistencies and hacks (I am a big proponent of CSS hacks and have found them necessary to make real world web sites display properly across all browsers)? I have attempted to release some of the things I have learned back to the community via Digital Positions' blog , but have always struggled trying to find a great place to gain information from the community whenever I need some help. This is why I was happy to discover that Adobe just released the CSS Advisor Beta. Whether you're in search of information or want to release your newest discovery back to world, this is the place to go. I have already learned some new things and there have only been a few weeks of collaboration (over the holidays, no less). I am looking forward to learning more from the community and hopefully giving something back using this tool. With the new year I also challenge you to become more involved in the community. In addition to contributing to Adobe's CSS Advisor Beta, feel free to comment on this blog and post your favorite CSS resource.

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments:

CSS and Vertical Alignment

Even with all the 'warm fuzzies' that designers and developers alike get by keeping our markup separate from design, conforming to web standards, and getting cross-browser compatible CSS driven layouts out the door, there are still some days when we want to curse the CSS gods and go back to the comfort and predictability of tables. And of course it's always raining on those days. Just like yesterday. Even so, I found two viable solutions to the vertical alignment problem that has been plaguing us CSS geeks from the beginning.

Comments (6)

E-mail this Blog to a Friend! Leave a Comment
  • >> This doesn’t work in IE 6 and 7 unless the comment is above the doctype, which I'm pretty sure causes quirks mode in those browsers. - paul
  • >> Good catch, Paul! I have updated both my post and the code to use the # IE hack as opposed to the * html hack. I have also removed the comment at the top of my html. That seems to do the trick. Thanks! - Colleen
  • >> Mo' better. Now however IE 6 & 7 give lengthy horizontal scroll bars. For IE hackage I prefer conditional comments - though for a tutorial perhaps not as brief. - paul
  • >> Hey Paul, I've fixed the horizontal scroll issue in IE by simply modifying which left positioning is negative (siteTableCell is now #left: -50%; while contentContainer is #left: 50%;) Again, updates in blog post & live html. Unfortunately this same method doesn't work for top positioning to solve the unnecessary vertical scroll. I'll keep you posted as soon as I find a solution. Thanks! - Colleen
  • >> you go girl. :) - paul
  • >> thanks for this hack!!! :) - pbmax
Your Name:
Your Email
Your Comments:

CSS for Print

Print stylesheets can be an important tool to modify the existing layout for print without having to create an entirely new template.  I recently utilized the power of print stylesheets to solve an Internet Explorer print rendering issue for one of our clients.

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments:

Declaring a DOCTYPE

Have you ever wondered what the <!DOCTYPE> tag is used for? Have you even given it any thought or just simply used whatever version of the tag is included in your usual html template? Although in the past this tag has been something which could be easily overlooked with little to no adverse side affects, with W3C standards compliance on the rise, the DOCTYPE tag is no longer something to be ignored.

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments:

New Talent Needed

Digital Positions is growing again, and we need the right person to help us get to the next level. We are looking for an accomplished web developer with superior skills in JavaScript and CSS layouts.

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments:

Busy, Busy, Busy

Batten down the hatches, the DP crew is heads down and crankin' out code. From AJAX apps to Flash Remoting forms and all points in between, we have been busy.

Comments (0)

E-mail this Blog to a Friend! Leave a Comment
Your Name:
Your Email
Your Comments: