Questions tagged [margin-left]
30 questions
0
votes
1 answer
TCPDF table header apply a different margin on next page + closee table before page break
The code used to print the pdf is as follows:
PdfController :
/**
* @Route("/{id}", name="api_article_pdf", methods={"GET"})
*/
public function gepdf2html($id)
{
// create new PDF document
$pdf = new \TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT,…

Zakymfony
- 31
- 6
0
votes
2 answers
Remove left margin from wordpress gallery
I just started my first blog with wordpress. I'm customizing some of it's features but I can't find the css file for the default gallery block type.
Here can be seen the difference between image block and gallery block.
Thank you very much for…

Kjubu
- 13
- 2
0
votes
1 answer
how to use ' > ' or ' < ' in if condition jquery with margin left?
ex :
if ( $div.css('marginLeft') == '-2000px') {
} ..... it is working but i want to check it like
if ( $div.css('marginLeft') > '-2000px') {
} ...... Not working

Ahmed Sayed
- 17
- 1
0
votes
1 answer
Browser expanding, sliding animation css
I'm trying to do some simple animations for a mobile design. I want to slide in some elements from outside the screen. It works when the elements come from the left, but not when they come from the right, because the browser expands.
Can someone…

Green
- 11
- 4
0
votes
1 answer
Half margin when using text-align: center instead of text-align: left
I just figured out a strange behavior. I used a div with text-align: center and an inner div with display: inline-block to center the inner div. So nothing exciting so far. Then i added a left margin on the inner div, because I needed it to be…

Saventi
- 3
- 1
0
votes
1 answer
Insert DOM object into any webpage
I am trying to create an basic chrome extension that adds a toolbar to the left hand side of any webpage.
I am wanting to create space on the left hand side which I can then fill with DOM elements.
I create space using…

Stephen Keeton
- 41
- 1
- 2
0
votes
0 answers
jquery sidebar is not working
I have two sidebars and left and right and centre box.
if both sidebar is slide out using margin-left:"0" and margin-right: "0" then center box become full width.
I wrote jquery if statements and is not working what I"m…

user1953826
- 41
- 8
0
votes
1 answer
CSS margin-left issue
I have 5 diagonal stripes here…
https://jsfiddle.net/70wk1hm2/
.... I have a problem with the left side (and the right ->
It should be window-filling), it is empty, there should be stripes too, which come from the left (out of the nothing).And no…
user7841842
0
votes
1 answer
Search field wouldn't move to the left except by using margin-right (which is not advisable)
I don't understand why the search field on our website follows a margin-right CSS command BUT NOT a margin-left CSS command. How come?
.header-top .search-field {
border-top: none;
border-bottom: none;
height: 34px;
border-color:…

Sandy Albaytar Jr.
- 59
- 1
- 9
0
votes
1 answer
How to get smooth block width without jump while responsive(like auto margin) with different left and right margin?
I have a css question about block left/right margin during responsive.
I need something like this:
@media screen and (max-width: 1024px) {
body .wrapper {
width:100%;
}
}
@media (min-width: 1024px) and (max-width: 1170px) {
body .wrapper…

Sandeep
- 13
- 6
0
votes
1 answer
If margin left == percent
I want my div to go left 5 times and after that coming back.
To do that I have that script :
Javascrpit :
$(document).ready(function() {
if(document.getElementById('twitter').style.marginLeft == "-278%")
{
(function($){
…

J.Aurélien
- 46
- 4
0
votes
2 answers
Can't animate my div with margin left
I want to have an animation, with a timer that scroll my div with margin left, but I can't even have a proper animation, when I try on my website, it just instant get the "-margin" and on the test nothing. Can't even get an animation when I…

J.Aurélien
- 46
- 4
0
votes
1 answer
how can i toggle my show hide without my nav expanding
Building an index for a huge list. But each time I click on a letter, it will show the contents, but it also pushes the other letters on the index bar (left nav) down. I want them to stay collapsed when toggling the contents. I tried using float,…

Jim Schwetz
- 105
- 2
- 12
0
votes
1 answer
JavaScript: Using marginLeft to position rating stars over image
Am using a JavaScript plugin to apply rating stars for a review. This [fiddle] has most of the code. The stars come in the place of the dropdown (the external resource isn't loading to show this in the fiddle). The stars are showing fine on the…

Agni Scribe
- 252
- 3
- 18
-1
votes
3 answers
Why is my left margin not being applied to my radio button?
I've got this CSS:
.leftmarginbreathingroom {
margin-left: 8px;
}
...and this HTML:
@*…
Generate and Email Reports

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862