both vertically and horizontally, so that the text is exactly in the middle
html,css,alignment,positioning
I am trying to create nine circles, with a picture of a person in each, with the name of the indidvidual directly in the middle of each picture. Below is my HTML and CSS file. I have tried using text-align: centre however it does not look accurate? Also, it only...
html,css,position,alignment
As you can see from this screenshot, My icons aren't aligned with their titles. They are written as two unordered lists. The only solution I have right now is to give individual margin-left to each of the icons, but I'm hoping there is a better way to do it. Any...
css,r,alignment,shiny,navbar
Trying to add a twitter share button to my navbar. The closet I can get is to place it in the header, but this leaves too much white space. I would like it to go in the top right of the navbar, but I cannot figure out which (if any)...
html,css,forms,alignment
I have a login form I'm creating... The problem is, I can't align the text boxes and text correctly. It looks like this at the moment: But i need it to look like: This is very hard to explain. What I really want is for the text and text boxes...
html,css3,alignment
i spend a day searching for a way to align my child DIV from its parent but all my research show same results. This is my first time creating a webpage. !http://i.imgur.com/xpUsMzU.png <== result https://jsfiddle.net/backspaced/6uy56hw4/ <== Code ._header0 { position: relative ; white-space: nowrap ; overflow: hidden ; text-align: center...
html,css3,alignment,css-transforms
For some reason my vertical alignment code is blurring some but not all child elements in Chrome and Safari. Whats causing it is the translateY(-50%), if I remove this then blurriness is gone however the vertical centring effect is lost. /* @group Center all the things */ .center-wrapper { position:...
html,css,alignment,vertical-alignment
I'm trying to create a block with an image that contains content by your side, where I intend to align the image vertically based on the content's height. I've tried alignments with table/table-cell technique but I can't get what I want.. click here to see what I want: ...
android,android-layout,alignment,android-linearlayout,android-textview
I'm creating an app that has four different TextView inside a LinearLayout. The LinearLayout has a weight sum of 4 and every TextView has a weight of 1 (to make them with evenly width). My first problem is that two of the TextViews has a bigger height than the other...
c,alignment,padding,abi
I'm trying to write a portable function that marshals binary formats into structures according to a formatting string not entirely unlike scanf. To do this, I make a couple of assumptions about the platform my code is running on: This structalign macro portably finds the alignment of a scalar type....
html,css,twitter-bootstrap,twitter-bootstrap-3,alignment
I am having trouble aligning the content of the website because it always wants to go a little to the left. This predicament stands out the best in the mobile view. http://becyclefit.com As you can see the content (container) is a little left from the center. I have no idea...
css,alignment
I'm having a problem with a logo I want centre aligned on a homepage. It works fine on desktop but as soon as I look on mobile it fixes itself on the right hand side and falls out of the frame. Here is the background image: #homebg { background: url(images/back.jpg)...
c,text,alignment
I have to solve a problem that involves left justification string length and leading zeros. I have the following table : BEGIN CLOSE CONCATENATE DELETE END INITIALIZE PRINT WRITE This is produced by a simple program. My problem is to find out how to convert it like that : It...
c++,binary,alignment
I am currently reading a binary file that i know the structure of and i am trying to place into a struct but when i come to read off the binary file i am finding that when it prints out the struc individually it seems to come out right but...
wpf,alignment,label
Please take a look at this picture: I try to create same label with 2 sizes: <Grid> <Label Content="11" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="50" /> <Label Content="%" HorizontalAlignment="Right" FontSize="20" VerticalAlignment="Top"/> </Grid> But currently this is not like the picture: ...
html,css,alignment,text-alignment
Similar to How to align 3 divs (left/center/right) inside another div?, I am trying to align three divs within a parent div. Added complexity is that each div contains an image, text, and a link. I'd like these to be aligned link so: [[LEFT-IMG] [CENTER-IMG] [RIGHT-IMG]] text text text link...
html,css,twitter-bootstrap,alignment
I am trying to align my two bootstrap buttons side by side (horizontally), right now they are aligned one on top of another (vertically). I have found a few questions on here, but still can't seem to get it right... I will post my code below: <div class="row"> <div class="col-sm-12">...
html,css,text,alignment,height
CSS: I want to make 3 columns of text aligned at the same height or line all the time even when I resize the window. To illustrate what I am talking about please take a look at the images by following this link: https://drive.google.com/file/d/0BywbaHflqMTERFVrNF84YlBUbTg/view?usp=sharing The problem is that the third...
html,css,alignment
I am looking to align two divs such that div a is in the absolute center of the page and div b is to the immediate right of div b. div a is 320 px wide and div b is 42 px wide. It is important that div a is...
html,css,html5,css3,alignment
I need to align these divs so that the space between "content1" and the red div equals the space between "content4" and the red div. I don't mind changing the blue-div's margin but this should work for any width. I used to achieve this by making the width of the...
java,html,swing,alignment,jlabel
I need to to have text formatted in HTML. The text was therefore enclosed in HTML tags with proper color and alignment applied. The color settings works, but not the alignment set by 'text-align: center;'. Looking to center align HTML text in the 'botlabel'. Cleaning and rebuilding the project did...
xna,alignment,directx,directx-11,xna-math-library
After struggling for many hours to understand and compensate for Microsoft's deprecation of D3DX in Windows 8, I've run into a problem that I can't shake off. The first time I started my program, it became immortal because of an access violation. After having restarted my computer and recompiling and...
java,checkbox,javafx,grid,alignment
Converting from Swing to FX here. We have some CheckBoxes where the Label appears on the left side of the CheckBox. We are accomplishing this by calling setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT); The problem is that in some GridPanes, we'll have a Label in column 0 with a Node in column 1 on row...
javascript,html,css,alignment
I am having problems aligning elements on my page properly. I have a live example here..http://newbapps.com/8ball/ The div 'answer' should be overlayed over the triangle in the img 'ball'. The problem is, I want this too look properly centered even with different window sizes. If I was using pixel width/height...
css,forms,drupal,alignment,inline
I have an advanced search form (click "Advanced search") here in Dupal 7 - http://www.ibuild.ph/mtf-rdp-minimal/search/node and contact form here - http://www.ibuild.ph/mtf-rdp-minimal/contact. The search fields are inline, while the contact fields are positioned below the labels. Is there a way to inline position the fields with the text labels and make...
android,imageview,alignment
I want to align an image view which is displayed same for all android screens expect for Android tab screen. Different alignment of imageview is noticed for imageview when app runs on emulator or live device. how do i align them properly?? Here is my activity.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"...
java,javafx,alignment,toolbar
I'm trying to create a customized toolbar in javafx. This toolbar should be able to display controls in the center, in the left side and in the right side (three sections) of its surface. The problem is that I have no idea to achive this. I read many hints related...
uitableview,swift,alignment,custom-controls,subtitle
I am trying to display a page like the following page title (left align) region name(center align) people in the region(subtitle with email in the detail label) But if I choose subtitle as cell style, everything will be left aligned and I cannot change them in the code. Then If...
html,css,twitter-bootstrap,alignment
I have this big logo on the home page which should be aligned to center. I managed to center it horizontally, but not vertically. The only solution I could think of was setting the top-margin to 20% but it seems that this is not a good solution for a responsive...
html,css,alignment
I'm still having a lot of trouble with this that it's even difficult to describe the problem now. The yellow text area should be right at the edge (righthand side edge) of the pink div and there should be 30px of margin in between this yellow area div and the...
javascript,jquery,html,css,alignment
Overall I would like to have something like this jsfiddle.net/DSghU/ Just that the the whole thing is not sliding out to the left. It shall slide out to the right. So that by clicking on the button the button is going completely to the right side. Edit I was able...
css,alignment
I've tried to reuse the ruby layout from the learnJapanese reddit (example) which works with <a href='#reading' title='hiragana'>japanese kanji</a> and then does display the hiragana before the title via css for #reading :before. In my case I want to display the reading below the word (using css :after) but I...
c++,alignment
I am not familiar with c++. But I want to make a output as below format. It is great if someone can give me a code in here. Bill Robinson Gross Amount: ............ $3575.00 Federal Tax: ............. $ 536.25 State Tax: ............... $ 125.13 This is my current source code...
c++,windows,gcc,alignment,sse
I'm trying to work with AVX instructions and windows 64bit. I'm comfortable with g++ compiler so I've been using that, however, there is a big bug described reported here and very rough solutions were presented here. Basically, m256 variable can't be aligned on the stack to work properly with avx...
css,menu,alignment,center
My nav menu will not center. And I can't find the fault in the code. Maybe someone can help me?! #nav-header { height: 60px; width: auto; background-color: rgba(255, 255, 255, 0.7); margin-top: 80px; } #nav-header li.nav-link { display: inline; padding: 20px 20px 20px 20px; font-family: 'Source Sans Pro', sans-serif,"Open Sans",...
html,css,responsive-design,alignment
I've seen some similar questions to this, but most seem to lack images that thoroughly display what the problem is. I'm trying to get the following responsive layout to work when narrow. It looks like this right now: Here's what I want it to look like. Note that the left...
php,html,css,alignment,word
Suppose I have textarea filled with following text employee/company/salary john/microsoft/12.000 michael/citrusdata/15.000 How can I align each column vertically so I get following text: employee__________company__________salary john______________microsoft__________12.000 michael___________citrusdata__________15.000 In this example I used underscores to specify whitespaces, thought to write a simple function like nl2br() to replace '/' with one or many...
html,alignment,center,css-shapes
how do I center shapes that are within a wrapper in a row. So far Iv got them into the row but I cant get them to center horizontally. Here is the html code that deals with that part: .wrapper { overflow: hidden; /*make sure the wrapper has no dimension*/...
html,css,alignment
I can set the form width manually but every changes in the <input> width will lead to the troubles, specifically I'll be should adjust form width again. I need scalable alignment i.e. changes in input width shouldn't impact on the form's alignment. form { width: 400px; margin: 0 auto; }...
java,swing,jpanel,alignment,layout-manager
Long story short, I'm making a simple audio player in Java and am starting the GUI; no events, no functionality of any kind as of yet. I'm asking how I can the JPanel with the buttons (controls), to align to the bottom center of the main window (JFrame). Here's the...
html,css,alignment,css-float
With the padding commented out as shown, the website works like I'd expect (2 div columns next to each other. However, when I add padding, the #right div shifts downwards. How would I make it work as intended with padding? HTML: Two divs contained directly in body CSS: #left {...
wpf,xaml,button,alignment,textblock
I have two buttons on a grid. On the right button there should be some text shown left aligned and another text right aligned. In all my tries so far the two strings are positioned in the center of the button and not left and right. Once this is solved...
memory,alignment,malloc
I am writing a code to examine how memory is managed between stack and heap. for a course work. #include<stdio.h> #include<stdlib.h> #define NUM_OF_CHARS 100 // function prototype void f(void); int main() { f(); return 0; } void f(void) { char *ptr1; ptr1 = (char *) malloc(NUM_OF_CHARS * sizeof(int)); printf("Address array...
html,css,alignment
I have 2 divs inside a container like this: <div id="container"> <div id="first">Hello World</div> <div id="second">I want to be at the top</div> </div> I want to align the first div below the second div without changing the HTML. How is this possible? Here is my CSS: #container { float:left; width:100%;...
html,css,alignment
I have problem, I can't align two buttons in one line. I tried to set padding of span class pptext2 but without success. Here is code http://jsfiddle.net/71782p4L/1/ HTML <div class="ppdiv"> <button class="ppenvelope"><img src="http://i.imgur.com/RfLMyak.jpg" alt="Slika"></button><button class="pptext"><span class="pptext2">PRIVATE MESSAGE</span></button> </div><!--Zatvoren ppdiv--> CSS .ppdiv{ padding-top:22px; padding-left: 19px; } .ppdiv img{ padding:10px; font-size: 20px;...
php,html,css,alignment
My idea is very simple, I will have a search box and a submit button. When user key in the keyword and click on the submit button, results will be shown below with an additional button. Now my problem is I have no idea on how to make the button...
html,css,alignment
I am currently building an app making use of cards. I would like the cards to be centered horizontally within the container, however the last row should be aligned left. Websites such as Yummly (http://www.yummly.com/) achieve this when you resize the page. This is what I have so far, except...
ios,iphone,swift,alignment,uinavigationitem
I want my navigation bar to show two things in the middle. One them is going to be List name, and the other one will be name of users. User names will be placed under list name. What i have done so far is, i created two label and one...
html,css,image,alignment,html-table
I have a 1x2 HTML table that will be the heading of an email. The first column contains a linked image, the second a heading. <table> <tr> <td width="50%" style="text-align:left; padding-left:10%;"> <a target="_blank" href="http://www.google.com/"> <img src="img/logo.jpg" alt="Logo" style="width:30%; height:30%;" /> </a> </td> <td width="50%" style="text-align:right; padding-right:10%;"> <h2>Order Confirmation</h2> </td> </tr>...
html,css,alignment
I have tried to do the following, as well as using the align only with the a href and img tags, yet I still cannot align the clickable image to the center of the page. <a href="next.html" align="middle"> <img src="tlbr.png" align="middle"> </a> The float tag also does not work in...
ios,swift,uitableview,alignment
I am trying to make a row's contents (in a UITableView) have multiple alignments: left, center and right. I searched Stackoverflow for a solution and found this: Different text alignment to a row in table view. The only problem is that the solution is ObjectiveC-based, which I am having trouble...
c++,alignment
Packets coming over a network have padding bytes added at the end for alignment. I want to skip these bytes but the packet size is variable but known. Given a number n, how do I round it up to the next 4-byte alignment?
php,jquery,html,css,alignment
I'm trying to align text on this page : https://m.omegarealm.tk/ (Mobile sub domain specifically) To the center of the red bar on the top of the screen vertically. The result I'm looking for is the word "test" to be aligned in the center of the nav bar (red bar) vertically....
html,css,alignment
Stuck on a problem where when I enter text in a div with display property set to inline-block. Here's the HTML: <div class="row" id="section"> <div class="sectionheading"> </div> <div class="sectionheading"> </div> <div class="sectionheading"> </div> <div class="sectionheading" id="sectionheading"> <span>Text</span> </div> </div> CSS: .sectionheading { display: inline-block; width: 6px; background-color: #df5e5e; height:35px; }...
html,css,alignment
JSFIDDLE: https://jsfiddle.net/o6ekutaL/ HTML <div id="main-body-wrap"> <div id="main-body"> <div id="home-featured-classes-wrap"> <div class="home-featured-class-A"> <div class="home-featured-class-4"> TEXT <h6 class="products">TEXT </div> <div class="home-featured-class-3">THIS DIV NEEDS TO BE IN THE MIDDLE OF THIS PINK DIV, NOT AT THE TOP</div> <div class="clear"></div> </div> </div> <div class="clear"></div> </div></div> CSS /* MAIN...