css - Equal height divs (two column) -
i tried using jquery this, kind of got lost... i'm trying css now
http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks
i want 2 columns, there 2 divs centered nicely in page equal heights, i'm pretty new css sorry if repetitive/obvious question.
any appreciated thank you!
if trying modify code link, need modify css:
#container1 { float:left; width:100%; } #col1 { float:left; width:50%; background:red; } #col2 { float:left; width:50%; background:yellow; }
and declare background color hex value , in container itself, unless of course want 2 different color backgrounds columns.
Comments
Post a Comment