I knew IE had problems with minimum heights, and now I'm experiencing them. You can see my problems with IE at www.misguidedthoughts.com

Anyone have any ideas? I've tried setting padding-top, margins, ect, but nothing worked.

My node.tpl.php is

<div class="post<?php print ($sticky) ? " sticky" : ""; ?>"> 
  <?php if ($page == 0): ?> 
  <div class="title"> <a href="/<?php print $node_url ?>" rel="bookmark"> <?php print $title ?> </a> </div> 
  <?php endif; ?>
<div class="meta"> <h2>Info</h2><div class="userz"><?php print $name ?> <br></br> <?php print $date ?></div>
 <ul><li><?php print $links ?> 
    <li><?php if ($terms != ""): ?> 
    Filed under: <?php print $terms ?> 
    <?php endif; ?> </ul>
  </div> 
   <div class="storycontent"> 
<?php
    if( $main && $node->readmore )
    {
        $content = "$node->teaser<p>" .
            l( t("read more"), "$node_url", array( "title" => t("Read the rest of this posting."), "class" => "read-more") ) .
            "</p>";
        // remove "read more" link from standard node links
        $my_links = $node->links;
        if( $my_links )
        {
            // this would be much easier if the array returned by module_links() was indexed
            // see <a href="http://drupal.org/node/view/636">let _link() return structured link info</a>
            $rm = preg_quote( t("read more") );
            $my_links = preg_grep( "/$rm/", $my_links, PREG_GREP_INVERT );
            $links = theme( "links", $my_links );
        }
    }
    print $content;
?>
  </div>

My style sheet info is at http://misguidedthoughts.com/themes/antillesA/style.css

any ideas would be helpfull.

silverwing

Comments

kmo’s picture

Internet Explorer for Windows does not support the min-height and min-width properties.

This link seems to provide a workaround:

http://www.mezzoblue.com/archives/2004/09/16/minheight_fi/

Stefan Nagtegaal’s picture

Simply use:

_height: $min-height px;

and:

_width: $min-width px;

These behave the same in IE as min-height/width would do inside the browsers which does how it should be..

Good luck!

And, don't forget to validate you XHTML and your CSS.. Your site says that it should validate, but after a real look it all messes up..

jasonwhat’s picture

file or is this in the stylesheet?

Stefan Nagtegaal’s picture

In the stylesheet offcourse!