overwrite css tagged !important

overwrite css tagged !important was created by 10frank01

Posted 11 years 8 months ago #4917
Bonjour

Dans Firebug j'ai cette ligne avec une marge de 30px !important, que j'aimerais invalider par un css personalisé, mais je n'y arrive pas...

Voici la ligne et les styles:

div#navigation ul.maximenuck li.maximenuck.level1{

background: none repeat scroll 0 0 transparent;
border: 1px solid transparent;
cursor: pointer;
display: block;
float: left;
list-style: none outside none;
margin-right: 30px !important;:angry:
margin-top: 2px !important;
padding: 4px 9px 2px;
text-align: center;

J'ai personalisé comme suit:

div#navigation ul.maximenuck li {width:105px; margin-right: 30px !important;}
Mais la margin-right ne prend pas, par contre width 105px est pris...

J'ai essayé ceci aussi:

div#navigation ul.maximenuck li.maximenuck.level1{margin-right: 0px !important;}

Mais margin-right reste à 30px et le 0px n'est pas pris...

Ces deux lignes css je les ai simplement mis dans un costum.css où j'ai la plupart des personalisations.

Peux-tu m'aider à trouver la clef afin de reduire cette marge de 30px? Comme cela, le maximenu horizontal entrerait parfaitement dans le "ul".

Mon site: www.selbsthilfe-paare.ch ; je t'envoie un login au site par le formulaire email/contact., car actuellement le site est encore offline . Merci!
Last Edit:11 years 8 months ago by 10frank01
Last edit: 11 years 8 months ago by 10frank01.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: overwrite css tagged !important

Posted 11 years 8 months ago #4957
salut
probleme réglé ? car je vois une marge de -5px
ced

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.632 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 562 guests and no members online