I was trying to create DIV in DIV. But I have to face the problem in focusing the direction I have followed it.
Using the suggested approach in the above question, the div was centered horizontally, but not vertical.
For that time I am using margin-top: 20% Please suggest some other way to park the center. Another question, can we have ambiguity in the percentage?
For opacity, supporting cross browsing
< Previous> Filters: alpha (opacity = 70); Filters: Przid: DXImageTransform.Microsoft.Alpha (Opacity = 70); -Moofness: 0.70; Opacity: 0.7;
For vertical alignment options
div {height: 200px; Line-height: 200px; / * No vertical alignment is required in this case * /}
- (method 2)
Comments
Post a Comment