Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/02/2010, 09:01
P3n3
 
Fecha de Ingreso: mayo-2008
Mensajes: 22
Antigüedad: 16 años, 6 meses
Puntos: 0
Ayuda centrando theme

Hola, he modificado el archivo body.png para hacerlo compatible con resoluciones 1024 (para que no salga el scrollbar inferior). Lo he hecho algo más pequeño pero ahora sale movido, y estoy intentando centrarlo. Este es el css:

Cita:
body {font-size: 62.5%; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;background: #20242F url(images/background.png) repeat-x;color: #333;text-align: center;margin: 0;padding: 0;}#page {width: 1151px;margin: auto;text-align: left;}#header {width: 1124px;background: url(images/header.png) no-repeat 0 0;height: 189px;margin: 0 0 0 0;}#header h1 {font-family: Verdana, Arial, Sans-Serif;font-size: 28px;font-weight: bold;margin: 0;padding: 50px 20px 0 280px;text-align: center;}#header h1 a {color: #FFF;}#header div {font-family: Verdana, Arial, Sans-Serif;font-size: 14px;font-weight: bold;margin: 0;padding: 10px 20px 0 280px;text-align: center;color: #F70084;}#body {width: 900px;background: url(images/body.png) repeat-y 0 0;margin: 0 0 0 0;padding: 30px 0 0 150px;}#body .content {width: 100%;float: left;color: #CCC;font-size: 12px;line-height: 1.5em;}#body .content a {font-weight: bold;color: #67B;}#body .content a:hover {text-decoration: none;color: #89D;}#body .post {margin: 0 0 75px 0;}#body .post h2,#body .post h3 {font-size: 18px;background: url(images/headline_background.png) no-repeat top left;margin: 10px 0 0 0;padding: 8px 0 15px 0;}h2.pagetitle {color: #8c0d2d;font-size: 18px;}#body .post small {font-size: 10px;color: #999;}#body .postmetadata {font-size: 11px;color: #999;}#body .postmetadata.alt {padding: 10px;background: #212121 url(images/metadataalt_background.png) no-repeat left bottom;color: #BBB;margin-top: 40px;}#author,#email,#url {width: 200px;border: 1px solid #999;background: #333;color: #CCC;}#s {border: 1px solid #999;background: #333;color: #CCC;}#comment {width: 450px;border: 1px solid #999;background: #333;color: #CCC;}div.navigation {width: 500px;margin-bottom: 30px;text-align: center;}div.navigation div {width: 50%;display: inline;}div.navigation .alignleft {margin-right: 5px;} div.navigation .alignright {margin-left: 5px;}.post {clear: both;}.hide {display: none;}h3#comments,h3#respond {color: #8c0d2d;}#body .sidebar {width: 180px;float: left;margin-left: 18px;color: #666;}#body .sidebar form {margin: 0;}#body .sidebar h2 {font-size: 15px;font-weight: bold;margin: 5px 0 0 0;padding: 4px;color: #8C0D2D;background: #111;}#body .sidebar ul,#body .sidebar ul ol {margin: 0;padding:0;list-style: none;}#body .sidebar ul ul,#body .sidebar ul ol {padding: 8px 8px 20px 8px;}#body .sidebar ul li {margin-bottom: 8px;}#body .sidebar ul ul li:before {content: "\00BB \0020";}#body .sidebar a {font-weight: bold;color: #67B;}#body .sidebar a:hover {text-decoration: none;color: #89D;}#wp-calendar {empty-cells: show;margin: 10px auto 0;width: 155px;}#wp-calendar td#today {border: 1px solid #8C0D2D;}#wp-calendar #next a {padding-right: 10px;text-align: right;}#wp-calendar #prev a {padding-left: 10px;text-align: left;}#wp-calendar a {display: block;}#wp-calendar caption {text-align: center;width: 168px;font-size: 12px;padding: 8px 0 2px 0;border-bottom: 1px solid #333;margin: 0 6px;}#wp-calendar td {padding: 3px 0;text-align: center;}#searchform {text-align: center;padding-bottom: 20px;padding-top: 5px;}#footer {text-align: center;padding: 20px 0 30px; 0;background: url(images/footer_border.png) no-repeat 96px 0;margin: 0;color: #444;}#footer a {color: #666;}img.alignleft{float:left;padding:5px}img.ali gncenter{text-align:center;padding:5px}img.alignright{float:righ t;padding:5px}
Sé que es un desmierde, pero venia así con el theme :(