align

Aligning images - horizontally

If you go to my site: www.ryancoughlin.com - and if you see the Google, Yahoo, etc. RSS buttons on the right side of the page. I am trying to get them to align evenly, they are all the same image height and I have been trying to get them to evenly line up. But I have had no success. Thanks, Ryan ...

scrolling and css align with "right: 0px"

Hello, In an HTML page, if I align some <div>s with "right: 0px", they all look very nice, as I expect. However, if I make the browser window smaller and the horizontal scroll bar appears, when I scroll the page to the right, I see an unexpected white space (instead of the background colors of my <div>s). It seems that my <div>s are ali...

How to vertically align a table column both top and bottom?

..if the columns height is dependent on the height of another column? Solution should work on IE6,7 and Mozilla at least. HTML table layout: +------------------------+----------------------+ | top-aligned paragraph | Here | | | is a | | | very ...

"vertical-align: middle" does not align to the middle in Firefox

I'm trying to align some text of different sizes vertically, however, Firefox displays the smaller text way above the middle. CSS: div.categoryLinks { margin: 1em 16px; padding: 0 4px; border-width: 1px 0; border-style: solid; border-color: #ece754; background: #f7f5b7; color: #a49f1c; text-align: center; font-size: 1.4em; } d...

How do I align a number like this in C?

I need to align a series of numbers in C with printf() like this example: -------1 -------5 ------50 -----100 ----1000 Of course, there are numbers between all those but it's not relevant for the issue at hand... Oh, consider the dashes as spaces, I used dashes so it was easier to understand what I want. I'm only able to do this: --...

Floating an image right and left in text box weird spacing in IE

My example is here The logos look fine when told to align right or left in FF and they seem to wrap properly with the text, but in IE a huge gap shows up after the first line of text. I have also created float right and left styles and tried to apply to the logos but got the same effect. I know this is an issue in IE, but I haven't fou...

Delphi - GridPanel does not adjust at first resize

Hi. I have a problem I am unable to solve even though I spend long time trying to do it. I usually use GridPanels to align controls on forms. It has, however, an annoying bug. When the GridPanel align mode is alClient and I maximize its parent window, the GridPanel adjusts to the new size of that window, however, the controls laying on...

How to align button centered below table?

Hi, I put form elements in a table so that column names and inputs are aligned to 2-columns. And I put submit button and cancel button below the table. The table width is not fixed. I want to put the buttons center-aligned of the table width. One simple way is to put the buttons in the table. But I want to separate them from the table....

Align Checkbox inside a <div>

Hi, I seem to be having a strange problem wich I cant fully understand. This is my html: <div class="menu"> Por favor seleccione os conteúdos: <br/> <br/> <br/> Nome: <input name="Nome" class="checkbox" type="checkbox" value="Nome" checked /> <br/> <br/> Data: <input name="Data" class="checkbox" type="checkbox" value="Data" checked />...

Delphi: How to programmatically adjust visual ordering of components with align = alTop

I've got a form with a number of panels, each of which has Align=alTop, so they stack down nicely from the top of the form. However, I want to dynamically change the appearance order of these panels - i.e, move them up and down. What's the best way of doing this? ...

Multi Line TextBox text alignment (C# 2.0)

Hi I have Multi Line TextBox (C# 2.0). I want to display some data as follows. "Contact Person : " + string1 + Environment.NewLine "Sales Man : " + string2 + Environment.NewLine "Credit Limit : " + string3 + Environment.NewLine "Due days : " + string4 + Environment.NewLine But this code displaying as Co...

QT vs. Delphi and Align possibilities

I admit I am totally new to QT so bare with me. I am used to develop in Delphi, but I have recently moved to developing in Python and with that PyQT (later I'll switch to PySide). Anyway, I'm trying to figure out if there's anything in QT that is equivalent to Delphi's Align property possibilities like alTop, alClient, alRight and so on?...

How to center cell contents of a LaTeX table whose columns have fixed widths?

Consider the following piece of LaTeX code: \begin{tabular}{p{1in}p{1in}} A & B\\ C & D\\ \end{tabular} How can I make the contents of each cell aligned in the center of the cell rather than the left? Note that I want to make sure that the widths of my columns are fixed, so I cannot use the "c" position attribute instead of "p{.1in}...

Two spans in a div next to each other without floating

I've got two spans in a div. I want to align them next to each other. I'm doing this by floating them both left and right. The problem is that these spans have variable heights (they slide down when you click for 'more options'). So when their heights are changed during runtime (by sliding down), they won't push down the elements under t...

WPF Ribbon ApplicationMenu Alignment on the Right?

When going through a tutorial, the 'ribbon.ApplicationhMenu' always comes up on the left hand of the screen, rather than the right, as it does in Office 2007, Paint (on Windows 7), and WordPad (on Windows 7). Is there some way to change this? Thank you (Example of the issue is here http://cid-a45fe702de180b23.skydrive.live.com/self.a...

[C#/ WPF] Adjusting TabItem width automatically to fill spaces?

I have a TabControl object with some TabItem objects inside. Now the sum of width of TabItem is not long enough to fill the space on right: Now I wish to have one of following design: What properties should I set to archieve one of the design above? For the second design, I tried to adjust HorizontalAlignment property (to "center") i...

Centering a non-fixed width font in a field using Intermec Printing Language version 12

We are trying to create printer codes to send a maximum 18 character text field to a label printer using IPL version 12. This field will not always hit the max and we need it centered. Is there a way to center a font that is not fixed width in a text field using this printer language? ...

define float as center in css

Hi, How can I define a define float as center in css? actually i need a layout between right and left and also i tried "text-align" but it doesn't work and the "float" property just working. Thank you ...

HTML's "<img align=top>" in CSS?

How do I emulate <img align='top' src='huge_image.jpg'> <span>I start at the top right corner of the image!</span> in CSS? Maybe it's embarrassingly simple, but I really don't know. ...

Embedded font alignment issue in Flex 3

Hi guys, I'm trying to fix an issue I have with Flex and some embedded fonts... To explain... I have a small Flex video player that displays a text message at the end of the video. The text is dynamically loaded when the player starts... I had originally embedded the font like this: [Embed(source='fonts/times.ttf', fontFamily='Times Ne...