View unanswered posts | View active topics It is currently Thu Jan 23, 2020 2:40 am

Reply to topic  [ 3 posts ] 
 A Tip for fixing dissappearing borders 
Author Message

Joined: Wed Sep 22, 2010 7:17 pm
Posts: 1
Post A Tip for fixing dissappearing borders
Hopefully this might help someone.

I had a problem with border-radius, in IE the borders would disappear, they'd be invisible.

Using the IE dev tool, I noticed that the css3-container element had a z-index set to -1. Sure enough if I disabled tht property the border would appear.

Looking at the source I notices this line in the updatePos method of the RootRenderer class:

s.zIndex = el.currentStyle.position === 'static' ? -1 : el.currentStyle.zIndex;

So I set the element with the border to have position: relative; and it changed the z-index value of the css3-container to auto.

And there was much rejoicing.

Wed Sep 22, 2010 7:27 pm

Joined: Thu Oct 07, 2010 10:10 am
Posts: 2
Post Re: A Tip for fixing dissappearing borders
I registered an account just to say thank you for this post! :mrgreen: Didn't make sense why the borders would just vanish like that. Thanks again.

Thu Oct 07, 2010 10:12 am

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: A Tip for fixing dissappearing borders
FYI this is the first thing mentioned on the Known Issues documentation page. It gives a technical explanation of why it's necessary.

Thu Oct 07, 2010 8:13 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Steeler [Crawler] and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.