margin

Asia Gasoil Margins Drop to Record Low Amid Signs of Indian Export Surge

India's April gasoil exports closed at a four-month high of 2.73 million tonnes, compared with 2.53 million tonnes in March, according to Refinitiv oil research assessments.




margin

Rupee ends marginally higher at 75.63 per dollar

The Indian rupee is likely to gyrate in the range of 75.20 and 76.60 in near term, says Sugandha Sachdeva VP-Metals, Energy Currency Research, Religare Broking.




margin

The Toarcian oceanic anoxic event in the South Iberian Palaeomargin [Electronic book] / Matías Reolid, José Miguel Molina, Luis Miguel Nieto, Francisco Javier Rodríguez-Tovar.

Cham : Springer, [2018]




margin

Hellboy's world: comics and monsters on the margins / Scott Bukatman

Hayden Library - PN6727.M53 Z57 2016




margin

Communautés nationales et marginalité dans le monde ibérique et ibero-américain.

Online Resource




margin

The projected nation: Argentine cinema and the social margins / Matt Losada

Hayden Library - PN1993.5.A7 L67 2018




margin

Gothic queer culture: marginalized communities and the ghosts of insidious trauma / Laura Westengard

Hayden Library - HQ76.96.W47 2019




margin

Making futures [electronic resource] : marginal notes on innovation, design, and democracy / edited by Pelle Ehn, Elisabet M. Nilsson, and Richard Topgaard




margin

Marginal rise in cargo traffic in Apr-Sept 2012: survey

Cargo traffic at ports during the six-month period ended September 2012 grew by just 1.8% to 455.8 million tonne due to decline in shipments handled at major ports, Economic Survey said today.




margin

SBI Life reports 8% growth in pre-tax profit for Q4FY20; margin improves

The net profit of the insurer jumped 16 per cent to Rs 531 crore in Q4FY20 from Rs 458 crore because of lower tax provision




margin

HCL Technologies Q4 preview: EBIT margin may drop; watch for deal pipeline

Emkay Global Financial Services expects net sales (revenue) to rise 2.3 per cent quarter-on-quarter (QoQ) and 16 per cent year-on-year (YoY) to Rs 18,552.7 crore




margin

The Toarcian oceanic anoxic event in the South Iberian Palaeomargin / Matías Reolid, José Miguel Molina, Luis Miguel Nieto, Francisco Javier Rodríguez-Tovar

Online Resource




margin

Marginalised students set to get e-learning support

Among those hit by the Covid-related uncertainties of the present times are the students in the state who are clueless about the next academic year.




margin

Éclats des vies muettes: figures du minuscule et du marginal dans les récits de vie d'Annie Ernaux, Pierre Michon, Pierre Bergounioux et François Bon / Aurélie Adler

Online Resource




margin

Gaming at the edge: sexuality and gender at the margins of gamer culture / Adrienne Shaw

Hayden Library - GV1469.17.S63 S53 2014




margin

Race, gender, and deviance in Xbox live: theoretical perspectives from the virtual margins / Kishonna L. Gray

Hayden Library - GV1469.34.V56 G73 2014




margin

Negative margins in CSS

I’m writing the Box Model chapter of the new book and came to the point where I had to treat negative margins. To my surprise, I found that there is no systematic treatment of negative margins anywhere. So I had to figure it out for myself. Below is my initial draft of the negative margin section.

The latest specification only says: “Negative values for margin properties are allowed, but there may be implementation-specific limits.” and leaves it at that. Not extremely helpful. MDN is mostly silent as well, and Rachel Andrew’s big overview article doesn’t mention negative margins at all.

That’s odd, especially since negative margins are a very old functionality that I might even have used in my very first CSS test somewhere back in 1998. (Unless I used position: relative; I can’t remember.)

But anyway, here is, apparently, the first-ever systematic treatment of negative margins in simple situations.

Negative margins in CSS

It is possible to give margins a negative value. This allows you to draw the element closer to its top or left neighbour, or draw its right and bottom neighbour closer to it. Also, there is an exception we’ll get to in a minute.

Here is our test element: a simple container with three paragraphs in it. Note that the paragraphs have a width of 250px. This is extremely important, due to the exception we’ll get to in a minute.

First paragraph with a bit of text in it to provide some content.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Negative margin-top and -bottom

To start, let’s give the first paragraph a -15px margin-bottom. Essentially, when the browser calculates the point where the second paragraph should start, it moves that point 15px upward. From then on the browser lays out all paragraphs as normal.

First paragraph with margin-bottom: -15px.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Therefore the second paragraph, being the bottom neighbour of the first one, is draw 15px closer to the first paragraph. The margin between the second and third paragraphs remains intact; the browser calculates it normally. Thus, the rest of the vertical rhythm is preserved.

This trick is useful for subtle tweaks, where the content of one element should slightly overlap the content of the one above it.

Now let’s give the second paragraph a -15px margin-top. As you see, this yields exactly the same effect. Again, the second paragraph is moved upward by 15px, and the subsequent paragraphs follow.

First paragraph with a bit of text in it to provide some content.

Second paragraph with margin-top: -15px.

Third paragraph with a bit of text in it to provide some content.

Margin collapsing

Also note that margin collapsing behaves different when you use negative margins. This, at least, is specified in CSS 2.1:

In the case of negative margins, the maximum of the absolute values of the negative adjoining margins is deducted from the maximum of the positive adjoining margins. If there are no positive margins, the maximum of the absolute values of the adjoining margins is deducted from zero.

In the last example, the first paragraph still has its default margin-bottom of 1em (Chrome; can’t find Firefox’s value).

Normally, the browser would take the first paragraph’s margin-bottom and the second one’s margin-top, figure out which one is larger, and apply that margin between the two, which would yield max(-15px,1em) = 1em. That’s not how it works, though.

In case of negative margins we take the absolute values of the two adjoining margins (15px for the second paragraph; 1em for the first), and deduct the smaller (15px) from the larger (1em). This yields about 1px (depending on the font size, of course).

Thus, negative margins are actually allowed to pull elements closer to their neighbours without being hindered by regular margin collapsing.

Now we treated negative margin-top and -bottom fully. It’s an occasionally useful effect.

Negative margin-left and -right

Negative margin-left and -right work the same, provided the element has a width. Here we apply margin-left: -10px and margin-right: 10px.

First paragraph with margin-left: -10px.

Second paragraph with margin-right: -10px.

Third paragraph with a bit of text in it to provide some content.

As you see, the first paragraph is now offset 10px to the left, while retaining its width. Thus, its right edge also moves 10px to the left.

The second paragraph with the negative margin-right is unaffected. The negative margin-right would influence any element to the right of the second paragraph, but there aren’t any.

To show negative margin-right in its full glory, let’s float the paragraphs, so that they have a right neighbour. Here is the reference element.

First paragraph with a bit of text in it to provide some content.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Now we’re going to sprinkle some negative margins on the paragraphs.

First paragraph with margin-right: -10px.

Second paragraph with margin-top: -10px.

Third paragraph with margin-bottom: -10px.

As you see, the second paragraph is now drawn 10px closer to the first one due to the first’s negative margin-right. This is exactly the same effect as with a negative margin-bottom.

Also note that the second paragraph has a negative margin-top, which means it is offset 10px upward. The third paragraph has a negative margin-bottom, which has no effect, since it does not have a bottom neighbour.

Remember: margin collapsing does not work on margin-left and -right; just on -top and -bottom. Therefore we do not have to worry about it in this case.

If we give the second paragraph a margin-left: -10px, the same happens. Just like with top and bottom, left and right are interchangeable for this effect.

First paragraph with a bit of text in it to provide some content.

Second paragraph with margin-left: -10px.

Third paragraph with a bit of text in it to provide some content.

So far, negative margin-left and -right behave exactly like negative margin-top and -bottom.

width: auto and negative margin-right

Now let’s change the behaviour of negative margin-right by giving the paragraphs width: auto. They do not have a fixed width any more; instead they fill up their parent element completely while respecting its padding. That’s how width: auto works.

The paragraph with margin-left: -10px is still offset 10px to the left, but its width grows. Thus, its right edge is not offset but stays where it is.

Reference paragraph

First paragraph with margin-left: -10px.

Second paragraph with margin-right: -10px.

Third paragraph with margin-left: -10px; margin-right: -10px

The negative margin-right now does the same thing. It offsets the paragraph’s right margin by 10px to the right, and the paragraph’s width increases, causing its left edge to stay where it is. This only happens when an element has width: auto. As we saw before, elements with a fixed width behave quite differently.

Finally, the third paragraph has both. Both its left and its right margins are offset by 10px, essentially negating the container’s padding: 10px;.

This is by far the most common use case for negative margins. You give a container a padding so that its contents have some breathing space. However, you want the header to span the entire container, ignoring the padding. Negative margins are the way to go.

This is a header

This is a regular content paragraph.

This is a regular content paragraph.

These are the header styles; the container has padding: 10px

h5 {
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 10px;
	margin-top: 0;
	margin-bottom: 0;
	background-color: grey;
	color: white;
	/* no width, so defaults to width: auto */	
}

Again, this is only possible if the header has width: auto. Fortunately that’s the case in 99% of real-world use cases.

This is how negative margins behave in simple situations. Now that I established a baseline I can look into how they behave in flexboxes and grids.



  • CSS for JavaScripters

margin

Rejecting the marginalized status of minority languages: educational projects pushing back against language endangerment / Ari Sherris, Susan D. Penfield

Online Resource




margin

A pH ratiometrically responsive surface enhanced resonance Raman scattering probe for tumor acidic margin delineation and image-guided surgery

Chem. Sci., 2020, 11,4397-4402
DOI: 10.1039/D0SC00844C, Edge Article
Open Access
Wenjia Duan, Qi Yue, Ying Liu, Yunfei Zhang, Qinghua Guo, Cong Wang, Shujie Yin, Dandan Fan, Wenjing Xu, Jiexian Zhuang, Jiachao Gong, Xinwei Li, Ruimin Huang, Liang Chen, Silvio Aime, Zhongliang Wang, Jianfeng Feng, Ying Mao, Xiao-Yong Zhang, Cong Li
A novel pH ratiometrically responsive surface-enhanced resonance Raman scattering (SERRS) probe was developed for tumor acidic margin delineation and image-guided surgery.
The content of this RSS Feed (c) The Royal Society of Chemistry




margin

Global creation : space, mobility, and synchrony in the age of the knowledge economy / Simon Marginson, Peter Murphy and Michael A. Peters

Marginson, Simon




margin

Improved classification rates for localized algorithms under margin conditions / Ingrid Karin Blaschzyk

Online Resource




margin

French Muslims in Perspective: Nationalism, Post-Colonialism and Marginalisation under the Republic / Joseph Downing

Online Resource




margin

Police and the Policed [electronic resource]: Language and Power Relations on the Margins of the Global South

Watson, Danielle




margin

Borders and margins: federalism, devolution and multi-level governance / Guy Lachapelle, Pablo Oñate, [editors]

Dewey Library - JC355.B67 2018




margin

Germination and viability of seeds of jarrah (Eucalyptus marginata) forest species according to temperature and duration of storage / M.A. Norman, E.L. Cromer, S.K. Taylor

Norman, M. A





margin

Creative spaces: urban culture and marginality in Latin America / edited by Niall H.D. Geraghty and Adriana Laura Massidda

Online Resource




margin

On the margins of urban South Korea: core location as method and praxis / edited by Jesook Song and Laam Hae

Rotch Library - HT169.K6 O5 2019




margin

Urban development in the margins of a World Heritage Site: in the shadows of Angkor / Adèle Esposito

Rotch Library - HT147.C26 E87 2018




margin

Crude oil up on demand prospects: steep rise in margins on MCX

Margin now fixed at 100%, with Rs 95,000 per lot as absolute minimum. So if crude falls below Rs 950, the margin will continue to be based on the price of Rs 950




margin

‘Mobilising the Marginalised – Ethnic Parties without Ethnic Movements’ review: Why empowerment means the die won’t be caste

A political scientist argues that Dalit social movements undermine the community’s electoral mobilisation




margin

Muslims at the margins of Europe: Finland, Greece, Ireland and Portugal / edited by Tuomas Martikainen, José Mapril, Adil Hussain Khan

Rotch Library - D1056.2.M87 M873 2019




margin

Across inner margin Eleanour [Eleanor] Island, Johns Pass




margin

Red mangroves on outer margin, Eleanour [Eleanor] Island




margin

Margin of main channel




margin

Institutionalized on the margins




margin

Voices from a marginalized population




margin

Stabilization of marginal soils using recycled materials




margin

Le Christianisme "marginal" chez Chrétien de Troyes




margin

Recent continental slope sediments and sedimentary processes bordering a non-rimmed carbonate platform : southwest Florida continental margin




margin

Hypogenic karst at the Arabian platform margins: Implications for far-field groundwater systems




margin

Hypogenic karst at the Arabian platform margins: Implications for far-field groundwater systems




margin

Middle-Late Quaternary paleoclimate of northern margins of the Saharan-Arabian Desert: reconstruction from speleothems of Negev Desert, Israel




margin

Pliocene–Pleistocene climate of the northern margin of Saharan–Arabian Desert recorded in speleothems from the Negev Desert, Israel




margin

Quaternary tectonic stability of the Bahamian archipelago: evidence from fossil coral reefs and flank margin caves




margin

Discordant notes: marginality and social control in Madrid, 1850-1930 / Samuel Llano

Lewis Library - ML3917.S73 L53 2018




margin

MERC reduces industrial tariffs, marginally hikes rates for certain residential and agricultural users



  • DO NOT USE Maharashtra
  • India

margin

Artists unite to raise funds for relief work for marginalised




margin

Maharashtra: Policy to get small, marginal farmers back into institutional credit system main task ahead




margin

Lockdown impact: Oil refiners stare at <span class='webrupee'>₹</span>25,000 crore loss in inventories, fall in margins

Inventory losses would be more for refineries located away from the coast because they have to stock crude oil for longer periods.Besides inventory losses, operating performance of refiners is expected to remain weak in the first quarter of fiscal 2021 due to lower volumes and weak GRMs