Re: [css-d] Putting an image before list item text

2015-06-26 Thread Roger Blanton
I agree with Tom. Pretty sure you can only check text with js. — Roger BlantonSent from my phone, please excuse the brevity. On Fri, Jun 26, 2015 at 11:04 PM, Tom Livingston wrote: > Not that I'm aware of. You could try something like: > $('label:contains('some text')').css('color','Lime') >

Re: [css-d] Z-Index with Fixed/Absolute Elements in IE

2015-06-08 Thread Roger Blanton
ted: http://stackoverflow.com/questions/7054580/youtube-iframes-sitting-on-top-of-fixed-position-element-in-chrome Thanks to Tom for helping me out on this one! Cheers! Roger On Mon, Jun 8, 2015 at 3:14 PM, Roger Blanton wrote: > Hello, > > I have a header that is postion fixed similar to the CS

[css-d] Z-Index with Fixed/Absolute Elements in IE

2015-06-08 Thread Roger Blanton
Hello, I have a header that is postion fixed similar to the CSS below: header { position: fixed; width: 1100px; left: 50%; margin-left: -550px; z-index:999; } .absolute-element { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; height: 100%; } In all browsers other than IE these beh

Re: [css-d] Vertical & Horizontal Center ?

2015-06-03 Thread Roger Blanton
;t do it. Then you > acknowledge the table/table-cell approach exists. So why not use > table/table-cell?! > On Wed, Jun 3, 2015 at 9:00 PM, Erik Visser wrote: >> Roger Blanton schreef op 04-06-15 om 02:26: >> >>> Without knowing the height of the element or parent container I don

Re: [css-d] Vertical & Horizontal Center ?

2015-06-03 Thread Roger Blanton
Without knowing the height of the element or parent container I don't think it is possible without using a flex layout with just CSS.  If you know the height you can do top:50% margin-top: (negative half the height). Or you can make the parent display table its child display table cell and v

Re: [css-d] HiDPI MQ

2015-04-24 Thread Roger Blanton
Hello, I have always used: @mixin retina { @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min