Re: [css-d] vertical alignment question

2009-02-02 Thread Patrik Jansson
On 3.2.2009 1:21, Brett wrote: > > > Patrik Jansson wrote: >> On 3.2.2009 0:28, Brett wrote: >>> How can I vertically align elements? I have an image gallery in >>> which I want all images to be centered vertically and horizontally. >>> The horizontal part is easy, but I can't figure out how to

Re: [css-d] vertical alignment question

2009-02-02 Thread Patrik Jansson
--- On *Tue, 2/3/09, Patrik Jansson //* wrote: > > From: Patrik Jansson > Subject: Re: [css-d] vertical alignment question > To: "Brett" > Cc: css-d@lists.css-discuss.org > Date: Tuesday, February 3, 2009, 12:01 AM > > On 3.2.2009 0:28, Brett

Re: [css-d] vertical alignment question

2009-02-02 Thread Patrik Jansson
On 3.2.2009 0:28, Brett wrote: > How can I vertically align elements? I have an image gallery in which I > want all images to be centered vertically and horizontally. The > horizontal part is easy, but I can't figure out how to center > vertically. Here are my styles: > > #pictureWrapper { >

[css-d] vertical alignment question

2009-02-02 Thread Brett
How can I vertically align elements? I have an image gallery in which I want all images to be centered vertically and horizontally. The horizontal part is easy, but I can't figure out how to center vertically. Here are my styles: #pictureWrapper { position:relative; background-color:

Re: [css-d] Vertical alignment of title and nav menu

2007-09-11 Thread David Laakso
Jan Erik Moström wrote: > David Laakso <[EMAIL PROTECTED]> 07-09-11 12:19 > >> Jan Erik Moström wrote: >>> I would like to create a page that have the title and nav menu >>> aligned at the top, something like this >>> >>> X >>>

Re: [css-d] Vertical alignment of title and nav menu

2007-09-11 Thread Jan Erik Moström
David Laakso <[EMAIL PROTECTED]> 07-09-11 12:19 >Jan Erik Moström wrote: >>I would like to create a page that have the title and nav menu >>aligned at the top, something like this >> >>X N >>X >>X

Re: [css-d] Vertical alignment of title and nav menu

2007-09-11 Thread David Laakso
Jan Erik Moström wrote: > I would like to create a page that have the title and nav menu > aligned at the top, something like this > > X N > X > X > >

[css-d] Vertical alignment of title and nav menu

2007-09-11 Thread Jan Erik Moström
I would like to create a page that have the title and nav menu aligned at the top, something like this X N X X I have this code

[css-d] Vertical alignment of text and input

2006-11-04 Thread George L Smyth
I am wondering about the best way to vertically align text and an input element. For instance: Check this This results in the checkbox vertically higher than the accompanying text. What is the best way to put the bottom of each on the same vertical level? Cheers - george ---

Re: [css-d] Vertical alignment question

2006-07-11 Thread David Laakso
Eoin Maguire wrote: > [... if you look at this page you'll see that on the far > right there's a score of 67%, but it's not sitting nicely against the orange > background. I've tried quite a few different techniques to get this to sit > vertically and horizontally centered against the orange backgr

Re: [css-d] Vertical alignment question

2006-07-11 Thread Dave Goodchild
On 11/07/06, Eoin Maguire <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Not sure if this got through last time, but I have a problem with > positioning something nicely within an image background. I've uploaded the > code for people to see, if you look at this page you'll see that on the > far > right

[css-d] Vertical alignment question

2006-07-11 Thread Eoin Maguire
Hi, Not sure if this got through last time, but I have a problem with positioning something nicely within an image background. I've uploaded the code for people to see, if you look at this page you'll see that on the far right there's a score of 67%, but it's not sitting nicely against the ora

Re: [css-d] Vertical alignment weirdness?

2006-05-26 Thread David Dorward
On 26/05/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > Any idea why the doctype would matter concerning the following CSS? Some ... decided that it would be a good idea to use a person's choice of Doctype (and thus perhaps their knowledge of markup, of the knowledge of market of the person they cop

[css-d] Vertical alignment weirdness?

2006-05-26 Thread Ian Skinner
Any idea why the doctype would matter concerning the following CSS? div#sideNav a:before { content: url(left_curve.gif); vertical-align: bottom; } I have now tried this with other doctypes, it seems to be a matter of strict vs. transitional. The output displays as I would expect

[css-d] Vertical alignment weirdness?

2006-05-26 Thread Ian Skinner
Any idea why the doctype would matter concerning the following CSS? div#sideNav a:before { content: url(left_curve.gif); vertical-align: bottom; } When used with a HTML transitional doctype it works as expected with the included image aligned to the bottom of the inline a element

[css-d] vertical alignment of photo boxes - repost

2006-02-13 Thread Trish Meyer
Hi all, I've fiddled with the gallery boxes at I now have them all the same width and height, so at least they don't jiggle around and fill odd spaces when you resize the browser window (the way they did when they were all dif

[css-d] vertical alignment of photo boxes

2006-02-12 Thread Trish Meyer
Hi all, I've gotten pretty far with getting photo/caption boxes to work at The only thing I can't figure out is how to align the boxes vertically so that they align along their bottoms, not the top. Because they are different

[css-d] Vertical alignment within , two separate blocks

2006-02-08 Thread Simon Celen
Hi all, long time lurker, first time poster. I have a in wich i need one block of text aligned to the top and the other to the bottom. I can set a vertical-align on the , but this aligns both blocks ofcourse. Its probably not best practise to do what i'm trying, but right now i don't have the opt

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Don Hinshaw
Philippe Wittenbergh wrote: > > * is the universal selector[1] > > As usual, a quick copy paste in SelectOracle would explain the selector > as well[2]. Thanks again...I had forgotten about SelectOracle..but now it is in my toolbox :-) Don

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Philippe Wittenbergh
On 5 Nov 2005, at 2:06 pm, Don Hinshaw wrote: >> #searchBox form { margin:0; padding:0;} >> #searchBox form * {vertical-align:middle;} >> and delete that margin-bottom on the #searchBox input#search > > > Philippe, > Thanks for an even simpler solution! Tell me...what is the function of > the '*

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Don Hinshaw
Philippe Wittenbergh wrote: > #searchBox form { margin:0; padding:0;} > #searchBox form * {vertical-align:middle;} > > and delete that margin-bottom on the #searchBox input#search Philippe, Thanks for an even simpler solution! Tell me...what is the function of the '*' in the second declaration

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Philippe Wittenbergh
On 5 Nov 2005, at 8:52 am, Don Hinshaw wrote: > See: http://test.hinshawdesign.com/css/slpl/cluster_masthead_v3.html > Now it no longer renders correctly in FF. > I may have possibly misunderstood your direction... #searchBox form { margin:0; padding:0;} #searchBox form * {vertical-align:middle;

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Michael Hulse
> Michael Hulse wrote: >> Also, I would make your logo a background image rather than a >> transparent gif. Makes things a bit more simple. >> >> Hopefully the above css does not confuse you... You may even be able >> to >> get away with something as simple as: >> >> #yourDiv label { >>

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Don Hinshaw
Michael Hulse wrote: > Also, I would make your logo a background image rather than a > transparent gif. Makes things a bit more simple. > > Hopefully the above css does not confuse you... You may even be able to > get away with something as simple as: > > #yourDiv label { >

Re: [css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Michael Hulse
On Nov 4, 2005, at 1:14 PM, Don Hinshaw wrote: > Hi list, > I am trying to vertically align a text field with two adjacent > elements: > a graphic label and a graphic button. > The working page is here: > http://test.hinshawdesign.com/css/slpl/cluster_masthead_v2.html > Here is what it should lo

[css-d] vertical alignment of text fields with other elements - I'm stuck!

2005-11-04 Thread Don Hinshaw
Hi list, I am trying to vertically align a text field with two adjacent elements: a graphic label and a graphic button. The working page is here: http://test.hinshawdesign.com/css/slpl/cluster_masthead_v2.html Here is what it should look like: http://test.hinshawdesign.com/css/slpl/masthead_samp

Re[2]: [css-d] Vertical Alignment

2005-10-19 Thread Steve Clay
Tuesday, October 18, 2005, 11:15:12 PM, Kelly wrote: > use vertical-align: middle. This only works if the text is one line. Just to clarify, all you'd need is to put vertical-align:middle on the IMG. For the variable number of text lines, this isn't going to be doable easily in IE because you'd

Re: [css-d] Vertical Alignment

2005-10-18 Thread Kelly Miller
Set line-height to the height of the button, then use vertical-align: middle. -- http://www.mozilla.org/products/firefox/ - Get Firefox! http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox! Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/n

[css-d] Vertical Alignment

2005-10-18 Thread Kevin O'Boyle
I thought this was going to be easy... I have a big icon (68x68) pixels and I want to align text to the right of it such that the text string is centered with the icon (even if it wraps to multiple lines); This is easy to do with tables but (largely because I have a hypertext link that is supp

Re: [css-d] Vertical alignment

2005-10-13 Thread Steve Clay
Thursday, October 13, 2005, 6:09:31 PM, Andreas wrote: > I’m trying to vertical-align the button to the middle of the textbox > http://www.selfinflicted.org/css/quick.html http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align This property defaults to "baseline" so although your #button i

[css-d] Vertical alignment

2005-10-13 Thread Andreas Håkansson
Hi, I’m trying to vertical-align the button to the middle of the textbox http://www.selfinflicted.org/css/quick.html but since the vertical-align css is based on the elements parent, it doesn’t position as wanted. As you can see from the HTML, I’m trying to keep it a simple as possible and repl

[css-d] Vertical alignment problems

2005-07-26 Thread Officelink
Hi All, I¹ve just got a basic question regarding vertically aligning text and an image within a div: The Officelinkonline Websiteis presently under reconstruction.Please check back in a few weeks for the new site. I¹ve managed to source the following CSS code:

Re: offlist Re: [css-d] Vertical Alignment in Columns

2005-06-13 Thread Jeff Ferrell
On Jun 12, 2005, at 11:46 AM, Ingo Chao wrote: why did you say you can't do it? Ingo, So sorry, I at first glanced at the ALA article, and thought you had misunderstood my problem. Your solution works brilliantly for me! Thanks for the tip, and sorry I missed it the first go 'round. I'

RE: [css-d] Vertical Alignment in Columns

2005-06-12 Thread Bruno Fassino
Ingo Chao wrote: > Yono noted that I might try the technique described in the > ALA article - "Cross-Column Pull-Outs" > http://www.alistapart.com/articles/crosscolumn/ > by Daniel M. Frommelt. > > Thanks for the tip, the method worked here as well > > http://www.satzansatz.de/cssd/tmp/floatspacer

Re: [css-d] Vertical Alignment in Columns

2005-06-12 Thread Jeff Ferrell
On Jun 12, 2005, at 7:44 AM, Jono Young wrote: I am not sure if this would do the trick, but have you tried: img.calendar { float: right; margin: 5px; position: relative; top: 6.25em; /* 100 pixels from top of column, adjust to your needs */ } If I'm doing that right,

Re: [css-d] Vertical Alignment in Columns

2005-06-12 Thread Ingo Chao
Yono noted that I might try the technique described in the ALA article - "Cross-Column Pull-Outs" http://www.alistapart.com/articles/crosscolumn/ by Daniel M. Frommelt. Thanks for the tip, the method worked here as well http://www.satzansatz.de/cssd/tmp/floatspacer.html (em based, splitted bg-

Re: [css-d] Vertical Alignment in Columns

2005-06-12 Thread Jono Young
On Jun 11, 2005, at 10:55 PM, Roger Roelofs wrote: I've messed with absolutely positioning the images within their columns, but that makes wrapping text around them a problem. Is there a way to accomplish this, or should I just settle for their being a little off, depending on the length of

Re: [css-d] Vertical Alignment in Columns

2005-06-12 Thread Gunlaug Sørtun
Jeff Ferrell wrote: ... The text in the columns is variable, but I'd like the pictures to align vertically with each other, i.e. their tops should both begin at the same point in their respective columns. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pha

Re: [css-d] Vertical Alignment in Columns

2005-06-11 Thread Ingo Chao
Jeff Ferrell schrieb: I'm roughing out a layout for a new page, on which I've got two columns, each containing a bunch of text and one small image. The text in the columns is variable, but I'd like the pictures to align vertically with each other, i.e. their tops should both begin at the

Re: [css-d] Vertical Alignment in Columns

2005-06-11 Thread Roger Roelofs
Jeff, On Jun 11, 2005, at 3:08 PM, Jeff Ferrell wrote: I've messed with absolutely positioning the images within their columns, but that makes wrapping text around them a problem. Is there a way to accomplish this, or should I just settle for their being a little off, depending on the length

[css-d] Vertical Alignment in Columns

2005-06-11 Thread Jeff Ferrell
Hello! I'm roughing out a layout for a new page, on which I've got two columns, each containing a bunch of text and one small image. The text in the columns is variable, but I'd like the pictures to align vertically with each other, i.e. their tops should both begin at the same point in t

[css-d] Vertical alignment of text in my tabs not working

2005-05-06 Thread Aaron Cole
I've built a tabbed navigation that's works great as long as the text in all of the tabs is one line. The problem is that I've been given a requirement to allow for two-line tabs as well. When a tab is created with two lines, they no longer look uniform: http://aaronc.stanford.edu/commonspot/na

Re: [css-d] vertical alignment of images used as bullets

2005-05-05 Thread Jan Brasna
Is there a way to vertically align the text following the image to the middle of the image or vice versa? Yes, don't use list-style-*, use backgound-image + padding and you'll have more positioning possibilities. -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com

[css-d] vertical alignment of images used as bullets

2005-05-05 Thread Konstantine
Hi When I use images as bullet points, bottom of the bullet image and bottom of the text in li element sit on same level. Is there a way to vertically align the text following the image to the middle of the image or vice versa? Thanks for your time K