Divs alturas iguais
AE galera.. estou tentando fazer isso a 2 dias já.. deixar as Divs do laterias ficar do mesmo tamanho que dá do meio..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "[http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Teste</title><style type="text/css"><!--body { margin: 0; padding: 0; min-width: 740px; text-align: center; min-height: 100%;}#container { background: #FFFFFF; text-align: left;}#header { background: #999999;}#sidebar1 { float: left; width: 17%; min-width: 130px; background: #CCCCCC;}#sidebar2 { float: right; width: 17%; min-width: 130px; background: #CCCCCC; }#mainContent { margin: 0 17% 0 17%; /top - rigth - bottom - left/ }#footer { background:#999999; clear:both;}--></style></head><body><div id="container"> <div id="header">header</div> <div id="sidebar1">sidebar1</div> <div id="sidebar2">sidebar2</div> <div id="mainContent">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</div> <div id="footer">footer</div></div></body></html>
Discussão (14)
Carregando comentários...