Most voted "align" questions
20 questions
Sort by count of
-
5
votes1
answer1368
viewsWhen to use vertical-align?
I am aware that in certain cases it is advisable to use this property instead of text-align , margin or position. But I don’t know why or how vertical-align. Besides, how do you use this property?…
-
5
votes2
answers832
viewsHow to align text in a "mobile" menu using the "select" tag
I have a website (structuraonline.com.br) Responsive and when I access the menu on a PC simulating a mobile device the text is aligned to the center but when accessing using a mobile device itself…
-
4
votes1
answer580
viewsLine break with <br> tag causes spacing in PDF generated
When converting html to pdf using Flying saucer in java, the following failure occurs in the pdf file; a spacing between the last sentences, before the line break of the paragraph. This gives the…
-
2
votes1
answer971
viewsLayout alignment between classes - Android Studio
I am implementing a program that uses database and interacts by differentlayouts registration and user editing. I’m working with RelativeLayout on all screens. On one of thelayouts, I insert a…
-
2
votes1
answer1195
viewsCentralize elements of an SVG
Hi, I have a <g> within an SVG and would like to center its content, basically it would be like this: +-----------------+ x-----------------+ | X | | | | | | | | | | | | | ----> | x | | | |…
-
2
votes1
answer849
viewsDiv on top of image
I’m trying to put a div on top of the image, this div will be a white container with a certain height and width, inside that container, will contain a title and a paragraph. Below I leave you the…
-
1
votes2
answers4974
viewsUnwanted CSS white space
I’m doing a booking site for outdoor activities and I’m having a problem with CSS. In my document there is always a blank part below the image, I do not understand why. In Chrome dev tools nothing…
-
1
votes1
answer2423
viewsDifficulty with text alignment on Ionic 2 button
I started my studies with Ionic 2 these days and I’m not able to align the text of the Ionic buttons to right or left, it is only in the center. 1 - I tried to use the markup informed in the Ionic…
-
1
votes1
answer187
viewsGrid is not working
Hi, I’m having a problem using a grid.css. Here’s the thing, using the classes to define the columns, it just doesn’t work. I just want to line up 2 columns side by side. I’m using this grid:…
-
1
votes1
answer90
viewsNavigation not occupying full size of browser
The thing is, I just noticed an error that my site has, is this, I set the max-width of the page to 1366px, if I zoom out in the browser all elements occupy the full width of the browser. But it…
-
1
votes1
answer80
viewsFlexbox Horizontal List
Good afternoon, everyone! I’m looking to line up a list ul so that their li stay left and last li stay right. I’m not able to do this, someone could help me. I could make it easier if I split this…
-
1
votes1
answer406
viewsHTML CSS - Organize images(figure) with captions(figcaption) on the page?
I’m having trouble putting the caption inside my image, I want the caption to be at the bottom of the image (inside it), another thing is that my Section.gallery is not inside my div#interface and I…
-
0
votes1
answer72
viewsBOOTSTRAP NAV Collapsed Collapse changing height alignment
Problem: I need a navbar with BIGGER HEIGHT. I changed the css .navbar { min-height: 80px; vertical-align: middle; } .navbar-collapse .collapse .in { padding-top:80px; } Vertical alignment of links…
-
0
votes1
answer564
viewsIs there any way to align a justified text in Phpword?
I would like to align a text with phpWord as follows: $doc->addText('Meu texto justificado', array('size' => 9), array('align' => 'justify') But he doesn’t line up the text, I saw that…
-
0
votes1
answer1723
viewsCSS - Align image set in the center of a div
I need to align a random image set in the center of a div, follow example code: HTML <div class="divAlign"> <img src="teste.jpg"> <img src="teste2.jpg"> <img…
-
0
votes1
answer402
viewsText with 2 different alignments
.table, th, td { border: solid #000000; border-collapse: collapse; border-width: 3px; } .th, td { border-width: 3px; font-family: Open Sans; } <!DOCTYPE html> <html> <head>…
-
0
votes1
answer932
viewsCenter text within a fixed HTML CSS header
Guys may seem silly, but I can’t center the text of my menu(It’s a little lower than up), I’ve tried padding, align: center, margin, I don’t know why this happens, who will answer please take the…
-
-1
votes1
answer42
viewsCell spacing at right
I need to align an image to the left and a text to the center, but on the same line. The code I used was using tables, which is not necessary, but I thought it would help: <table> <tr>…
-
-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 {…
-
-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…