Menu

Skip to content

Rina Henderson

Product Manager + UX Architect + Prototyper

Month: November 2009

Avoiding IE hacks for fixed width divs with borders and padding

Posted on November 30, 2009 by Rina Henderson

IE doesn’t play well with borders and padding. To avoid having to hack it, use nested divs. One outer div to set the fixed width, and inner div(s) to set border and padding.

Use custom fields in WordPress with posts

Posted on November 6, 2009 by Rina Henderson

<?php // if there are custom fields, echo them here in the looped content and build our related leftbox
if($img !== '') { ?>

"
class=""
alt=""
/>

" target="_blank">"
class=""
alt=""
/>

<?php } // end if statement

// if there's not a custom field
else { echo ''; } ?>

Archives

  • February 2014
  • January 2014
  • November 2013
  • August 2013
  • April 2013
  • March 2013
  • January 2013
  • June 2010
  • May 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009

Categories

  • Design
  • Drupal
  • Ideas
  • Javascript
  • Music
  • Optimization
  • Portfolio
  • Scenarios
  • Simple Thoughts
  • The UX Industry
  • Uncategorized
  • UX / UI
  • Wordpress
Website Powered by WordPress.com.
  • Follow Following
    • Rina Henderson
    • Already have a WordPress.com account? Log in now.
    • Rina Henderson
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar