Questions tagged as 'vertical-align'

3
answers

CSS - Align image inside table with inline css

I need to align one image to the text of the other cell in the table. The css is inline. Here is the code: <table> <tbody> <tr> <td style="display: inline-block; width: 50px; padding-left: 30px;">...
asked by 13.04.2016 / 21:26
3
answers

Vertical-align does not line li's

Guys, I have a problem with the use of vertical align. My <li> of the start menu is 80px in height and set to align in half. It just does not work, huh. link     
asked by 28.11.2014 / 15:17
2
answers

Centralize DIV vertically with no fixed height in CSS

There are several ways to centralize the content of a <div> vertically. However, when it comes to a height other than in pixels, people are beginning to wonder if there is an efficient method for doing this. I created a form that...
asked by 11.02.2016 / 16:28
3
answers

Centralize Vertically

I have a div and inside it I have 2 more, one for an image and one for a text. I need the image to always be centered vertically, regardless of the size of the text. .lista_teste{ width: 100%; height: 100%; background: #ccc;...
asked by 21.09.2017 / 17:16
1
answer

Demystifying the Veritcal-align ... in which display does it work?

No, the question is not repeated ... In other questions, I saw gambiarras to align the text vertically using margin, padding, etc. And I saw as a possible solution, change to display: flex, position: relative etc. But if I need the disp...
asked by 27.10.2017 / 18:51
1
answer

Class row with image

I'm trying to put in a row three columns, where the first one will have an image and the others should have the text aligned below. <div class="row" style="background-color: #ffffff"> <div class="col-md-2"><img src="../im...
asked by 18.10.2016 / 13:37
2
answers

How to align element vertically and horizontally inside a row in Bootstrap?

I'm having an overwhelming problem to center a text underneath an image in Bootstrap. I've tried everything, with position, table-cell. .bloco-materia { text-align: center; padding: 25px 50px; height: 200px; background: #eee;...
asked by 02.08.2018 / 23:34
1
answer

Align textbox in the center of a page using asp.net bootstrap

I can not centralize the email textbox and password. Here's part of the code and image to help. <body> <form id="form1" runat="server"> <!--Começo cabeçalho--> <header> <nav class="na...
asked by 07.11.2016 / 18:02
2
answers

Vertical CSS alignment based on height of another element

I'm trying to create a block containing an image with content next to it, where I want the image to be center-aligned based on the height of the content. I leave here a scheme of what I intend. I have tried alignments by rendering the container...
asked by 05.06.2015 / 17:24
1
answer

Center the page horizontally html css

How to horizontally center my logo, this arrow is not very horizontally centered, I wanted it to be ... Can anyone help me? I tried the top: 50% and it did not work ... @charset "UTF-8"; html { overflow-y: scroll; } .postagem { b...
asked by 12.09.2018 / 16:14