On 16/08/2011 8:45 PM, thameera...@gmail.com wrote:
I'm a CSS noob and trying out various stuff these days. So please tell me,
how can I vertically align the two boxes in the following layout? (That is I
want the right hand side box to the level of the left one)
http://cssdesk.com/X7YYG
By floating the div.title. Try this.
.title {
font-size:22px;
width:200px;
text-align:center;
/* display:inline; DELETE since floats are always display:block */
float:left; /* ADD */
}
--
Alan Gresley
http://css-3d.org/
http://css-class.com/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/