problema allineamento contenuti sito

Bruce5000

Utente Attivo
14 Ott 2007
106
0
0
Salve, non riesco a mettere i contenuti del sito a destra del menu; ho provato con float: right ma non ho risolto.
Potete aiutarmi? Il sito è http://www.fortunatissimi.it

PHP:
//Menu
				<div class="left">
					<div class="sub_left"><br style="line-height:0.31em;"/>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Left sidebar','theme164')) ) : else : ?>							
						<div class="widget_style1" id="categories">
							<h2 class="h2"><?php _e('Categories','theme164'); ?></h2>
							<ul>
								<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
							</ul>
						</div>
						
						<div class="widget_style1" id="archives">
							<h2 class="h2"><?php _e('Archives','theme164'); ?></h2>
							<ul>
								<?php get_archives('monthly','10','custom','<li>','</li>'); ?>
							</ul>
						</div>
<?php
 $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
 foreach ($link_cats as $link_cat) {
 ?>							
						<div class="widget_style1" id="links_with_style">
							<h2 class="h2"><?php echo $link_cat->cat_name; ?></h2>
							<ul>
								<?php get_links($link_cat->cat_id, '<li>', '</li>', '<br />', FALSE, 'rand', TRUE, 
	TRUE, -1, TRUE); ?>
							</ul>
						</div>
<?php } ?>						
						<div class="widget_style1" id="meta">
							<h2 class="h2"><?php _e('Meta','theme164'); ?></h2>
							<ul>
								<?php wp_register('<li>', '</li>'); ?>
		<li><?php wp_loginout(); ?></li>
		<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
		<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
		<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
		<?php wp_meta(); ?> 
							</ul>
						</div>
<?php endif; ?>							
					</div>
				</div>

//Contenuti
				<div class="right">
					<div class="sub_right">
						<div class="c5">
							<div class="c6">
								<div class="c7">
									<div class="c8">
										<div class="c1">
											<div class="c2">
												<div class="c3">
													<div class="c4">
														<div class="sub_content">
															
															
															<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>	
															<div class="table1">
																<div class="table_row1">
																	<div class="left1">
																		<div class="date"><?php the_time('d.m.Y') ?></div>
																	</div>
																	<div class="right1">
																		<div class="head">
																			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
																			Author: <?php the_author() ?>
																		</div>
																	</div>
																</div>
															</div>
															<div class="content_txt">
																<?php the_content('Read the rest of this entry &raquo;'); ?>
																<div class="comment"><a href="<?php comments_link(); ?>">read users' comments (<?php comments_number('0', '1', '%', 'number'); ?>)</a></div>
															</div>
<?php endwhile; ?>
							<?php else : ?>
<div class="content_txt">
<h2>Not Found</h2><br/>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<div id="search"><?php include (TEMPLATEPATH . "/searchform.php"); ?></div>

</div>
	<?php endif; ?>										

															
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
 
Anche se il tuo codice contiene del PHP si tratta di un problema HTML / CSS, sposto la discussione nel'apposita sezione.
 

Discussioni simili