View Single Post
Old 11-02-2008, 21:39   #1 (permalink)
rbastien
Registered User
 
Join Date: Oct 2006
Posts: 60
IE improper DIV alignment

Hey, I'm working on my new portfolio site and the div for the sidebar is displayed at the bottom of the page in IE, yet is fine in Firefox. I tried playing around with floats, margins, and padding but had no success. Any suggestions?

Here's the link:
Ocular Harmony

Here's the code:
Code:
#page { width: 800px; margin: 0 auto; background: #dbceb8 url("images/margin_bg.jpg") repeat-x; } #sidebar { width: 136px; height: 400px; margin-right: 40%; background: url("images/sidebar.jpg") top; text-align:center; }

Code:
<?php get_header(); ?> <div id="wrapper">
<div id="content"> All my content</div> <?php get_sidebar(); ?>
</div> <?php get_footer(); ?>
  Reply With Quote