ayuda con diseño html
young0320:
Buenas,
Resulta que estoy intentado hacer el diseño estático de un blog, llega un punto que he tratado de colocar una noticia principal que ocupa la mitad y la otra mitad con otras dos noticias secundarias, pero lo que me ocurre es que se me salen las noticias secundarias de la página, y no acierto a ver por qué.
El código del index.html es el siguiente
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 8</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="HAPedit 3.1">
<link type="text/css" rel="stylesheet" href="miblog/css/estructura.css"/>
<link type="text/css" rel="stylesheet" href="miblog/css/jMenu.jquery.css" />
<script type="text/javascript" src="miblog/js/jquery.js"></script>
<script type="text/javascript" src="miblog/js/jMenu.jquery.js"></script>
<script type="text/javascript" src="miblog/js/init.js"></script>
</head>
<body>
<div id="container">
<div id="header"><h1>Header</h1></div>
<div id="menu">
<ul id="jMenu">
<li><a class="fNiv">Category 1</a>
<ul>
<li class="arrow"> </li>
<li><a>Category 1.1</a></li>
<li><a>Category 1.2</a></li>
<li><a>Category 1.3</a></li>
<li><a>Category 1.4</a></li>
</ul>
</li>
<li><a class="fNiv">Category 2</a>
<ul>
<li class="arrow"> </li>
<li><a>Category 2.1</a></li>
<li><a>Category 2.2</a></li>
<li><a>Category 2.3</a></li>
<li><a>Category 2.4</a></li>
</ul>
</li>
<li><a class="fNiv">Category 3</a>
<ul>
<li class="arrow"> </li>
<li><a>Category 3.1</a></li>
<li><a>Category 3.2</a></li>
<li><a>Category 3.3</a></li>
<li><a>Category 3.4</a></li>
</ul>
</li>
</ul>
</div>
<div id="miga">miga</div>
<div id="wrapper">
<div id="content">
<div id="not_portada1">
<div class="titulo1">
<p>Esto es el titulo de la noticia 1 </p>
</div>
</div>
<p>very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p>
<p>fill long make long text very make long fill column make text very silly column filler silly text fill text filler filler filler make make make make text filler fill column filler make silly make text text fill make very filler column very </p>
<p>column text long column make silly long text filler silly very very very long filler fill very fill silly very make make filler text filler text make silly text text long fill fill make text fill long text very silly long long filler filler fill silly long make column make silly long column long make very </p>
<div class="not_portada2">
<div class="titulo2">
<p>Este va a ser el titulo de la noticia 2 </p>
</div>
<p>Aqui va el contenido de la noticia 2 sdgihsadgaísvdnvbaouvúbvsdhsñdkvabbbbbbbvdaschbhvbhñdssssssra</p>
<p>ñsdihynbgarbgtrseñfdzvafdhnmuvbaerñbauakvjbavebrkjavborejbovaervrebaojñvrbñehzñv yhrebñvouñovbuv </p>
</div>
<div class="not_portada2">
<div class="titulo2">
<p>Y este sera el titulo de la noticia 3</p>
</div>
<p>Y el contenido de la noticia 3 seria estesañgduhsjvbgañjkhsbgfvujaskbgfkjsdabgfvskhabdvhkbdvbab</p>
<p>sadfgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggfds</p>
</div>
</div>
</div>
<div id="navigation">
<p><strong>2) Navigation here.</strong> long long fill filler very fill column column silly filler very filler fill fill filler text fill very silly fill text filler silly silly filler fill very make fill column text column very very column fill fill very silly column silly silly fill fill long filler </p>
</div>
<div id="extra">
<p><strong>3) More stuff here.</strong> column long make silly silly filler silly very very very long column filler fill make column make silly column fill silly column long make silly filler column filler silly long long column fill silly column very </p>
</div>
<div id="footer"><p>Here it goes the footer</p></div>
</div>
</body>
</html>
Y el código de estructura.css es este:
Código:
html,body{margin:0;padding:0}
body{font: 76% arial,sans-serif;text-align:center}
p{margin:0 10px 10px}
a{display:block;color: #981793;padding:10px}
div#header h1{height:80px;line-height:80px;margin:0;padding-left:10px;background: #EEE;color: #79B30B}
div#menu {background: none repeat scroll #BDBDBD;height: 50px;width: 100%;}
div#miga{background: none repeat scroll #8FBC8F;}
html, div, map, dt, isindex, form{display: block;}
div#not_portada1{clear: left; width: 100%; margin-bottom: 40px;}
.titulo1 {font-weight: bold; font-size: large;}
.titulo2 {font-weight: bold; margin-top: 40px;}
.not_portada2 {clear: left; width: 50%; display: table-cell; padding: 0px 15px 0px 15px;}
div#container{text-align:left}
div#content p{line-height:1.4}
div#navigation{background:#B9CAFF}
div#extra{background:#FF8539}
div#footer{background: #333;color: #FFF}
div#footer p{margin:0;padding:5px 10px}
div#container{width:950px;margin:0 auto}
div#wrapper{float:left;width:100%}
div#content{margin: 5px 150px 20px 150px}
div#navigation{float:left;width:150px;margin-left:-150px}
div#extra{float:left;width:150px;margin-left:-950px}
div#footer{clear:left;width:100%}
Si alguien pudiese decirme algo para solucionarlo se lo agradecería mucho, pues me he quedado estancado.
Un saludo,
Muchas gracias.
Shell Root:
1. No se entiende nada.
2. Deberías de poner una imagen actual y otra de como lo quieras.
young0320:
Disculpa mi escasa claridad, si puedes ser más específico con lo que no se entiende puedo intentar explicarlo mejor.
La tengo en webhost, no se si está permitido poner el enlace aquí para que puedan ver
alguien puede hacer el favor de informarme si esta permitido
Anteros:
Hola,
De acuerdo con Shell Root, pero...
has intentado probar con un frameworkCSS para maquetar?? Podrias intentar con grid960 o con blueprint, ambos muy facil de aprender, configurar y adaptar a tus necesidades ::). Cualquier duda nos haces saber ;)
salu2
young0320:
De acuerdo agradezco mucho la información facilitada.
Lamentablemente veo que casi lo tengo, por ello quería si fuese posible arreglarlo,
El estado lo pueden http://www.velocidadpordefecto.site88.net
Simplemente se trata de meter el texto creo que me entenderan al verlo
Navegación
[#] Página Siguiente