Hola uamistad, en realidad depende de como tengas tu div.
Te pongo un ejemplo:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
#contiene_texto{
background-color: #FFCC66;
padding-top: 5%;
padding-bottom: 5%;
}
</style>
</head>
<body>
<div id="contiene_texto">
<p>Texto en el centro</p>
</div>
</body>
</html>
Prueba con el tuyo, saludosss