By silverwing on
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
min-height is unsupported in IE
Internet Explorer for Windows does not support the
min-heightandmin-widthproperties.This link seems to provide a workaround:
http://www.mezzoblue.com/archives/2004/09/16/minheight_fi/
Well, try this...
Simply use:
and:
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..
does this go in the node.tpl
file or is this in the stylesheet?
In the stylesheet offcourse!
In the stylesheet offcourse!