Autor Tema: Problema (X)HTML + CSS  (Leído 365 veces)

Desconectado WildWolf360

  • PHPer@ Fijo
  • ***
  • Mensajes: 192
  • Karma: 8
    • Ver Perfil
Problema (X)HTML + CSS
« en: 26 de Mayo de 2010, 21:27:10 pm »
Hola buenas. Estoy creando un template para Wordpress, y tengo unos problemillas con el diseño que quiero tener.

Os pongo la imagen (ya sé que es horroroso, pero todavía estoy probando las cosas)



Como véis el lugar donde están las noticias está separado del Footer. Quisiera saber si hay alguna manera de poder hacer que se extienda hasta que "haga tope" con el footer.


Un saludo y muchísimas gracias


Código HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<
title>index.html</title>
<
link href="style.css" rel="stylesheet" type="text/css" />
</
head>
<
body>
<!--
header start-->
<
div id="page">
	
<
div id="header">
	
	
<
div id="headerimg">
	
	
	
<
h1><a href="#">My Blog</a></h1>
	
	
	
<
div class="description">Blog Description</div>
	
	
</
div>
	
	
<
ul id="menu">
	
	
	
<
li><a href="#">Home</a></li>
	
	
	
<
li><a href="#">About</a></li>
	
	
	
<
li><a href="#">Portfolio</a></li>
	
	
	
<
li><a href="#">Links</a></li>
	
	
	
<
li><a href="#">Contact</a></li>
	
	
</
ul>
	
</
div>
<!--
header end-->
<!--
content start-->
	
<
div id="content">
	
	
<
div class="post">
	
	
	
<
div class="post-date"><span class="post-month">Oct</span> <span class="post-day">13</span></div>
	
	
	
<
div class="post-title">
	
	
	
	
<
h2><a href="#">Sample Blog Entry</a></h2>
	
	
	
	
<
span class="post-cat"><a href="#">News</a></span> <span class="post-comments"><a href="#">3 comments</a></span
	
	
	
</
div>
	
	
	
<
div class="entry">
	
	
	
	
<
p>Duis autem vel eum iriure dolor in hendrerit in vul*****te velit esse molestie consequatvel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisiLorem ipsum dolor sit ametconsectetuer adipiscing elitsed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="#">Read more...</a> </p>
	
	
	
</
div>
	
	
</
div>
	
	
<
div class="navigation"> <span class="previous-entries"><a href="#">Previous Entries</a></span> <span class="next-entries"><a href="#">Next Entries</a></span> </div>
	
</
div>
<!--
content end-->
<!--
sidebar start-->
	
<
form method="get" id="searchform" action="http://localhost:8888/mysite/">
	
	
<
label for="s"></label>
	
	
<
input type="text" value="" name="s" id="s" />
	
	
<
input type="submit" id="searchsubmit" value="GO" />
	
</
form>
	
<
div id="sidebar">
	
	
<
h3>Category</h3>
	
	
<
ul class="ul-cat">
	
	
	
<
li><a href="#">Uncategorized</a></li>
	
	
	
<
li><a href="#">News &ampUpdate</a></li>
	
	
	
<
li><a href="#">Design</a></li>
	
	
</
ul>
	
	
<
h3>Archives</h3>
	
	
<
ul class="ul-archives">
	
	
	
<
li><a href="#">October 2006</a></li>
	
	
	
<
li><a href="#">September 2006</a></li>
	
	
	
<
li><a href="#">August 2006</a></li>
	
	
</
ul>
	
</
div>
<!--
sidebar end-->
<!--
footer start-->
	
<
div id="footer">
	
</
div>
	
	
<!--<
div class="left-col">
	
	
	
<
h4>Recently Commented</h4>
	
	
	
<
ul class="recent-comments">
	
	
	
	
<
li><a href="#">Nick:</aThis is a test comment</li>
	
	
	
	
<
li><a href="#">Jen:</aHellonice day!</li>
	
	
	
	
<
li><a href="#">Someone:</aWowthis is another test comment</li>
	
	
	
	
<
li><a href="#">Admin:</aThis is a comment</li>
	
	
	
</
ul>
	
	
</
div>
	
	
<
div class="right-col">
	
	
	
<
h4>About</h4>
	
	
	
<
p>Welcome to my design blog and portfolio showcaseDuis autem vel eum iriure dolor in hendrerit in vul*****te velit esse molestie consequatvel illum dolore eu feugiat nulla facilisis.</p>
	
	
	
<
p>Feel free to <a href="#"contact me.</a></p>
	
	
</
div>
	
	
<
hr class="clear" />-->
<!--
footer end-->
</
div>
<!--
page end-->
</
body>
</
html>


Código CSS

body
{
	
background#3e3e3e url("images/body-bg.png")repeat-x;
	
font-family"Trebuchet MS"TahomaArial;
	
}
#page{ 
	
width1000px;
	
margin0px auto;
	
}
#header{
	
width1000px;
	
height150px;
	
backgroundurl("images/header-bg.png"no-repeat;
	
}
#menu{
	
list-
stylenone;
	
}
#menu li{
	
floatleft;
	
margin0px;
	
padding0px;
	
}
#content{
	
width800px;
	
floatleft;
	
overflowhidden;
	
background#FFFFFF;
	
}
#searchform{
	
width200px;
	
floatright;
	
background#FFFFFF;
	
}
	

#sidebar{
	
width200px;
	
floatright;
	
background#F7F7F7;
	
}
#footer{
	
width1000px;
	
height100px;
	
clearboth;
	
background#D8D8D8 url("images/footer-bg.png") no-repeat;
	
}

Comunidad PHPeros

Problema (X)HTML + CSS
« en: 26 de Mayo de 2010, 21:27:10 pm »