Solved

transparent background does not load properly in IE7

Posted on 2009-07-09
12
316 Views
Last Modified: 2012-06-27
@ http://tiny.cc/qtOll the transparent content box does not load or show properly as the content background in Internet Explorer 7. There is some space at the bottom. Why is that?
See screenshot
content-box-issue-ie7.jpg
0
Comment
Question by:rhandalthor
  • 8
  • 4
12 Comments
 

Author Comment

by:rhandalthor
ID: 24814293
And when I press F11 to enlarge the screen the transparent background covers the entire content box again. Very strange indeed! Any ideas what's the matter?
0
 
LVL 42

Expert Comment

by:David S.
ID: 24817634
This issue stopped showing up for me, but here's something you can try:
*:first-child+html .overlay-blog {

  height: auto;

}

Open in new window

0
 

Author Comment

by:rhandalthor
ID: 24821512
Doesn't really seem to make a difference. On http://lab.imagewize.net/klarezaken/2009/07/06/wordpress-installeren/ the read more is even ignored in IE7 and the text overflows..
0
 

Author Comment

by:rhandalthor
ID: 24821520
Oh read more is just ignored cross browser. Well never mind this issue..
0
 

Author Comment

by:rhandalthor
ID: 24821536
Hmm well transparent background still recoils on most pages and the blog. For the other readmore not showing in IE7 (It does show in IE7) I will open another ticket.
0
 

Author Comment

by:rhandalthor
ID: 24821587
I view the site in IE8 Compatibility moe. In regular IE8 mode all is fine. Maybe everything is fine in regular IE7 as well...?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 42

Expert Comment

by:David S.
ID: 24833329
I looked at it again in IE7 and the issue did appear.

Try giving "div.content" min-height:1px
0
 

Author Comment

by:rhandalthor
ID: 24833356
I added the code, but I do not think it is working yet. Please have a look. This is really strange and something I hope to solve as soon as possible. Planned to go live tomorrow...
/* IE& bizarre transparent box issue */

*:first-child+html .overlay-blog {

  height: auto;

}
 

div.content {min-height:1px;}

Open in new window

0
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 24833379
Hmm... try this then:
html>body #trans-box-blog {

  height: 365px;

  padding: 0 10px;

}

#trans-box-blog>div.content {

  padding: 10px 0;

}

Open in new window

0
 

Author Comment

by:rhandalthor
ID: 24833411
Added the the code to ie-hacks.css (loaded by <!--[if gte IE 6]>) and... it seems to be working. I just double check it all and post back.
0
 

Author Comment

by:rhandalthor
ID: 24833427
Well it is working. Just a little paranoid that's all. Thanks a lot once again. Why it works now I have to get in a bit more later. But the main thing for now is that it works and that the lay-out seems to be the same or 99.9% the same cross-browser.
0
 
LVL 42

Expert Comment

by:David S.
ID: 24835384
You're welcome.

It seems that IE7 was miscalculating what height:100% should be on that absolutely positioned element because of the top and bottom padding on its parent element. I would assume it got confused because height:100% is calculated a little differently on absolutely positioned elements than other elements. On absolutely positioned elements the top and bottom padding should be added to the computed height of the containing block to get the height for the element.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now