[css-d] Removing the viewport's border (IE/Win)

2005-08-26 Thread Klaus Hartl
Hi all, Firefox and other browsers render pages in a window without a border, whereas IE/Win by default shows a little border around the window, which seems to be part of the UI, creating some kind of 3d effect. If you don't know what I mean, have a look at the following picture (viewport wi

Re: [css-d] Firefox: little b ug with text-transform and "ß"

2005-08-06 Thread Klaus Hartl
Probably they have fixed the bug? Yes: https://bugzilla.mozilla.org/show_bug.cgi?id=96423 Thank you David for this information! I already thought about reporting that bug... What we do at the moment: replacing "ß" with "ss" on serverside, where it's necessary :-) Cheers, Klaus _

[css-d] Firefox: little bug with text-transform and "ß"

2005-08-05 Thread Klaus Hartl
Hi all, Maybe someone (eventually some german guy) has found this bug before - if not you might be interestest in a little bug I found today for the latest Firefox: If you use "text-transform: uppercase;" on an element holding text which contains "ß", that letter transforms to "SS" (correct

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-19 Thread Klaus Hartl
Jan Brasna wrote: It seems to be working only in IE 6.0. May someone else confirm this results? Yes. Many friends and colleagues reported it this morning. It fails on the { } JS block. Thats right. I hadn't tested in IE 5. There is another way to create an anonymous function in JavaScript

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-12 Thread Klaus Hartl
> .whatever { > behavior: expression( > this.onfocus = function() { this.className += ' whateverfocus'; }, > this.onblur = function() { this.className = > this.className.replace('whateverfocus', ''); }); > } (Mis)Using the behavior property is a bad idea. I had some strange

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-12 Thread Klaus Hartl
Is there any way to get IE to understand "focus"? Looks like a good place to use Sons of Suckerfish [1], especially the Focus [2] part. Prabhath http://nidahas.com [1] http://www.htmldog.com/articles/suckerfish/ [2] http://www.htmldog.com/articles/suckerfish/focus/ Hi, the suckerfish solut

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-12 Thread Klaus Hartl
David Hucklesby wrote: Is there any way to get IE to understand "focus"? Hi David, have you tried: .whatever { background: #808080; } .whatever:focus, .whateverfocus { background: #eaeaea; } .whatever { behavior: expression( this.onfocus = function() { this.className +=

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-11 Thread Klaus Hartl
Indeed. - zoom on an inline element, this will more behave like inline-block. - applied on an container element (affecting floats, relatively positioned constructs, and more), it may change the rendering fundamentally. -> avoid "layout", no need to call the evil hi ingo, you name it! but

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-10 Thread Klaus Hartl
IE/Win: .whatever { background-color: expression(this.runtimeStyle.backgroundColor, this.onmouseover = function() { this.className += ' whateverhover'; }, this.onmouseout = function() { this.className = this.className.replace('whateverhover', ''); }); } Very nice! You can take this part o

Re: [css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-10 Thread Klaus Hartl
Neat. But then on this end ( XP_SP2) IE6.0 'Security' setting at "high." Now what I'll do? Any JavaScript is turned off with security setting "high". No difference if you use an behavior, these dynamic properties I mentioned or just a normal javascript file. Therefore I recommend using wh

[css-d] whatever:hover fast and easy via Dynamic Properties

2005-07-10 Thread Klaus Hartl
Hi all, this may be of some interest here... I found a way to easily implement whatever:hover using Dynamic Properties. Here's an example of the code: EOMB: .whatever { background: #808080; } .whatever:hover, .whateverhover { background: #eaeaea; } IE/Win: .whatever { background-col