Questions tagged [margin-left]

30 questions
3
votes
1 answer

Button inside the textarea overlaps text

I am having an issue here where the text overlaps the Emoji button . Basically I want the text to stop before reaching the emoji. I tried this which surprisingly did not work for me http://jsfiddle.net/36bw0nmo/14/ Thank you This is my fiddle…
BitcoinKing
  • 875
  • 7
  • 11
3
votes
1 answer

can't find the grey margin in VBA editor where you apply breakpoints

I somehow squeezed the margin where you apply breakpoints in the VBA editor. I can still apply breakpoints using shortcut keys but i can not scroll the control to a previous line without dragging it because i can't see the grey margin on left of…
user6879637
  • 41
  • 1
  • 3
3
votes
1 answer

Select an element by it's margin-left

So basically I have some div's and I need to select just the ones that don't have a margin-left set, or it's set to 0px. Is there any way I can achieve this with jQuery ?
paulalexandru
  • 9,218
  • 7
  • 66
  • 94
1
vote
1 answer

How to Align menu in navigation bar to right side using Bootstrap ml-auto?

I'm trying to align the menu's in bootstrap navigation bar using ml-auto, But it is not working. Instead of that we can align the menu's using margin-left:auto in style tag. Why is bootstrap ml-auto is not working?
Deva Dathan
  • 13
  • 1
  • 3
1
vote
3 answers

How to handle margin-left correctly?

The position of the portfolio page is well positioned but I think I don't use correctly propriety margin-left, I think that I have to use another propriety? Then, my second problem is that my languages page is too far from my portfolio page, I…
joel
  • 255
  • 1
  • 10
1
vote
2 answers

Setting margin-left to a certain value if less than 0

I want to set an object's css margin-left property to 1000 if it's lower than 0, but it isn't working as I want. This is the code I'm using: $(".slide").each(function(a, b) { m=$(this).css("margin-Left"); if (m <= "0px") { …
user7263531
1
vote
2 answers

Different/Increasing CSS Value for Many DIVs With Same Class

I want to use javascript to change the left-margin value of many separate DIVs. The catch is that: I want to use only one className and I want the margin to increase, for example, 100px for each instance of the class. This way, instead of having…
1
vote
5 answers

Apply margin-left to all text lines of an html input button

I cannot seem to align the text below the first line. See the text above the big green "send" button on the right of the page link. I have tried display: margin-left:15px only works for the first line of text, but the rest displays differently.
Dannyboy
  • 33
  • 7
1
vote
1 answer

Extra margin in RelativeLayout

I'm using Support Android Percentage Library's RelativeLayout AKA android.support.percent.PercentRelativeLayout but it has extra margin on the left edge same as RelaytiveLayout I didn't set any margin or padding but it's still has it, Search a lot…
0
votes
1 answer

Negative margin-right with left floats in the parent container

Learning CSS basics and was doing layouts with floats. I know CSS Grid and Flexbox are best practice and I intend to learn them, but wanted to understand the basics of floats before I move on. body { margin: 0px; padding: 0px; } .wrapper { …
0
votes
1 answer

margin-left not recognised by Chrome

What I thought was simple coding will not work in Chrome. Very basic I'm sure but answers to similar questions in the past seem to deal with much more complex questions in complex ways. My CSS: p.m75{font-size:1.15em; margin-left:75px;…
0
votes
3 answers

How can I increase marginLeft onclick in Javascript?

I want to begin my onclick() function in javascript style.marginLeft=0 to be like start from '0px' to '-100%' to '-200%' and then at the end with '-200%', when It become '-200%' If you click It again, It will bring you back to .marginLeft='0' Code…
itti
  • 51
  • 1
  • 7
0
votes
1 answer

When I am giving margin 0 0 0 auto, it should go to extreme right but no style is applied in output

In margin the last one is for left in this case, and therefore in this situation it is given as auto.So it should be at its extreme right. But its not happening. I want to know the logic behind this. .follow-btn { margin: 0 0 0 auto ; }
0
votes
1 answer

margin left not working when elements are floated and are block elements

I have an image (img tag) and a div, whose display property is set to flex. div and img are placed in a row. They are floated. I want to apply margin-left to the div but it does not work, unless I set the display property of the div to…
Shahryar Saljoughi
  • 2,599
  • 22
  • 41
0
votes
1 answer

Chrome 77.0.3865.90 messes up layout using margin-left: -100%

body { min-width: 660px; /* 2 x (LC fullwidth + CC padding) + RC fullwidth */ } #container { padding-left: 200px; /* LC fullwidth */ padding-right: 230px; /* RC fullwidth + CC padding…
1
2