Foros del Web » Creando para Internet » CSS »

Ayuda con header!!

Estas en el tema de Ayuda con header!! en el foro de CSS en Foros del Web. Hola, tengo un problema con un archivo, y es que quiero que el header salga mas grande, por ejemplo de 930 x 250, y es ...
  #1 (permalink)  
Antiguo 22/06/2010, 22:09
 
Fecha de Ingreso: mayo-2010
Mensajes: 185
Antigüedad: 13 años, 10 meses
Puntos: 2
Ayuda con header!!

Hola, tengo un problema con un archivo, y es que quiero que el header salga mas grande, por ejemplo de 930 x 250, y es que si cambio las medidas se cambia todo miren aqui esta el codigo, y logo.png es el logo del header, pero quiero un header mas grande sin que se cambie todo

Código PHP:
img.bg {
    
/* Set rules to fill background */
    
min-height100%;
    
min-width1024px;

    
/* Set up proportionate scaling */
    
width100%;
    
heightauto;

    
/* Set up positioning */
    
positionfixed;
    
top0;
    
left0;
}

@
media screen and (max-width1024px){
    
img.bg {
        
left50%;
        
margin-left: -512px; }
}

div#content {
    /* This is the only important rule */
    /* We need our content to show up on top of the background */
    
positionrelative

    
/* These have no effect on the functionality */
    
width700px;
    
margin0 auto;
    
background#fff;
    
padding20px;
    
font-familyhelveticaarialsans-serif;
    
font-size10pt;
    
line-height16pt;
    -
moz-box-shadow#000 4px 4px 10px;
    
-webkit-box-shadow#000 4px 4px 10px;
}

body {
    
/* These rules have no effect on the functionality */
    /* They are for styling only */
    
margin0;
    
padding20px 0 0 0;
}




* {
    
margin0padding0;
}
body {
    
text-aligncenter;
    
font12px Verdana;
    
color#000000;
    
backgroundurl(images/28286.jpg);
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
    
}
{
    
color#000000;
}
a:hover {
    
color#000000;
}
img {
    
border0;
}

.break {
    
font-size0;
    
width1200height0;
    
clearboth;
}
.
alignleft {
    
floatleft;
    
margin4px 10px 5px 0;
}
.
alignright {
    
floatright;
    
margin4px 0 5px 10px;
}
.
aligncenter {
    
text-aligncenter;
}
.
hidden {
    
displaynone;
}
.
noimage img {
    
displaynone;
}

/** BEGIN wrapper **/
#wrapper {
    
width970px;
    
marginauto auto;
    
text-alignleft;
    
padding-bottom20px;
}
/** END wrapper **/

/** BEGIN header **/
#header {
    
height158px;
    
backgroundurl(images/navigation.pngrepeat-x 0 bottom;
}
    
#header h1 {
        
floatleft;
        
font-size0;
        
padding40px 15px 44px;
    }
        
#header h1 a {
            
displayblock;
            
width435pxheight34px;
            
backgroundurl(images/logo.pngno-repeat 0 0;
            
text-indent: -9999px;
        }
    
#header .ad {
        
floatright;
        
padding-top30px;
    }
    
#header ul {
        
list-style-typenone;
        
floatleft;
    }
        
#header ul li {
            
floatleft;
            
font-size0.9em;
            
font-weightbold;
            
text-transformuppercase;
            
padding-right2px;
            
backgroundurl(images/divider.pngno-repeat right 0;
        }
        
#header ul li a {
            
displayblock;
            
text-decorationnone;
            
padding13px 12px 14px;
        }
        
#header ul li a:hover {
            
color#ffffff;
            
backgroundurl(images/active.pngrepeat-x 0 0;
        }
    
#header form {
        
floatright;
        
width219pxheight30px;
        
backgroundurl(images/search.gifno-repeat 0 0;
        
margin5px;
    }
        
#header input {
            
border0;
            
font-size1em;
            
font-familyVerdana;
            
width210px;
            
background-colortransparent;
            
margin8px 4px;
        }
        
#header button {
            
displaynone;
        }
/** END header **/

/** BEGIN body **/
#body {
    
color#808080;
    
background#ffffff url(images/sidebar.gif) repeat-y right 0;
    
padding10px 0;
}
/** END body **/

/** BEGIN content **/
#content {
    
width730px;
    
floatleft;
    
        
}
    
#content .post {
        
clearboth;
        
padding10px 20px;
    }
    
#content .first {
        
padding-top0;
    }
        
#content .post .l {
            
floatleft;
            
width200px;
            
font-size0.9em;
            
color#292929;
            
padding-top10px;
        }
            
#content .post .l img {
                
width200pxheight200px;
                
margin-bottom15px;
            }
            
#content .post .l a {
                
text-decorationnone;
            }
        
#content .post .r {
            
floatright;
            
width450px;
        }
        
#content h2 {
            
font-size2.5em;
            
margin-bottom15px;
            
color#292929;
        
}
            
#content h2 a {
                
text-decorationnone;
            }
        
#content p {
            
line-height1.3em;
            
margin-bottom10px;
        }
        
#content ul, #content ol {
            
list-style-positioninside;
            
margin-bottom10px;
        }
        
#content li {
            
line-height1.3em;
        }
        
#content h3, #content h4, #content h5, #content h6 {
            
font-size1.2em;
            
margin-bottom5px;
        }
        
#content blockquote {
            
padding10px 10px 0;
            
background-color#eeeeee;
            
border-width1px 0;
            
border-stylesolid;
            
border-color#e0e0e0;
            
margin-bottom10px;
        }
        
#content .details {
            
backgroundurl(images/details.gifrepeat-x 0 0;
            
floatleft;
            
font-size0.9em;
            
padding10px;
            
border-width0 1px;
            
border-stylesolid;
            
border-color#B5B5B5;
        
}
            
#content .details a {
                
text-decorationnone;
                
displayblock;
                
floatleft;
            }
            
#content .details a.link1 {
                
padding-right10px;
                
border-right1px solid #D6D6D6;
            
}
            
#content .details .link2 a {
                
padding-left10px;
                
border-left1px solid #ffffff;
            
}
        
#content .details2 {
            
font-size0.9em;
            
padding10px 0;
        }
            
#content .details2 a {
                
text-decorationnone;
            }
    
#content .postnav {
        
clearboth;
        
padding25px 20px 0;
    }
        
#content .postnav a {

            
text-decorationnone;
            
font-weightbold;
            
font-size0.9em;
        }
    
#content h2.title {
        
font-size0.9em;
        
text-transformuppercase;
        
padding10px 20px;
    }
/** END content **/

/** BEGIN sidebar **/
#sidebar {
    
width220px;
    
floatright;
    
    
}
    
#sidebar .about {
        
padding0 10px 10px;
    }
        
#sidebar .about img {
            
border3px solid #ffffff;
            
floatleft;
            
margin4px 5px 5px 0;
        }
        
#sidebar .about p {
            
font-size0.9em;
            
color#292929;
        
}
    
#sidebar h2 {
        
font-size0.9em;
        
text-transformuppercase;
        
backgroundurl(images/navigation.pngno-repeat 0 0;
        
color#ffffff;
        
padding10px;
        
border-bottom1px solid #B7B7B7;
        
border-top1px solid #ffffff;
    
}
    
#sidebar ul {
        
list-style-typenone;
        
padding10px;
        
border-top1px solid #ffffff;
    
}
        
#sidebar ul li {
            
font-size0.9em;
            
padding6px 0 6px 16px;
            
backgroundurl(images/bullet.gifno-repeat 2px 10px;
        }
        
#sidebar ul li a {
            
color#292929;
            
font-weightbold;
        }
/** END sidebar **/

/** BEGIN footer **/
#footer {
    
background-color#CCCCCC;
    
color#292929;
    
font-size0.9em;
    
padding10px;
}
    
#footer a {
        
color#808080;
    
}
/** END footer **/

/** BEGIN miscellaneous **/
#comments {
    
padding10px;
}
    
#comments a {
        
text-decorationnone;
    }
    
#comments h2 {
        
font-size1.3em;
    }
    
#comments p {
        
margin-bottom10px;
        
line-height1.6em;
    }
    
#comments form {
        
padding0 10px;
    }
    
#comments form p {
        
margin-bottom5px;
    }
        
#comments form input {
            
margin-right5px;
        }
        
#comments form input, textarea {
            
border1px solid #cccccc;
            
font-size0.9em;
            
font-familyVerdana;
            
padding4px;
            
background-position4px 4px;
            
background-repeatno-repeat;
        }
        
#comments form input {
            
width260px;
            
border1px solid #cccccc;
        
}
        
#comments form textarea {
            
width350px;
            
padding4px 4px !important;
            
border1px solid #cccccc;
        
}
        
#comments form button {
            
border1px solid #a0a0a0;
            
font-size1em;
            
font-familyVerdana;
            
padding2px 6px;
        }
    .
commentdetails {
        
margin-top25px;
    }
    .
commentauthor {
        
margin-bottom5px !important;
        
font-weightbold;
    }
    .
commentdate {
        
font-size0.8em;
        
margin-bottom5px;
        
color#909090;
    
}
    .
required {
        
color#ff0000;
    
}
h2.title {
    
font-size1em !important;
    
text-transformuppercase;
    
padding10px;
    
color#565656;
}
.
notfound {
    
padding40px;
}
    .
notfound h2 {
        
font-size18px;
        
font-weightnormal;
        
margin-bottom10px;
    }
/** END miscellaneous **/

/** BEGIN wordpress 2.7 comments **/
#comments ol {
    
list-style-typenone;
    
clearboth;
    
padding0 10px 10px;
    
margin0;
}
    
#comments .buffer {
        
padding0 10px 10px;
    }
    
#comments h2 {
        
padding-left!important;
        
padding-bottom20px !important;
    }
    
#comments ol li {
        
margin-bottom10px;
    }
    
#comments ol li ul li {
        
border1px solid #e0e0e0;
        
padding10px;
    }
    
#comments ol li .avatar {
        
floatright;
    }
    
#comments ol li .comment-author {
        
    
}
        
#comments ol li .comment-author .fn {
            
font-weightbold;
            
font-size1.2em;
        }
    
#comments ol li .comment-meta {
        
font-size0.9em;
        
color#999999;
        
margin5px 0 10px;
    }
    
#comments ol li .reply {
        
font-size0.9em;
        
font-weightbold;
        
padding-bottom10px;
    }
    
#comments .children {
        
list-style-typenone;
    }
#comments .navigation {
    
padding0 10px 20px;
    
font-size0.9em;
}
    
#comments .navigation a {
        
color#999999;
        
padding3px 8px;
        
border1px solid #cccccc;
    
}
    
#comments .navigation a:hover {
        
color#000000;
        
border-color#000000;
        
text-decorationnone;
    }
#comments .says {
    
displaynone;
}
/** END wordpress 2.7 comments **/ 

Imagenes:

Normal




Y si cambio esto:

Código PHP:
#header h1 a {
            
displayblock;
            
width435pxheight34px;
            
backgroundurl(images/logo.pngno-repeat 0 0;
            
text-indent: -9999px
Por esta medida

Código PHP:
#header h1 a {
            
displayblock;
            
width930pxheight250px;
            
backgroundurl(images/logo.pngno-repeat 0 0;
            
text-indent: -9999px
Sale asi:

  #2 (permalink)  
Antiguo 23/06/2010, 17:16
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 21 años, 9 meses
Puntos: 22
Respuesta: Ayuda con header!!

No lo he mirado bien pero quizá puedes probar cambiando el height de:
#header {
height: 158px;
background: url(images/navigation.png) repeat-x 0 bottom;
}
  #3 (permalink)  
Antiguo 23/06/2010, 20:02
 
Fecha de Ingreso: mayo-2010
Mensajes: 185
Antigüedad: 13 años, 10 meses
Puntos: 2
Respuesta: Ayuda con header!!

ya lo he probado pero tampoco
  #4 (permalink)  
Antiguo 23/06/2010, 21:11
 
Fecha de Ingreso: julio-2007
Mensajes: 42
Antigüedad: 16 años, 8 meses
Puntos: 0
Respuesta: Ayuda con header!!

envia tu html y css como adjunto para poder abrirlo en Dreamweaver y ayudarte

Última edición por webosiris; 23/06/2010 a las 21:29

Etiquetas: header
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta

SíEste tema le ha gustado a 1 personas




La zona horaria es GMT -6. Ahora son las 10:18.