|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
[]div Help define the vertical position?
I prefer to call outside the loop css
Assume code is written :
"Assume filled="f"" login_title "," landing interface Logo</div>
Css code is written :
#login_title {padding Left; vertical-align : : : 5px; text-align bottom;}
But this vertical-align : bottom; could not be effective.
Just contact div+css, to do so, please enlighten. Thank you |
Vertical-align
Embedded-level and application : 'table-cell' elements
The attributes of the text should be effective, and other elements should be invalid, the vertical loop and padding-bottom padding-top positioning can be achieved, so that is the duality |
But now it is not influenced by the words : loop : |
[html]
"Style type=" text/css ""
<!--
Body{TEXT-ALIGN : center;}
#center{
Margin : auto;
Height:200px;
Width:400px;
Vertical-align:middle;
Line-height:200px;
Border:1px solid #000000;
}
-->
"/style>
"Assume filled="f"" center "and" Question
Registration Interface
"/p></div>
[/html] |
Seems to be null and void and only the characters actually used to position the padding |
Vertical-align:middle;
Lane void in the loop. Use a loop :
Height:200px;
Simultaneously :
Line-height:200px;
Lane would enable vertical central characters of the loop.
TEXT-ALIGN : center;
Is a container for text in the level of the middling, and vertical central attributes are not necessarily related. |
So, see :] |
|