Jump to content

[SOLVED] Need help with small IE glitch


jtrost

Recommended Posts

Yeah, this is another one of those "IE doesn't work" threads.  Luckily, I think mine is just a small glitch, and I'm stuck finding the right CSS property to fix it.

 

Here's my page: http://travel2trinidad.com/dev/

 

The problem is that in IE the logo and the time/temp, which are suppose to lay over a div with a bg image, are going to the top of the page in IE, pushing everything else down.  Here's the code in question:

 

HTML:

<div id="logo">
    <div id="title">
        <img src="images/logo.png" onload="fixPNG(this)" />
        <br /><a onClick="javascript:bookmark('Travel 2 Trinidad','http://www.travel2trinidad.com');" href="#">Bookmark</a> | <a href="emailtofriend.php">E-Mail to Friend</a>
    </div>
    <div id="info">
        <script>document.write(calcTime('Trinidad', '-4.0'));</script>
         | Temp: 76 °
    </div>
</div>

 

CSS:

#page {
position:relative;
top:-1px;
width: 860px;
margin: 0 auto;
background: url(../images/img02.jpg) no-repeat;
}
#title {
    float:left;
    margin:15px;
    color: #fff;
}
#info {
    float:right;
    height: 20px;
    width: 160px;
    background-color: #fff;
    color: #000;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    padding: 5px;
    padding-top: 15px;
    filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
}

 

Any help would be appreciated.  Thanks!

Link to comment
https://forums.phpfreaks.com/topic/63966-solved-need-help-with-small-ie-glitch/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.