Jump to content

Un problème à se tirer une balle, user agent stylesheet


Recommended Posts

Bonsoir à tous,

 

j'ai un problème qui me prend la tête. Sur mes fiches produits (pas les autres pages bizarrement...), toutes les balise ul sont décalées (avec padding) de 40px, ce qui met tout mon thème en l'air.

 

Voila mon extrait google developper tools : 

 

body, div, dl, dt, dd, ul, ol,li, h1, h2, h3, h4, h5, h6, pre,code, form, fieldset, legend,input, button, textarea, p,blockquote, th, td {
  1. margin0;
}
 
Contrairement aux autres pages, le {padding : 0} n’apparaît pas ! Pourtant il est bien présent
dans le global.css, cache vidé, compilation forcée, etc. Sur les autres pages, impeccable, j'ai
bien : 
 
body, div, dl, dt, dd, ul, ol,li, h1, h2, h3, h4, h5, h6, pre,code, form, fieldset, legend,input, button, textarea, p,blockquote, th, td {
  1. margin0;
  2. padding0;
}
 
Pour revenir aux pages qui posent problème, un peu plus bas j'ai ceci : 
 
 
user agent stylesheet
ul, menu,dir {
  1. displayblock;
  2. list-style-typedisc;
  3. -webkit-margin-before1em;
  4. -webkit-margin-after1em;
  5. -webkit-margin-start0px;
  6. -webkit-margin-end0px;
  7. -webkit-padding-start40px;
}

Et là apparaissent les fameux 40px qui décalent mes ul. Mais ça sort d'où ce truc ? Comment je fais pour forcer mon padding : 0 ?

 

 

Merci à tous pour votre aide !

 

Théo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...