Forums
View unanswered posts | View active topics It is currently Thu Oct 30, 2014 6:16 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:

Code:
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
Profile

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
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Yahoo [Bot] 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.