Comunidad de diseño web y desarrollo en internet online

espacio muerto

Citar            
MensajeEscrito el 17 Nov 2006 12:26 am
estube modificando un template para blogger que encontre por ahi lo dejo muy bonito (?) y todo eso pero me surge un problema: debajo del banner me queda un espacio muerto que no se como achicarlo porque no se en q parte del codigo esta, porfavor ayudenme. gracias.

Código :


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="Shortcut Icon" href="http://img165.imageshack.us/img165/5711/imagex01en6.jpg">
  <title>:: Fondo del Tacho ::</title>
<$BlogMetaData$>

  <style type="text/css">


#navbar-iframe {
   height: 0px;
   visibility: hidden;
   display: none;
}

body {padding: 0; margin: 0; font: 75% Helvetica, Arial, sans-serif; color: #B4BABE; background: #000; text-align: center;}
a {color: #fe6602; font-weight: normal; text-decoration: none;}
a:visited {color: #ff8332;}
a:hover {color: #e35b01;}






h1 {margin: 0; color: #7B8186; font-size: 1.5em; }
h1 a {color: #7B8186;}
h2, #comments h4 {font-size: 1em; margin: 2em 0 0 0; color: #7B8186; background: transparent url(http://img165.imageshack.us/img165/629/bgheader1ej7.gif) bottom right no-repeat; padding-bottom: 2px;}
h3 {font-size: 1em; margin: 2em 0 0 0; background: transparent url(http://img165.imageshack.us/img165/629/bgheader1ej7.gif) bottom right no-repeat; padding-bottom: 2px;}
h4, h5 {font-size: 0.9em; text-transform: lowercase; letter-spacing: 2px;}
h5 {color: #7B8186;}
h6 {font-size: 0.8em; text-transform: uppercase; letter-spacing: 2px;}

p {margin: 0 0 1em 0;}
img, form {border: 0; margin: 0;}

/* -- layout -- */
#content {
   width: 743px;
   margin: 0 auto;
   text-align: left;
   background: #000  0 0 repeat-y;
   height: 791px;
}
#header {background: #000000;}
#header div {background: #000000;}
#main {
 line-height: 1.4;
 float: left;
 padding: 10px 12px;
 border-top: solid 0px #fff;
 width: 450px;
 /* Tantek hack - http://www.tantek.com/CSS/Examples/boxmodelhack.html */
 voice-family: "\"}\""; 
 voice-family: inherit;
 
}
/* IE5 hack */
#main {}
#sidebar {margin-left: 495px; padding: 4px 0 0 7px; background: #000000  1px 0 no-repeat;width:230px;}
#footer {clear: both; background: transparent  bottom left repeat; border-top: solid 1px #000;}
#pcent {font-weight: normal; text-decoration: none;}
/* -- header style -- */
#header h1 {padding: 12px 0 132px 4px; width: 555px; line-height: 1;}

/* -- content area style -- */
#main {line-height: 1.4;}
h3.post-title {font-size: 1.5em; margin-bottom: 0; color: #fe6602;}


h3.post-title a {color: #fe6602;}
.post {clear: both; margin-bottom: 4em;}
.post-footer em {color: #B4BABE; font-style: normal; float: left;}
.post-footer .comment-link {float: right;}
#main img {border: solid 1px #E3E4E4; padding: 2px; background: #fff;}
.deleted-comment {font-style:italic;color:gray;}

/* -- sidebar style -- */
#sidebar #description {border: solid 1px #F3B89D; padding: 10px 17px; color: #C4663B; background: #FFD1BC url(http://www.blogblog.com/snapshot/bg-profile.gif); font-size: 1.2em; font-weight: normal; line-height: 0.9; margin: 0 0 0 -6px;width:200px;}
#sidebar h2 {font-size: 1.0em; margin: 1.3em 0 0.5em 0;}
#sidebar dl {margin: 0 0 10px 0;}
#sidebar ul {list-style: none; margin: 0; padding: 0;}
#sidebar li {padding-bottom: 5px; line-height: 0.9;}
#sidebar a {color: #fe6602; font-weight: normal; text-decoration: none;font-size: 0.9em;}
#sidebar a:visited {color: #ff8332;}
#sidebar a:hover {color: #e35b01;}
.small{font-size: 0.8em;}

#profile-container {color: #ff8332;}
#profile-container img {border: solid 1px #7C78B5; padding: 4px 4px 8px 4px; margin: 0 10px 1em 0; float: left;}
.archive-list {margin-bottom: 2em;}


/* -- sidebar style -- */
#footer p {margin: 0; padding: 12px 8px; font-size: 0.9em;}
#footer hr {display: none;}
  </style>

</head>

<body>

<!-- Begin #content - Centers all content and provides edges for floated columns -->
<div id="content" style="LEFT: 20px; POSITION:absolute; TOP: 2px; visibility:visible; ">

<div id="header"><div >
<h1 align="left"><a href="<$BlogURL$>"><img src="http://img393.imageshack.us/img393/6969/skylinexi1.jpg"/></a></h1>
</div>
</div>
<!-- Begin #main - Contains main-column blog content -->
<div id="main" align="justify">

<Blogger>
  
  <!-- Begin .post -->
  <div class="post"><a name="<$BlogItemNumber$>"></a>
     
    <BlogItemTitle>
      <h3 align="justify" class="post-title"></BlogItemUrl>
       <a href="&lt;$BlogItemPermalinkUrl$&gt;"><strong><$BlogItemTitle$></strong></a>
<BlogItemUrl></BlogItemUrl>
    </h3>
    </BlogItemTitle>
     
    <p><$BlogItemBody$></p>
        
    <p class="post-footer">
      <em>posteado por  <$BlogItemAuthorNickname$> @ <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a></em>
      <BlogItemCommentsEnabled>
         <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>>Comments: <$BlogItemCommentCount$></a>      </BlogItemCommentsEnabled> <$BlogItemControl$>    </p>
    <p class="post-footer">&nbsp;</p>
    <p class="post-footer">&nbsp;</p>
  </div>
  <!-- End .post -->
  
  

  <!-- Begin #comments -->


  <!-- End #comments -->

</Blogger>

</div>
<!-- End #main -->


<!-- Begin #sidebar -->
<div id="sidebar">
  

  <!-- Begin #profile-container -->
   
   <$BlogMemberProfile$>
     <!-- End #profile -->
  <h2 class="sidebar-title">Blogs Amigos</h2>
 <ul>
 <li><a href="http://sucundum.blogspot.com/">Sucundum</a></li>
      <li><a href="http://11losers.blogspot.com/">11 Losers</a></li>
      <li><a href="http://gustavocoronel.com.ar/">GC Blog</a></li>
 
 </ul>
  
  <h2 class="sidebar-title">Posts Anteriores</h2>
  
  <ul id="recently">
    <BloggerPreviousItems>
        <li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
     </BloggerPreviousItems>
  </ul>
  
  <h2 class="sidebar-title">Archives</h2>
  
  <ul class="archive-list">
        <BloggerArchives>
       <li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>
     </BloggerArchives>
      <ArchivePage><li><a href="<$BlogURL$>">Current Posts</a></li></ArchivePage>
  </ul>
  <h2 class="sidebar-title">Blogosfera</h2>
 <ul>
 <p><script type="text/javascript" src="http://embed.technorati.com/embed/3bpa82pqk7.js"></script></p>
  <div id="eXTReMe">
         <div align="center"><a href="http://extremetracking.com/open?login=elfondo">
            <img src="http://t1.extreme-dm.com/i.gif" alt="eXTReMe Tracker" width="41"
height="38" id="EXim" style="border: 0;" /></a>
              <script type="text/javascript"><!--
var EXlogin='elfondo' // Login
var EXvsrv='s10' // VServer
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
EXb=EXs.colorDepth:EXb=EXs.pixelDepth;
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img src=http://e1.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&amp;",
"jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
"l="+escape(EXd.referrer)+" height=1 width=1>");//-->
            </script>
           <noscript>
              </noscript>
         </div>
         <noscript>
         <div id="neXTReMe"><img height="1" width="1" alt=""
src="http://e1.extreme-dm.com/s10.g?login=elfondo&amp;j=n&amp;jv=n" />
</div></noscript></div>
  </ul>
  </MainOrArchivePage>  


  <!--
  <p>This is a paragraph of text that could go in the sidebar.</p>
  -->
  


</div>
<!-- End #sidebar -->


<!-- Begin #footer -->
<div id="footer"><hr />
  <p>
</p>
</div>
<!-- End #footer -->



</div>
<!-- End #content -->

</body>
</html>

Por lamark

16 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 17 Nov 2006 03:09 am
Busca esta linea en el codigo:

Código :

#header h1 {padding: 12px 0 132px 4px; width: 555px; line-height: 1;}


Debe de estar asi, para que desaparesca ese espacio vacio.

Código :

#header h1 {padding: 12px 0 12px 4px; width: 555px; line-height: 1;}


Lo unico que se llega a cambiar es el valor del padding inferior, el hecho de que sea 132px dejaba ese vacio.

Saludos

Por wilssonly

Claber

593 de clabLevel



Genero:Masculino  

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.