Most voted "positioning" questions
Tag referring to questions that involve positioning elements within a context (positioning a button on a page, position of an information in a matrix, etc)
Learn more…79 questions
Sort by count of
-
0
votes1
answer40
viewsKeep div on screen
I’d like to know how to make a div lively (I have function JQuery keydown that moves a div) but the div comes off the screen and I’d like it to be only 20 px of the margins. I have already put this…
-
0
votes1
answer655
viewsListview by selecting position
I have a code I need him to select the item by its position... In case he is already selecting but he selects randomly. listView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener()…
-
0
votes4
answers666
viewsHow do I get an image to cross the boundaries of a DIV
I’m having difficulty putting a 100% image on the mobile screen, which has a margin on the previous DIV, I’ve tried to change the position, overflow and float but I can’t get past this margin.…
-
0
votes1
answer51
viewsSpecific positioning doubt in CSS
My João da Silva page, in the Section "Blog" has a white band at the bottom that I can not take out at all. They follow the relevant parts of the script and a print: Print: html: <section…
-
0
votes0
answers145
viewsButton appears superimposed
I am adding buttons to add music to the favorites, but this button is only appearing in the first songs, it does not appear in the others below, it seems that the buttons are superimposed... But I…
-
0
votes2
answers112
viewsAdjust Section [Position: Absolute]
People, I’m doing a website as a college project, but I’m picking up a little bit to solve a problem with the positions of the elements. I have 3 sections, one adjusted to be Header, one adjusted to…
-
0
votes1
answer61
viewsDIV lose alignment if it is with a number of different lines
I’m trying to line up some divs but I realized that when the div that’s on the other side is not with the same line number on <p> it simply loses alignment, I am developing in Laravel using…
-
0
votes1
answer735
viewsPosition Fixed mixing margin
When I set my header#header header as Fixed position, it took the style (for example the margin) of div.interface, I don’t understand why this happens, I want my div.interface to have…
-
0
votes1
answer158
viewsI cannot align <thead> with <tbody> in my table with SQL query
I have the following table header: <?php echo ' <div style="height:65px"> </div> <table id="oie" border="1" class="minha-table"> <thead class="headerr"…
-
0
votes1
answer188
viewsposition: Sticky does not work in my header
Guys, I have a header that position: Sticky is not working and I don’t understand why. HTML <header class="header_bg"> <div class="container"> <div class="header"> <div…
-
0
votes1
answer119
viewshow do I make a footer that is always below all elements
Hello, I’m learning how to create websites and I came across a problem when I was formatting the footer, it wasn’t exactly below my page, in fact it was below to some extent, but when I was…
-
0
votes1
answer37
viewsWhen using tag div inside a parent element that has padding, the left padding is shown
When using <div> within an element <figcaption> with padding: 10px and putting the div with bottom: 0px relating to <figcaption>, the right padding of <figcaption> does not…
-
0
votes1
answer20
viewsWhy `position: Sticky;` of an element stops working when it reaches the `margin-bottom` of the next element?
I’m doing an exercise in CSS and I have a header stylized with position: sticky. This style works correctly until the scroll of the page finds the margin-bottom of the next element (div), when the…
-
-1
votes3
answers402
viewsResponsive Design - Text on img background
I have a website start and I’m trying to develop it into a responsive layout. At the moment the site is like this: http://40kgg.zz.vc/ (temporary domain, only for testing). For my resolution, in…
-
-1
votes1
answer1666
viewsHow to position the iframe below according to the position I want on the screen?
How to position the iframe below according to the position I want on the screen? <div> <iframe width="1100" height="500" id="processoControleExterno" src="www.google.com" scrolling="no"…
-
-1
votes1
answer46
viewsProblems with HTML + CSS Element Placement
I’m having a lot of problems positioning elements in html+css, I’m making a site, and I made a button with animation there, so I went to try to put a navigation bar, so I put before the code of the…
-
-1
votes2
answers1275
viewsImage HTML position does not scroll with the screen
I’m creating a layout where the content is on top of an image, but I realized that when scrolling the page this image scrolls together! please can anyone help? tks. There goes html code: <section…
-
-1
votes2
answers91
viewsFooter does not resize
Good evening. My problem is the following, when screen is very small and is shown the scroll bar the footer does not extend more to 100%. HTML <!DOCTYPE html> <html lang="pt-br">…
-
-1
votes1
answer29
viewsgrid fill div
I have a page where there is a part with questions, I needed to put the textfield filling the frame and the button in the bottom right corner of the page, but for that I would need to fill the grid…
-
-1
votes2
answers48
viewsDIV element does not position next to "sidenav"
I’m creating a page that will have a fixed sidebar and a <div> with the main content of the page. Below is an example code: .sidenav { height: 100%; width: 160px; position: fixed; z-index: 1;…
-
-1
votes2
answers15
viewsI need an SVG image to be fixed to a corner of a Div of varying size
wanted to know how to make an image (svg) get "stuck" to a corner of a div... ex: I have DIV (purple) and SVG (red) where the DIV has a standard width and it n grows more than that, already at the…
-
-1
votes1
answer37
viewsAlignment of elements in the header
I’m a programmer and I haven’t manipulated for a long time HTML/CSS, now I need to create a portal for a small application and I’m having difficulty in some issues related to the alignment of…
-
-2
votes1
answer117
viewsChild element behind father
I have two father and son elements with Fixed position in both, how do I get the son to stand behind the father? I have a menu bottom (father), when clicked opens the submenu (son) with animation…
-
-2
votes2
answers143
viewsDictionary doubt
How do I count dictionary elements? datum: I need to implement a phone account function, which receives a phonebook and returns the amount of registered phone numbers. If there are repeat phones…
-
-2
votes1
answer51
viewshow to position image accurately
Hello I would like to know how to correctly position the image in the center of canvass with precision? <!DOCTYPE html> <html> <head> <meta charset="UTF-8">…
-
-3
votes1
answer58
viewsSuperimpose one <div> to the other keeping them aligned to a third <div>
Hello I have a problem to align overlay two images. There are two images A and B, and B should be on top of A and both aligned at the bottom of another div that is in the center of the page. I’ll…
-
-3
votes1
answer31
viewsHow to overwrite Divs without position Absolute and relative? CSS
Good afternoon, folks, how are you? I’m looking for a way to overlay div’s position without Absolute and relative, would like? if I use any of these, it ends up leaking into my header (which is with…
-
-3
votes1
answer46
viewsfix the menu at the top of the page
I have a header with my logo on top and just below the menu. I would like the scrolling page, the menu to go to the top, and the header to disappear. html header: <header class="cabecalho">…
-
-4
votes1
answer163
viewsHow to put html code in question
I have a block of html code and I need it here in the body of the question