28172 sujets

CSS et mise en forme, CSS3

Coucou Smiley lol , j'aimerai bien connaître la fonction ou la commande CSS qui annule cette marge è_é . Voila le screen

upload/29919-fuckin.png
(clicker pour VRAIMENT voir le problème )

Le CSS
body { text-align : center; background: url('images/bg.png'); background-repeat: repeat-x; margin: 0 0 0 0; background-color: #eeeeee;
padding: 0;} 

.center { text-align: center; } 
/* Begin CSS designing */ 

/*#bloka { display: block; width: 884px; height: fixed; } */
#wrapper { background : url('images/wrapper.png'); background-repeat: repeat-y; margin: 0 0 0 0; } 


Le PHP du header

<!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" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php bloginfo('name'); ?>
<?php if ( is_single() ) { ?> :: <?php foreach((get_the_category()) as $cat) { echo $cat->cat_name . ' '; } ?> <?php } ?> 
<?php wp_title(' :: '); ?>
</title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.tabs.js"></script>
</head>
<body>
<div style="position:relative;" align="center"> 
<div style="position:relative;width:1000px;text-align:center;" class="center"> 

	<table width="1000px" cellpadding="0" cellspacing="0" border="0" >
		<tr>
			<td><div style="background: url('<?php bloginfo ('template_url'); ?>/images/barre-du-haut.png'); width:1000px; height:24px;"></div></td>
		</tr>
		
		<tr>
			<td><img src="<?php bloginfo('template_url'); ?>/images/header.png"/>
		</tr>
		</table>
		<table cellpadding="0" cellspacing="0">	<tr>
			<td><img src="<?php bloginfo('template_url'); ?>/images/rightone.png" width="53px" height="276px"/></td> 
			<td><div style="background: url('<?php bloginfo('template_url'); ?>/images/message.png'); width: 301px; height:276px;"></div></td>
			<td><img src="<?php bloginfo('template_url'); ?>/images/diaporama.png"/></td>
			<td><div style=" background: url('<?php bloginfo('template_url'); ?>/images/elist.png'); width: 217px; height: 276px;"></div></td>
			<td><img src="<?php bloginfo('template_url'); ?>/images/leftone.png"/></td>
			
		</tr>
</table>


LE PHP INDEX

	<?php get_header(); ?><div id="wrapper">
	<div class="postgroup">

<?php if (have_posts()) : ?>
	<?php while (have_posts()) : the_post(); ?>

		<div class="post" id="post-<?php the_ID(); ?>">
			<div class="title">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
				<p>
					<span class="date"><?php the_time('F j, Y'); ?></span>
					<span class="divider">&bull;</span>
					<span class="categories"><?php the_category(', ') ?></span>
					<span class="divider">&bull;</span>
					<span class="comments"><?php comments_popup_link('Comments', 'Comments', 'Comments'); ?></span>
				</p>
			</div>
			<div class="entry">
				<?php the_content('[More]'); ?>
			</div>
		</div>

	<?php endwhile; ?>
		
	<div id="pagenav"><!-- <?php if (function_exists('wp_pagenavi')) { wp_pagenavi(); } else { posts_nav_link(); } ?>--></div>

<?php else : ?>

		<div class="post">
			<div class="title">
				<h2>No Archive Found</h2>
			</div>
			<div class="entry">
				<p>Sorry, but you are looking for an archive that isn't here.</p>
			</div>
		</div>

<?php endif; ?>

	</div>
</div>

<?php get_sidebar(); ?>

Modifié par Lougwaya (26 May 2010 - 18:35)
comprends rien à ton problème, ton screen ne montre rien et on ne vois pas de quelle marge tu parles.
désolé.