Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Email client support negative margin value?

Please have look the below screenshot

enter image description here

I want to positioned the lens in top area.Sadly the position value is not supported by email clients.so what can i do for that.can i use for margin-top value as minus value? hope you can help me..thanks in advance

like image 820
Krish Avatar asked Feb 19 '14 13:02

Krish


People also ask

Does negative values are allowed in margin?

Syntax. The margin-bottom property is specified as the keyword auto , or a <length> , or a <percentage> . Its value can be positive, zero, or negative.

Is it a good practice to use negative margin?

Using negative margin is considered bad practice as it makes the code more complex and difficult for developer's understanding. Generally there is no need to use negative margin, unless and until you have made any error elsewhere.

How do you do negative margins?

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.


1 Answers

Hotmail and Outlook.com no longer support the following CSS properties:

margin
margin-top
margin-right
margin-bottom
margin-left

Here is the statement given by Litmus ..

like image 108
Kheema Pandey Avatar answered Sep 24 '22 00:09

Kheema Pandey