[WSG] Vertical align

2006-02-10 Thread Roberto Santana
Hello! I want to create an horizontal bar with some elements on it, some text, a text box for searches, and date time, just below the top part of the page. What's the best way to create a vertical-center content with XHTML 1.0 Strict and CSS2? Thanks!

Re: [WSG] Vertical align

2006-02-10 Thread Nuno Gaspar
2006/2/10, Roberto Santana [EMAIL PROTECTED]: Hello! I want to create an horizontal bar with some elements on it, some text, a text box for searches, and date time, just below the top part of the page. What's the best way to create a vertical-center content with XHTML 1.0 Strict and

Re: [WSG] Vertical align

2006-02-10 Thread Bert Doorn
Roberto Santana wrote: I want to create an horizontal bar with some elements on it, some text, a text box for searches, and date time, just below the top part of the page. What's the best way to create a vertical-center content with XHTML 1.0 Strict and CSS2? Don't know about best, but...

Re: [WSG] Vertical align

2006-02-10 Thread Roberto Santana
I want to create an horizontal bar with some elements on it, some text, a text box for searches, and date time, just below the top part of the page. I've used this example: http://www.wellstyled.com/css-single-line-vertical-centering.html Thanks Nuno and Bert!

[WSG] Vertical align problem

2005-12-27 Thread Elton Okada
Vertical align, it really works ? Example:style#box{widht:200px;height:200px}#box span{float:left}#box img{vertical-align:middle}/stylediv id=box spanSome text/spanimg src="">/divAny idea ?Thanks

[WSG] Vertical align(center) for two rows of text

2005-07-09 Thread akella
I know that making HEIGHT and LINE-HEIGHT equal for text - will make ONE row valign:center. But what about 2 rows of text? Is there some way to align even two rows of text this way?-- glhf,akella.

Re: [WSG] Vertical align(center) for two rows of text

2005-07-09 Thread Ingo Chao
akella schrieb: I know that making HEIGHT and LINE-HEIGHT equal for text - will make ONE row valign:center. But what about 2 rows of text? Is there some way to align even two rows of text this way? You'll need a container of known height http://www.brunildo.org/test/vertmiddle.html Ingo

Re: [WSG] Vertical align(center) for two rows of text

2005-07-09 Thread Ingo Chao
Sorry, just noted that Bruno Fassino's explanation of the technique he developed can be better understood here: http://www.brunildo.org/test/img_center.html with a link to the text centering method I already mentioned. Ingo ** The

Re: [WSG] Vertical align text middle no work?

2003-12-18 Thread James Ellis
Hi vertical-align doesn't really work the way valign in a table cell works - it applies to inline elements and table cell elements only (see css2 rec 10.8.1). You have to approach the matter from the other way, remove the table layout hat and put on a box model hat : div id=topthing div

Re: [WSG] Vertical align text middle no work?

2003-12-18 Thread Vaska/WSG
yes, that would work great, however...i can't force the height (sorry i didn't mention this previously) because it will wonk up another div where the height is being set by javascript to fill all the available space in the window it can (minus the top div height of course)... what i have done,