Re: [css-d] Vertical align nav button text

2016-03-25 Thread Tom Livingston
Maybe use flexbox, and use the current styles as fallback? On Fri, Mar 25, 2016 at 1:39 PM, J.C. Berry wrote: > Hello again all! > > If you go to http://www.xifin.com/solutions > > When you reduce the viewport you will see the blue button menu that replace > the icon

Re: [css-d] Vertical align nav button text

2016-03-25 Thread Karl DeSaulniers
Don't see what your talking about on Safari 6.2.8 What browser are you viewing with? Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Mar 25, 2016, at 12:39 PM, "J.C. Berry" wrote: > Hello again all! > > If you go to http://www.xifin.com/solutions >

[css-d] Vertical align nav button text

2016-03-25 Thread J.C. Berry
Hello again all! If you go to http://www.xifin.com/solutions When you reduce the viewport you will see the blue button menu that replace the icon menu, but the text on the one-row buttons does not vertical align. I think vertical-align has to be on inline elements right? Any way to fix this and

Re: [css-d] vertical-align baseline issue?

2015-07-30 Thread Angela French
Thank you. This helps. -Original Message- From: Philippe Wittenbergh [mailto:e...@l-c-n.com] Sent: Wednesday, July 29, 2015 5:57 PM To: Angela French Cc: CSS-D Subject: Re: [css-d] vertical-align baseline issue? On Jul 30, 2015, at 03:33, Angela French afre...@sbctc.edu wrote: I

[css-d] vertical-align baseline issue?

2015-07-29 Thread Angela French
Hello, I have an h1 with a span applied to the first three words to make them smaller. I want the bottom of the text to line up those with the rest of the heading and it is not. Html: h1span class=policyManualFirstLineSBCTC Policy Manual/span Chapter 4: Instructional Program and Course

Re: [css-d] vertical-align baseline issue?

2015-07-29 Thread Karl DeSaulniers
Adjust the line-height not vertically align bottom or padding. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 29, 2015, at 1:33 PM, Angela French afre...@sbctc.edu wrote: Hello, I have an h1 with a span applied to the first three words to make them smaller. I want the

Re: [css-d] vertical-align baseline issue?

2015-07-29 Thread Philippe Wittenbergh
On Jul 30, 2015, at 03:33, Angela French afre...@sbctc.edu wrote: I have an h1 with a span applied to the first three words to make them smaller. I want the bottom of the text to line up those with the rest of the heading and it is not. Html: h1span class=policyManualFirstLineSBCTC

Re: [css-d] vertical-align

2013-03-16 Thread Jukka K. Korpela
2013-03-16 16:29, Larry Martell wrote: I have 2 buttons I want to be aligned. When I use vertical-align it moves the text within the button, not the button itself. How can I get the 2 buttons to be aligned? See http://jsfiddle.net/YkHsL/ You have an input type=file element with float: left

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-12 Thread Jukka K. Korpela
Thierry Koblentz wrote: http://datagnostics.com/test/vertical.html I've got superscript text that needs to be all over the page -- it's part of the company name. At this point I'd raise the question whether the superscript text could be written using superscript characters such as ². If it

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-12 Thread Thierry Koblentz
Jukka K. Korpela wrote: In IE, the superscript mucks up the borders and margins -- it's as though the element block goes up and never comes back down when I close the superscript. zoom is a CSS fix for the original test case, using sup is a different story. -- Regards, Thierry

[css-d] Vertical-Align, IE, line-height, and span don't mix

2010-11-11 Thread Mary Ellen Curtin
Here's my current nightmare: http://datagnostics.com/test/vertical.html I've got superscript text that needs to be all over the page -- it's part of the company name. I set a line-height in BODY. I'm doing the superscript via a span class, with attribute vertical-align: super. In IE, the

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-11 Thread Thierry Koblentz
Here's my current nightmare: http://datagnostics.com/test/vertical.html I've got superscript text that needs to be all over the page -- it's part of the company name. I set a line-height in BODY. I'm doing the superscript via a span class, with attribute vertical-align: super. In IE, the

Re: [css-d] [+] Vertical-Align, IE, line-height, and span don't mix

2010-11-11 Thread Mary Ellen Curtin
Thierry told me: You need to help IE by giving the parent a layout. Try h3 {zoom:1;} And it worked! http://datagnostics.com/test/vertical.html My hero. I'm sure having layout seemed like a good idea at the time, really ... to someone Mary Ellen Doctor Science, MA

[css-d] vertical-align on inline-block

2010-03-28 Thread Yang Zhang
I had read in several articles that using display:inline-block is a way to vertically align block elements, but this doesn't seem to be working for me (at least in Chrome): div class=wrapper style=vertical-align: bottom; height: 100px div class=inner style=vertical-align: bottom; display:

[css-d] vertical-align on inline-block

2010-03-28 Thread Yang Zhang
I had read in several articles that using display:inline-block is a way to vertically align block elements, but this doesn't seem to be working for me (at least in Chrome): div class=wrapper style=vertical-align: bottom; height: 100px div class=inner style=vertical-align: bottom; display:

Re: [css-d] vertical-align on inline-block

2010-03-28 Thread Ingo Chao
2010/3/28 Yang Zhang yanghates...@gmail.com: ... div class=wrapper style=vertical-align: bottom; height: 100px div class=inner style=vertical-align: bottom; display: inline-block Hello /div div class=inner style=vertical-align: bottom; display: inline-block world /div /div Why doesn't

[css-d] Vertical Align Theory

2009-04-23 Thread Jack Blankenships
If I am vertically aligning an element it seems that the only way to consistently do so with standard css is to implement a display: table-cell; vertical-align: middle; style on the container. Is there any benefit this affords me over just creating a table? I seems odd to me that the new hero

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Brian Hazelton
The benefit of using display:table-cell over an actual table is that if the text is not tabular, it does not belong in a table. Using display:table-cell will allow you to mimic the display of a table cell while being semantically correct. Another thing to note is that not all browsers implement

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Joseph Sims
Another thing to note is that not all browsers implement display:table-cell Can you make mention of which don't? __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Jack Blankenships
I disagree. The idea that using display: table-cell does not seem to be any more semantically correct than simply placing the element in a table cell according to the W3C (http://www.w3.org/TR/CSS2/tables.html#value-def-table-cell): table-cell (In HTML: TD, TH) Specifies that an

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Ingo Chao
2009/4/23 Jack Blankenships learningcssindet...@gmail.com: If I am vertically aligning an element it seems that the only way to consistently do so with standard css is to implement a display: table-cell; vertical-align: middle; style on the container. Is there any benefit this affords me over

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Bobby Jack
--- On Thu, 4/23/09, Jack Blankenships learningcssindet...@gmail.com wrote: The idea that using display: table-cell does not seem to be any more semantically correct than simply placing the element in a table cell ... By definition, CSS declarations are NOT semantic but simply describe the

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Venditelli, Daniel - Web Development Administrator
won't completely occur until well after the rest of us old-timers have retired. ;) -Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Bobby Jack Sent: Thursday, April 23, 2009 4:07 PM To: css-d Subject: Re: [css-d] Vertical

[css-d] vertical align div

2009-03-02 Thread Ian Young
I have been playing around with vertically aligning my main portal. The code I have been using has two main problems. 1. It appears to need to be on the page to display the vertical alignment 2. It loses its horizontal alignment.

Re: [css-d] vertical align div

2009-03-02 Thread Thom Brown
I have been playing around with vertically aligning my main portal. The code I have been using has two main problems. 1. It appears to need to be on the page to display the vertical alignment 2. It loses its horizontal alignment. Try adding margin: 0 auto to div.outer. It

Re: [css-d] vertical align div

2009-03-02 Thread Gunlaug Sørtun
Ian Young wrote: http://www.iyesolutions.co.uk/templates/portfolios/template3/vertical-align.html There must be a more elegant method, surely. Don't know about elegant (as long as it contains hacks for old IE), but the method described here works fine across browser-land...

Re: [css-d] vertical align div

2009-03-02 Thread Ian Young
Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] vertical align div Ian Young wrote: http://www.iyesolutions.co.uk/templates/portfolios/template3/vertical- align.html There must be a more elegant method, surely. Don't know about elegant (as long as it contains hacks for old IE

Re: [css-d] vertical align div

2009-03-02 Thread Gunlaug Sørtun
Ian Young wrote: http://www.iyesolutions.co.uk/templates/portfolios/template3/vertical-align.html This almost works. Vertical align works ok, but the wrapper div that is in effect being vertically aligned stretches to full width of window even tho' it has width defined. Yes, the CSS

Re: [css-d] vertical align div

2009-03-02 Thread Ian Young
Ian Young wrote: http://www.iyesolutions.co.uk/templates/portfolios/template3/vertical- align.html This almost works. Vertical align works ok, but the wrapper div that is in effect being vertically aligned stretches to full width of window even tho' it has width defined. Yes,

Re: [css-d] vertical align div

2009-03-02 Thread designer
problems that I know of. Bob - Original Message - From: Ian Young i...@iyesolutions.co.uk To: css-d@lists.css-discuss.org Sent: Monday, March 02, 2009 1:31 PM Subject: [css-d] vertical align div I have been playing around with vertically aligning my main portal. The code I have

Re: [css-d] vertical align div

2009-03-02 Thread Bill Brown
designer wrote: A properly marked up table with 1-row of 3-cells (in this case) is valid (and accessible) and is the only robust solution I know of for all browsers. The extremists will complain about table layout of course, but it's a case of being pragmatic in making the thing work -

Re: [css-d] vertical align div

2009-03-02 Thread Gunlaug Sørtun
Ian Young wrote: I tried that and it went all to hell in a handbag. Will look again. What browser are you checking in? It centered perfectly in all CSS capable browsers. The hack for IE7 and older wasn't implemented though. Georg -- http://www.gunlaug.no

Re: [css-d] vertical align div

2009-03-02 Thread Ian Young
-Original Message- From: Gunlaug Sørtun [mailto:gunla...@c2i.net] Sent: 02 March 2009 21:46 To: Ian Young Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] vertical align div Ian Young wrote: I tried that and it went all to hell in a handbag. Will look again. What

Re: [css-d] vertical align div

2009-03-02 Thread Gunlaug Sørtun
Ian Young wrote: It is centring but not displaying properly in IE8 FF3.06 See http://www.iyesolutions.co.uk/templates/portfolios/template3/ for how the portal looks before we try the vertical align. Yes, if you want to vertical-align #wrapper you must have a container wrapped around it to

Re: [css-d] vertical align div

2009-03-02 Thread Ian Young
Ian Young wrote: It is centring but not displaying properly in IE8 FF3.06 See http://www.iyesolutions.co.uk/templates/portfolios/template3/ for how the portal looks before we try the vertical align. Yes, if you want to vertical-align #wrapper you must have a container wrapped around

Re: [css-d] vertical align div

2009-03-02 Thread Gunlaug Sørtun
http://www.iyesolutions.co.uk/templates/portfolios/template3/ You can also simply move some styles in to the child of #wrapper, and get the appearance you're after without adding any new elements. Like so... http://www.gunlaug.no/tos/alien/iy/test_09_0302.html No browser will complain :-)

Re: [css-d] vertical align div

2009-03-02 Thread Ian Young
-Original Message- From: Gunlaug Sørtun [mailto:gunla...@c2i.net] Sent: 02 March 2009 22:40 To: Ian Young Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] vertical align div http://www.iyesolutions.co.uk/templates/portfolios/template3/ You can also simply move some styles

Re: [css-d] vertical-align - Parent Element

2008-10-28 Thread Alan Gresley
Doug Jolley wrote: CC to list The line box is an anonymous inline element OK. I get that and thanks for clarifying that point. However, I'm still confused about how vertical-align:middle works. I followed the line height calculations link in your link [1]. There I found a rather

Re: [css-d] vertical-align - Parent Element

2008-10-28 Thread Doug Jolley
Thanks for the additional input. I've sort of concluded that the way vertical-align:middle works is this: The vertical midpoint of the inline element being vertically aligned is aligned with an imaginary line which runs parallel to the baseline and at a distance of one-half the applicable

Re: [css-d] vertical-align - Parent Element

2008-10-26 Thread Alan Gresley
Doug Jolley wrote: Not the block ... the paragraph line-boxes - one for each line in the paragraph. Thanks. I don't really see how a line-box can be considered to be a parent element. when it's not even an element at all. However, the whole world must think that it is because virtually

Re: [css-d] vertical-align - Parent Element

2008-10-25 Thread Doug Jolley
Not the block ... the paragraph line-boxes - one for each line in the paragraph. Thanks. I don't really see how a line-box can be considered to be a parent element. when it's not even an element at all. However, the whole world must think that it is because virtually everyone refers to

[css-d] vertical-align is driving me crazy!

2008-10-25 Thread Doug Jolley
I have a short line containing some text and two images. The text is default height, let's assume that is somewhere around 18px. Let's also assume that the two images are both 100px high. With respect to one image I have done nothing; so, as expected, it's bottom aligns with the baseline of the

Re: [css-d] vertical-align is driving me crazy!

2008-10-25 Thread Philippe Wittenbergh
On Oct 26, 2008, at 11:42 AM, Doug Jolley wrote: I have a short line containing some text and two images. The text is default height, let's assume that is somewhere around 18px. Let's also assume that the two images are both 100px high. With respect to one image I have done nothing; so,

[css-d] vertical-align - Parent Element

2008-10-24 Thread Doug Jolley
I must be missing something real obvious. In discussing vertical-align there is a proliferation of references to parent element. For example, we might see a reference like, baseline - Aligns the baseline of the element with the baseline of the parent element.. What is the parent element? For

Re: [css-d] vertical-align - Parent Element

2008-10-24 Thread Gunlaug Sørtun
Doug Jolley wrote: What is the parent element? For example, suppose that I had pMy dog span style=vertical-align: baseline;has/spanfleas./p I would say that the paragraph element was the parent of the span element. Yes. I certainly don't intend to align the baseline of the word has

[css-d] Vertical Align Bottom?

2008-05-06 Thread Matthew Stoneback
I wanted to thank everyone for their assistance with my most recent site check. I wanted to apologize about the HTML not validating, it was valid, then I made as few changes and forgot to re-validate it. I also took everyones' suggestions and change my font size to em from px. Now for my

Re: [css-d] Vertical Align Bottom?

2008-05-06 Thread David Laakso
Matthew Stoneback wrote: I also took everyones' suggestions and change my font size to em from px. Here is the HTML: http://www.eddysound.com/msc/ Here is the CSS: http://www.eddysound.com/msc/main.css Matt Add this to your style sheet to keep your em sized fonts from going

Re: [css-d] Vertical Align Bottom?

2008-05-06 Thread Rob Emenecker
One other question. Why will my HTML not validate when I have target=blank in HTML 1.0 Strict? (If this is too far off topic please ignore. I really want to know about the above question.) Assuming you mean XHTML 1.0 Strict, there is not target attribute to the A element in Strict

[css-d] vertical align help

2008-04-30 Thread vincent pollard
what i want is 4 images that are all centre aligned across the page and evenly spaced. i'm not sure what i'm doing wrong but it only works in IE6. i have a DIV that contains 4 DIVs that each contain an image: div class=logoRow div class=logoColimg src=%=

Re: [css-d] vertical-align property examples/info

2008-01-21 Thread Rob Emenecker
Discussion' Subject: RE: [css-d] vertical-align property examples/info Hi Bob,have a look at http://www.ibloomstudios.com/articles/vertical-align_misuse/ Ernie :) _ From: [EMAIL PROTECTED] To: css-d@lists.css-discuss.org Date: Sun, 20 Jan 2008 10:16:36 -0500 Subject: [css-d

[css-d] vertical-align property examples/info

2008-01-20 Thread Rob Emenecker
Hi all, Can anyone point me to good sources of info and simply examples for uses of the vertical-align property other than TD elements? I've looked at the CCS 2.1 spec at http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align, but don't quite understand what is considered a

Re: [css-d] vertical-align property examples/info

2008-01-20 Thread Ernie Finlay
Hi Bob,have a look at http://www.ibloomstudios.com/articles/vertical-align_misuse/ Ernie :) From: [EMAIL PROTECTED] To: css-d@lists.css-discuss.org Date: Sun, 20 Jan 2008 10:16:36 -0500 Subject: [css-d] vertical-align property examples/info Hi all, Can anyone point me to good sources

[css-d] Vertical align image

2007-02-07 Thread Ian Young
Trying to get image to stick to bottom of div. Working kinda in FF and IE but drops outside of the div in Opera. I want the images in the content div as that way the image will be at bottom no matter how much text there is. http://www.iyesolutions.co.uk/templates/whs/test.html

Re: [css-d] Vertical align image

2007-02-07 Thread Gunlaug Sørtun
Ian Young wrote: I want the images in the content div as that way the image will be at bottom no matter how much text there is. http://www.iyesolutions.co.uk/templates/whs/test.html You'll have better luck if you add... #wrapper {position: relative;} ...and change position to... #base

Re: [css-d] Vertical align image

2007-02-07 Thread Ian Young
To: [EMAIL PROTECTED] Css-Discuss. Org Subject: Re: [css-d] Vertical align image Ian Young wrote: I want the images in the content div as that way the image will be at bottom no matter how much text there is. http://www.iyesolutions.co.uk/templates/whs/test.html You'll have better

[css-d] Vertical-align problems in IE7

2007-01-06 Thread Blake
Hi guys, I'm having a pretty major problem with a design in IE7. The contents of the #content DIV are not vertically-aligning in the middle of the page. You can find the page here: http://blakehaswell.com/others/blakehaswell/ The CSS is here:

Re: [css-d] Vertical-align problems in IE7

2007-01-06 Thread Blake
Ahh, just did some research and it turns out IE7 doesn't support the display: table; or display: table-cell; declarations ... *sigh* Thanks anyway, Blake -- Australian Web Designer – www.blakehaswell.com __ css-discuss [EMAIL

Re: [css-d] Vertical-align problems in IE7

2007-01-06 Thread Gunlaug Sørtun
Blake wrote: Ahh, just did some research and it turns out IE7 doesn't support the display: table; or display: table-cell; declarations ... *sigh* http://blakehaswell.com/others/blakehaswell/ That's correct, but unless I'm missing something (especially since I don't have IE7 installed) then

Re: [css-d] Vertical-align problems in IE7

2007-01-06 Thread Blake
On 1/7/07, Gunlaug Sørtun [EMAIL PROTECTED] wrote: That's correct, but unless I'm missing something (especially since I don't have IE7 installed) then the following should work quite well... #content { height: 260px; /* position: relative; -- delete this */ position: absolute; top: 50%;

[css-d] vertical align ul within div

2006-11-22 Thread Marty Martin
I am trying to vertically align a div within a div but am having problems. Here's what I have code wise-- div id=left class=menu ul li class=activea href=/index.php?id=1 title=MODx CMS Install Success Home/a/li lia href=/index.php?id=2 title=Dennis D. Garvin, MD, FACS Dennis D. Garvin,

Re: [css-d] vertical align ul within div

2006-11-22 Thread ~davidLaakso
Marty Martin wrote: I am trying to vertically align a div within a div but am having problems. Here's what I have code wise-- [css and html trimmed] What do I need to do to get it to align in the middle within it's container div? YOu can see it here--

Re: [css-d] vertical align ul within div

2006-11-22 Thread David Hucklesby
On Wed, 22 Nov 2006 13:42:24 -0500, Marty Martin wrote: I am trying to vertically align a div within a div but am having problems. Here's what I have code wise-- [code snipped] What do I need to do to get it to align in the middle within it's container div? YOu can see it here--

Re: [css-d] vertical align vertical scroll problem

2006-11-07 Thread Adam
Sander van Surksum wrote: Hi all, When I vertical align a div a get a horizontal scrollbar can anyone explain how avoid this. previeuw http://www.johnsten.com/css/test_center.html How can i remove the vertical scrolling from this page Hi Sander, I don't see any scrollbars in FF

[css-d] vertical align vertical scroll problem

2006-11-06 Thread Sander van Surksum
Hi all, When I vertical align a div a get a horizontal scrollbar can anyone explain how avoid this. previeuw http://www.johnsten.com/css/test_center.html How can i remove the vertical scrolling from this page Regards, Sander

[css-d] Vertical Align for Header Elements?

2006-09-25 Thread Thomas Hall
I am curious to now if there is such a thing as a vertical alignment for headers? I have an h5 element within which I am placing an image AFTER the text. The image is 30 pixels high and the font is sitting at the bottom of the h5 element whereas I would like it to sit at the top. Thanks.

Re: [css-d] Vertical Align like table cells with CSS

2006-01-04 Thread Martin Heiden
Alec, on Wednesday, January 4, 2006 at 16:40 Alec A. Lazarescu wrote: I've tried and failed to align text, an image, and a button neatly vertically using CSS. I would rather not force a height on a container around them as that's not very flexible if the font or image size changes, text

Re: [css-d] Vertical Align like table cells with CSS

2006-01-04 Thread Alec A. Lazarescu
-discuss.org Subject: Re: [css-d] Vertical Align like table cells with CSS Alec, on Wednesday, January 4, 2006 at 16:40 Alec A. Lazarescu wrote: I've tried and failed to align text, an image, and a button neatly vertically using CSS. I would rather not force a height on a container around them

[css-d] Vertical Align like table cells with CSS and float problem

2005-12-23 Thread Alec A. Lazarescu
I've tried and failed to align text, an image, and a button neatly vertically using CSS. I would rather not force a height on a container around them as that's not very flexible if the font or image size changes, text wraps, etc. It needs to work in IE6/FireFox/Safari. Seems like a trivial thing

[css-d] Vertical Align on Two Floated Elements

2005-07-21 Thread Eric Knudtson
Does anyone know if it is possible to vertically center two floated elements within their parent element? My desire is to have a list element contain an image and a paragraph. The image and the text should appear adjacent to eachother, not stacked (meaning I'm probably going to need to use

[css-d] Vertical align of a set of div with all screen resolutions

2005-06-11 Thread Andrea Bersi
I have a layout with 4 div (you see it at http://abmcr.altervista.org/Tullio/a.html): if you have a low resolution the image in cut off in the top of the screen and the page is correctly visible at http://abmcr.altervista.org/Tullio/b.html where in the css style i hare removed the top:50%).