margin Questions

6

Solved

I have looked around for many solutions and I am currently redoing the code of a website I own as I had all of my CSS individually laid out on each HTML page. Eventually I had too many pages to han...
Metalepsis asked 29/1, 2018 at 21:54

2

I tried to just use below setting but turn out the header and footer positions will be changed. Please advise. await page.pdf({ path: FILENAME, format: 'A4', margin: { top: "0px", right: "0px...
Southeast asked 17/10, 2019 at 5:6

12

Solved

Does Bootstrap have built-in padding and margin classes like pad-10, mar-left-10 or I have to add my own custom classes? For example, similar to the ones here at padding and margin tabs.
Teepee asked 26/8, 2015 at 17:56

5

Solved

I want to underline my navigation menu but the problem is that I need it to be thicker so I am using bottom border instead so that I can set the width to 6px. I can seem to figure out how to get t...
Anana asked 12/4, 2012 at 20:57

2

Solved

I am trying to set the figure margin for a pdf generated with R. Using mar, I can reduce the plot margins. However the resulted plot is still a square in the middle of the page instead of using all...
Asper asked 15/11, 2016 at 6:4

2

Solved

Probably a confusing question title. The Grid with the Red Rectangle is an example of how it should look. The Grid with the Blue Rectangle (not appearing in the image) has a margin that forces th...
Oslo asked 27/4, 2011 at 21:21

6

Solved

I have look for a while now on this problem and have not found a straight answer. When adding a margin top to an element, in my case it happens mostly with headings. In many occasions the margin-to...
Wetzel asked 19/12, 2013 at 18:58

11

Solved

I would like to set an element's position to absolute and have a margin-bottom, but it seems that the margin-bottom doesn't have an effect. HTML: <div id='container'></div> CSS: #...
Elyot asked 19/2, 2012 at 16:8

8

Solved

I have this simple piece of HTML. Why doesn't the background color fill the entire #footer element's background - specifically, including the margin? <!doctype html> <html> <hea...
Prognosis asked 22/12, 2016 at 12:55

3

I'm working on a small personal website that also needs to be printable. The site itself is structured in a simple way: body serves as a backdrop, has a single container child that has a fixed widt...
Egoism asked 27/12, 2019 at 14:26

6

Solved

I have an EditText inside an AlertDialog. It looks like this. See where it says tddjdjck and how it is indented quite a lot. That is what I want (I used setPadding with left and right set to 50)...

6

Solved

In W3 CSS and also in XUL/CSS? (not between CSS and XUL/CSS).
Bloodshot asked 13/5, 2010 at 1:3

3

Solved

I have a flex container with two flex items. I want to set a margin-top on the second one, but only when it's wrapped and not at the first flex line. If possible, I want to avoid using media queri...
Ratcliffe asked 17/6, 2015 at 9:7

3

I am creating a python script that can modify a pdf file to be printed in book sections. As there is no such functionality in the ubuntu printing settings. PyPDF2 is a wonderful tool with which I ...
Fia asked 5/10, 2014 at 15:47

5

Solved

I have a "container" div to which I gave margin:auto;. It worked fine as long as I gave it a specific width, but now I changed it to inline-block and margin:auto; stopped working Old code...
Bettyebettzel asked 29/9, 2013 at 10:23

9

Solved

What does auto do in margin: 0 auto;? I can't seem to understand what auto does. I know it sometimes has the effect of centring objects.
Chalutz asked 3/7, 2010 at 8:2

5

I have a problem with my Flutter Layout. I have a simple container with a Margin right and left of 20.0 Inside this container i have another container. But this container does not fit to the pare...
Alverson asked 19/3, 2018 at 18:24

3

Solved

version: 0.6.0 beta 3 I tryed in every manner to make dompdf set the margin of the page. I have a long page with a lot of text, divided in chapters... my css is something like: #wrapper{ paddin...
Tablecloth asked 4/11, 2013 at 23:30

10

Solved

There is always some space above my header. How can I remove it? My HTML and CSS code is given below. body{ margin: 0px; padding: 0px; } header{ margin: 0px; padding: 0px; height: 20em; ...
Dungaree asked 20/1, 2013 at 10:57

3

Solved

I want to be able to use the common margin: auto property, but with a minimum margin, such as: margin: 0 max(auto, 16px); This would center an element horizontally & still enforce 16px of marg...
Tallu asked 12/12, 2021 at 11:18

4

Solved

Links within a page scroll your content to the top of the browser window. Is there any way to add a margin to that? I'll be using some javascript to guide the scrolling, but would like to have a vi...
Wicker asked 27/11, 2011 at 3:11

4

Solved

I am running into a problem where I am wanting to remove the space between expansion panels of an expansion panel list when the panels are expanded. Images of unwanted behavior, these images are t...
Indiscipline asked 5/3, 2020 at 22:42

2

Solved

I've got a problem with vertical centering in Safari, using margin: auto 0; on a div which is nested inside a div with display: inline-flex; It works just fine in Firefox, Chrome, Opera... but fai...
Andersonandert asked 15/4, 2014 at 13:46

6

Solved

I am dealing with a chart that has unwanted spacing on left and right side. I've been trying to remove it with no luck, and I don't know what else to do now. I've read the documentation thoroughl...
Trochilus asked 9/1, 2017 at 11:26

6

Solved

I have a #header div that is 100% width and within that div I have an unordered list. I have applied margin: 0 auto to the unordered list but it won't center it within the header div. Can anybody p...
Breuer asked 8/6, 2009 at 6:25

© 2022 - 2024 — McMap. All rights reserved.