Most voted "vertical-align" questions
12 questions
Sort by count of
-
3
votes3
answers5944
viewsCSS - Align image inside table with inline css
I need to align an image to the text of the other cell in the table. css is inline. Follow the code: <table> <tbody> <tr> <td style="display: inline-block; width: 50px;…
-
2
votes3
answers108
viewsVertical-align does not align <li>’s
Guys, I have a problem using vertical align. Mine <li> from the initial menu is 80px high and set to be aligned in half. Only it does not work, Ué. http://jsfiddle.net/rhbogwx7/…
-
1
votes2
answers677
viewsCenter vertically DIV without fixed height in CSS
There are several ways to center the content of a <div> vertically. However, when dealing with a height other than pixels, people begin to wonder if there is an efficient method for this. I…
-
1
votes3
answers816
viewsCenter Vertically
I have a div and within 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%;…
-
1
votes1
answer178
viewsDemystifying the Veritcal-align... on 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 saw as a possible solution, change to display:flex,…
-
1
votes1
answer737
viewsAlign textbox in the center of a page using Asp.net bootstrap
I can’t centralize the email and password textbox. Follow part of the code and image to help. <body> <form id="form1" runat="server"> <!--Começo cabeçalho--> <header> <nav…
-
0
votes2
answers276
viewsCSS vertical alignment based on the height of another element
I’m trying to create a block that contains an image with content on the side, where I want the image to be aligned to the center based on the height of the content. I leave here a scheme of what I…
-
0
votes1
answer46
viewsClass 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…
-
0
votes3
answers602
viewsHow to align vertically and horizontally element within a Row in Bootstrap?
I’m having a huge problem centering a text under an image in Bootstrap. I’ve tried everything, with position, table-Cell. .bloco-materia { text-align: center; padding: 25px 50px; height: 200px;…
-
0
votes1
answer495
viewsHow to center a form vertically and horizontally with responsiveness using bootstrap?
Hello! Please, I need help/guidance. I am a beginner and am creating a login with bootstrap and would like to center vertically and horizontally this form. <div class="container"> <form…
-
0
votes1
answer70
viewsI can’t center text with "vertical-align"
I want my text to be centered horizontally and vertically on the element <div>. For this, I am using the properties text-align and vertical-align for this element. The problem is that the…
-
-1
votes1
answer381
viewsHorizontally center the html css page logo
As I center my logo horizontally, this arrow of mine is not very horizontally centered, I wish it were... Can anyone help me? I tried the top: 50% and it didn’t work... @charset "UTF-8"; html {…