time

In the grip of cup fever: This year in Brazil isn't the first time, the game has always provoked passions and violence

On the face of it the Fifa World Cup is all about quality football, generally recognised as the greatest sporting showpiece on earth.




time

The contest for time and space in the Roman imperial cults and 1 Peter : reconfiguring the universe / Wei Hsien Wan

Wan, Wei Hsien, author




time

The dawn of Christianity : people and gods in a time of magic and miracles / Robert Knapp

Knapp, Robert C., author




time

CSS image replacement. One more time.

An accessible image replacement method using pseudo-elements and generated-content. This method works with images and/or CSS off, with semi-transparent images, doesn’t hide text from screen-readers or search engines, and provides fallback for IE 6 and IE 7.

Known support: Firefox 1.5+, Safari 3+, Chrome 3+, Opera 9+, IE 8+

What’s wrong with current methods?

The two most widely used image replacement techniques are the Gilder/Levin Method and the Phark Method. Both have different flaws.

The Gilder/Levin Method requires the addition of presentational HTML (an empty span) and doesn’t work with transparent images as the default text shows through. The Phark Method uses a negative text-indent to hide the text and so it is not visible when CSS is on and images are off.

Resurrecting the NIR method

Using pseudo-elements and generated-content as an image replacement technique isn’t a new idea. It was proposed and demonstrated by Paul Nash back in 2006. This is the Nash Image Replacement method.

<h1 class="nir">[content]</h1>
.nir {
   height: 100px; /* height of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: block;
}

The height value is equal to that of the replacement image. Setting overflow:hidden ensures that the original content is not visible on screen when the image is loaded. The replacement image is inserted as generated content in the :before pseudo-element which is set to behave like a block element in order to push the element’s original content down.

What about IE 6 and IE 7?

Neither browser supports :before; if you need to support them you’ll have to rely on the Phark method. This can be done using conditional comments or safe IE6/7 hacks to serve alternative styles to legacy versions of IE .

<!--[if lte IE 7]>
<style>
.nir {
   height: 100px;
   padding: 0;
   margin: 0;
   overflow: hidden;
   text-indent: -9000px;
   background: url(image.gif) no-repeat 0 0;
}
</style>
<![endif]-->

Using the NIR method allows you to keep your HTML semantic and deliver improved accessibility to users of modern browsers. The Phark Method can then be served to IE 6 and IE 7.

Improving the NIR method

The first problem with NIR is that if images are disabled all browsers leave whitespace above the element’s content. Opera 10.5 even displays the text string “image”! If the height of the element is small enough this whitespace causes the element’s content to overflow and be partially or completely hidden when images are disabled.

Another consideration is what happens if an image doesn’t exist or fails to load. Safari and Chrome will display a “missing image” icon that cannot be removed. Once again, this can cause the element’s content to overflow and become partially or completely hidden to users.

A more robust version of the NIR method is the following modification:

.nir {
   height: 100px; /* height of replacement image */
   width: 400px; /* width of replacement image */
   padding: 0;
   margin: 0;
   overflow: hidden;
}

.nir:before {
   content: url(image.gif);
   display: inline-block;
   font-size: 0;
   line-height: 0;
}

Setting font-size and line-height to 0 avoids the whitespace problems in all browsers. Setting the element’s width equal to that of the replacement image and getting the pseudo-element to act as an inline-block helps minimise the problems in webkit browsers should an image fail to load.

Ideally browsers would avoid displaying anything in a pseudo-element when its generated-content image fails to load. If that were the case, the original NIR method would be all that is needed.

What about using sprites?

One of the most common uses of image replacement is for navigation. This often involves using a large sprite with :hover and :active states as a background image. It turns out that using sprites is not a problem for modern browsers. When using the modified-NIR method the sprite is included as a generated-content image that is positioned using negative margins.

This is an example that rebuilds the right-hand category navigation from Web Designer Wall using a sprite and the modified-NIR method.

<ul id="nav">
  <li id="nav-item-1"><a href="#non">Tutorials</a></li>
  <li id="nav-item-2"><a href="#non">Trends</a></li>
  <li id="nav-item-3"><a href="#non">General</a></li>
</ul>
/* modified-NIR */

#nav a {
  display: block;
  width: 225px;
  height: 46px;
  overflow: hidden;
}

#nav a:before {
   content:url(sprite.png);
   display:-moz-inline-box; /* for Firefox 1.5 & 2 */
   display:inline-block;
   font-size:0;
   line-height:0;
}

/* repositioning the sprite */

#nav-item-1 a:hover:before,
#nav-item-1 a:focus:before,
#nav-item-1 a:active:before {margin:-46px 0 0;}

#nav-item-2 a:before        {margin:-92px 0 0;}
#nav-item-2 a:hover:before,
#nav-item-2 a:focus:before,
#nav-item-2 a:active:before {margin:-138px 0 0;}

#nav-item-3 a:before        {margin:-184px 0 0;}
#nav-item-3 a:hover:before,
#nav-item-3 a:focus:before,
#nav-item-3 a:active:before {margin:-230px 0 0;}

/* :hover hack for IE8 if no a:hover styles declared */
#nav a:hover {cursor:pointer;}

For some reason IE8 refuses to reposition the image when the mouse is over the link unless a style is declared for a:hover. In most cases you will have declared a:hover styles for the basic links on your webpage, and this is enough. But it is worth being aware of this IE8 behaviour.

The addition of display:-moz-inline-box; is required to reposition the sprite in versions of Firefox prior to Firefox 3.0. They are very rare browsers but I’ve included it in case that level of legacy support is needed.

If you want image replacement in IE 6 and IE 7 the following additional styles can be served to those browsers using conditional comments.

/* Phark IR method */

#nav a {
   text-indent: -9000px;
   background: url(sprite.png) no-repeat;
}

/* repositioning the sprite */

#nav-item-1 a:hover,
#nav-item-1 a:active { background-position: 0 -46px; }

#nav-item-2 a        { background-position: 0 -92px; }
#nav-item-2 a:hover,
#nav-item-2 a:hover  { background-position: 0 -138px; }

#nav-item-3 a        { background-position: 0 -184px; }
#nav-item-3 a:hover,
#nav-item-3 a:active { background-position: 0 -230px; }

/* hack for IE6 */
#nav a:hover { margin: 0; }

The changes are fairly simple. But IE 6 applies the margins declared for a:hover:before to a:hover and so they need to be reset in the styles served to IE 6.

See the modified-NIR (using sprites) demo.




time

Populist measures in the time of lockdown




time

The subjective well-being module of the American Time Use Survey [electronic resource] : assessment for its continuation / Panel on Measuring Subjective Well-Being in a Policy-Relevant Framework, Committee on National Statistics, Division of Behavioral an




time

Successful project management [electronic resource] : how to complete projects on time, on budget, and on target / Michael S. Dobson

Dobson, Michael Singer, author




time

Surviving the tech storm [electronic resource] : strategy in times of technological uncertainty / Nicklas Bergman

Bergman, Nicklas, author




time

The tech entrepreneur's survival guide [electronic resource] : how to bootstrap your startup, lead through tough times, and cash in for success / Bernd Schoner

Schoner, Bernd




time

Time-cost optimization of building projects [electronic resource] / by Uzair Waheed, B.E., PMP

Waheed, Uzair, author




time

Time management in an instant [electronic resource] : 60 ways to make the most of your day / Karen Leland & Keith Bailey

Leland, Karen




time

Total quality management and just-in-time purchasing [electronic resource] : their effects on performance of firms operating in the U.S. / Hale Kaynak

Kaynak, Hale, 1956-




time

Winning the loser's game [electronic resource] : timeless strategies for successful investing / Charles D. Ellis

Ellis, Charles D




time

Winning the loser's game [electronic resource] : timeless strategies for successful investing / Charles D. Ellis

Ellis, Charles D., author






time

JAMA Internal Medicine : Allocation of Inpatient Time Among First-Year Internal Medicine Residents

Interview with Krisda Hirschman Chaiyachati, MD, MPH, MSHP, author of Assessment of Inpatient Time Allocation Among First-Year Internal Medicine Residents Using Time-Motion Observations, and Christopher Moriates, MD, author of A Modern Snapshot of the Daily Work of Medical Interns—The Burden of Indirect Patient Care







time

Young Indian architect named ‘leader of tomorrow’ by Time



  • DO NOT USE Indians Abroad
  • World

time

US apex court denies former Goldman Sachs director Rajat Gupta’s appeal against lifetime ban



  • DO NOT USE Indians Abroad
  • World

time

UK academician plans ‘Mahabharata’ Twitter sequel, this time on Duryodhana



  • DO NOT USE Indians Abroad
  • World

time

Bobby Jindal misses cut for 1st prime-time presidential debate



  • DO NOT USE Indians Abroad
  • World

time

CCH Practice Management - Time Entry

Available Sessions for this Seminar:

ipwebinar.aspx?tab=1&smid=1644, January 20, 2015




time

CCH Practice Management - Time Entry - Private

Available Sessions for this Seminar:

ipwebinar.aspx?tab=1&smid=1635, December 15, 2014
ipwebinar.aspx?tab=1&smid=1635, December 15, 2014
ipwebinar.aspx?tab=1&smid=1635, January 05, 2015
ipwebinar.aspx?tab=1&smid=1635, January 05, 2015
ipwebinar.aspx?tab=1&smid=1635, January 06, 2015
ipwebinar.aspx?tab=1&smid=1635, January 07, 2015
ipwebinar.aspx?tab=1&smid=1635, January 07, 2015
ipwebinar.aspx?tab=1&smid=1635, January 20, 2015
ipwebinar.aspx?tab=1&smid=1635, January 27, 2015
ipwebinar.aspx?tab=1&smid=1635, January 27, 2015
ipwebinar.aspx?tab=1&smid=1635, January 29, 2015




time

CSS Animation Timelines: Building a Rube Goldberg Machine

Lately I've been using variables to plan out pure CSS timelines for complex animations. I built an SVG and CSS Rube Goldberg machine to put this technique to the test!




time

Got a chance to serve at critical time, take people home: Loco pilots

For over five hours, as migrant workers and stranded tourists boarded the Shramik special train, the two loco pilots ran over checklists and discussed their route in the engine of train number 01602.




time

Responsive ruthenium complex probe for phosphorescence and time-gated luminescence detection of bisulfite

Dalton Trans., 2020, 49,5531-5538
DOI: 10.1039/C9DT04614C, Paper
Wenzhu Zhang, Xiuyan Xi, Yong-Lei Wang, Zhongbo Du, Chaolong Liu, Jianping Liu, Bo Song, Jingli Yuan, Run Zhang
We report the design, synthesis, and characterization of a responsive Ru(II) complex probe for background-free time-gated luminescence detection of bisulfite.
The content of this RSS Feed (c) The Royal Society of Chemistry




time

Time-resolved infra-red spectroscopy reveals competitive water and dinitrogen coordination to a manganese(I) carbonyl complex

Dalton Trans., 2020, 49,5463-5470
DOI: 10.1039/C9DT04878B, Paper
Jonathan B. Eastwood, L. Anders Hammarback, Matthew T. McRobie, Ian P. Clark, Michael Towrie, Ian. J. S. Fairlamb, Jason M. Lynam
Photolysis of [Mn(C^N)(CO)4] (C^N = bis-(4-methoxyphenyl)methanimine) in heptane solution results in ultra-fast CO dissociation and ultimate formation of a rare Mn-containing dinitrogen complex fac-[Mn(C^N)(CO)3(N2)].
The content of this RSS Feed (c) The Royal Society of Chemistry




time

Letter from Beijing: Love in the Time of COVID-19

My son Tom works in healthcare finance, and has lived in China since graduating from college. He was quarantined in Lanzhou during the 2009 swine flu epidemic, and now he's experiencing the semi-quarantine of 2020. In fact, I expected to be there right now and was looking forward to time with him and his wife

The post Letter from Beijing: Love in the Time of COVID-19 appeared first on Berkshire Publishing.




time

Silenced victims of wartime sexual violence / Olivera Simić

Dewey Library - KZ7162.S56 2018




time

The grey zone: civilian protection between human rights and the laws of war / edited by Mark Lattimer and Philippe Sands

Dewey Library - KZ6515.G74 2018




time

Narratives of hunger in international law: feeding the world in times of climate change / Anne Saab, Graduate Institute of International and Development Studies

Dewey Library - K3260.S23 2019




time

Governance, policy and juxtaposition: a maritime perspective / Michael Roe

Online Resource




time

Poetry 180: Poem 139 - "How Many Times"

A poem by Marie Howe from the Library's Poetry 180 Project.




time

Precision Time & Frequency Scientists/Engineers: Defence Science and Technology Laboratory

£39,500.00 - £63,500.00: Defence Science and Technology Laboratory
For more latest jobs and jobs in South West England visit brightrecruits.com



  • South West England


time

Physicist – Time Metrology: Bureau International des Poids et Mesures

€Attractive: Bureau International des Poids et Mesures
For more latest jobs and jobs in France visit brightrecruits.com





time

With judiciary embracing technology, time to push dispute resolution online

Experts say online dispute resolution cannot take off in India without active work from the government and the judiciary




time

Multimedia stardom in Hong Kong : image, performance and identity / Leung Wing-Fai

Leung, Wing-Fai, 1970-




time

Comradeship : stories of friendship and recreation in wartime / written by Kathleen Cusack

Cusack, Kathleen, author




time

Maritime business and economics : Asian perspectives / edited by Okan Duru




time

The happiness box : a wartime book of hope / Mark Greenwood & Andrew McLean

Greenwood, Mark, author




time

Timor Sea Maritime Boundaries Treaty Consequential Amendments Bill 2018 [Provisions], Passenger Movement Charge Amendment (Timor Sea Maritime Boundaries Treaty) Bill 2018 [Provisions] / The Senate Economics Legislation Committee

Australia. Parliament. Senate. Economics Legislation Committee, author, issuing body




time

Another place another time = Yi yu / Chan-Fai Cheung ; with an essay by Ľubica Učník ; Chinese essays by Donna Chu, Chan-Fai Cheung

Zhang, Canhui, 1949- author, photographer




time

Podcast: Is it high time for high-throughput experimentation?

Although the concept of HTE, has been around for a while, chemists are increasingly using its microplates and robots to rapidly run myriad experiments simultaneously. <i>Stereo Chemistry</i> explores what's behind the surge in popularity




time

Tips for teaching in the time of coronavirus

Veterans of teaching chemistry online offer advice for professors challenged by the COVID-19 pandemic




time

Eliminating catalyst defects boosts activity and extends lifetime

Nearly perfect, long-lasting crystalline catalyst turns CO<sub>2</sub> into valuable products