Fork me on GitHub




« 1 (2)


Re: TDM Downloads et images dans les liens
Aspirant
Inscrit: 02/01/2007 09:56
Messages: 88
Je viens d'essayer avec le thème default-simple, le problème disparaît... ça doit donc venir de ma feuille de style du thème courant.
La voici pour info (des fois que ça parle à quelqu'un)
body {     colorblack;     backgroundwhite;     margin0;     padding0;     font-size12px; } table {     width100%;     margin0;     padding0; } table td {     padding0;     border-width0;     vertical-aligntop;     font-familyVerdanaArialHelveticasans-serif; } {     color#4077AE;     text-decoration: none;     font-weight: bold;     background: inherit; } a:hover {     color: #f90;     background: inherit;     text-decoration: none; } ul {     margin: 0 0 0 20px;     padding: 2px;     list-style: square;     text-align: left; } ol {     margin: 0 0 0 20px;     padding: 2px;     list-style: decimal;     text-align: left; } li {     margin-left: 2px;     color: #4076AC; } .item {     border: 1px solid #ccc; } .itemHead {     padding: 3px;     color: #FFF;     background: #4076AC; } .itemInfo {     text-align: right;     padding: 3px;     background: #efefef; } .itemTitle a {     font-size: 130%;     font-weight: bold;     font-variant: small-caps;     color: #fff;     background: transparent; } .itemPoster {     font-size: 90%;     font-style: italic; } .itemPostDate {     font-size: 90%;     font-style: italic; } .itemStats {     font-size: 90%;     font-style: italic; } .itemBody {     padding-left: 5px; } .itemText {     margin-top: 5px;     margin-bottom: 5px;     line-height: 1.5em; } .itemText:first-letter {     font-size: 133%;     font-weight: bold; } .itemFoot {     text-align: right;     padding: 3px;     background: #efefef; } .itemAdminLink {     font-size: 90%; } .itemPermaLink {     font-size: 90%; } th {     color: #FFF;     padding: 2px;     vertical-align: middle;     font-family: Verdana, Arial, Helvetica, sans-serif;     background: #4076AC; } th a {     background:inherit;     color:#fff; } #headerlogo {     color: inherit;     background: #FFF url(images/header.jpg) repeat-x top; } td#headerbanner {     width: 100%;     vertical-align: middle;     text-align: right;     color: inherit;     padding: 0 6px 0 0;     background: #FFF url(images/header.jpg) repeat-x top; } #headerbar {     border-top: 1px solid #999;     border-bottom: 1px solid #999;     padding: 3px;     font-size: 90%;     background: url(images/hbar.gif) repeat-x top; } #ulogin {     width: 600px;     float: left; } #srch {     width: 300px;     float: right;     text-align: right; } td#leftcolumn {     width: 200px;     border-right: 1px solid #999;     padding: 6px;     background: #69C;     color: inherit; } td#leftcolumn th {     color: #FFF;     vertical-align: middle;     background: #4076AC; } #centercolumn {     padding: 6px; } #centercolumn th {     color: #FFF;     vertical-align: middle;     background: #4076AC; } #centerCcolumn, #bottomCcolumn {     padding: 0 3px 1px; } #centerLcolumn, #bottomLcolumn, #centerRcolumn, #bottomRcolumn {     width: 50%;     padding: 0 3px; } div.blockTitle {     padding: 6px;     color: #69C;     text-align: center;     font-weight: bold;     border: 1px solid #999;     background: #fff url(images/hbar.gif) repeat-x top; } div#content {     text-align: left;     padding: 8px; } td#rightcolumn {     width: 170px;     border-left: 1px solid #999;     padding: 6px;     color: inherit;     background: #fff url(images/rcolback.jpg) repeat-y left; } td#rightcolumn th {     color: #FFF;     vertical-align: middle;     background: #4076AC; } div.blockContent {     padding: 6px;     line-height: 120%;     background: #fff;     color: inherit;     border-left: 1px solid #999;     border-right: 1px solid #999;     border-bottom: 1px solid #999;     margin: 0 0 3px; } td#footerbar {     border-top: 1px solid #999;     text-align: center;     background: url(images/hbar.gif);     background-position: top;     background-repeat: repeat-x;     padding: 3px;     background-color: inherit;     color: #666;     font-size: 90%; } td#mainmenu a {     display: block;     margin: 3px;     padding: 3px;     border-left: 4px solid #999;     border-bottom: 1px solid #999;  } td#mainmenu a:hover {     border-left: 4px solid #f90;     border-bottom: 1px solid #f90;     color: inherit;     background-color: #efefef; } td#mainmenu a.menuSub {     margin: 3px 3px 3px 12px; } td#usermenu a {     display: block;     margin: 3px;     padding: 3px;     border-left: 4px solid #999;     border-bottom: 1px solid #999;  } td#usermenu a:hover {     border-left: 4px solid #f90;     border-bottom: 1px solid #f90;     color: inherit;     background-color: #efefef; } td#usermenu a.highlight {     background: #f90; } .outer {     border: 1px solid silver; } .head {     padding: 5px;     font-weight: bold;     background: #8EBAE6; } .even {     padding: 5px;     background: #CDE6FF; } .odd {     padding: 5px;     background: #E3F1FF; } .foot {     padding: 5px;     font-weight: bold;     background: #8EBAE6; } tr.even td {     padding: 5px;     background: #CDE6FF; } tr.odd td {     padding: 5px;     background: #E3F1FF; } div.errorMsg {     text-align: center;     border-top: 1px solid #DDF;     border-left: 1px solid #DDF;     border-right: 1px solid #AAA;     border-bottom: 1px solid #AAA;     font-weight: bold;     padding: 10px;     background: #FCC; } div.confirmMsg {     color: #136C99;     text-align: center;     border-top: 1px solid #DDF;     border-left: 1px solid #DDF;     border-right: 1px solid #AAA;     border-bottom: 1px solid #AAA;     font-weight: bold;     padding: 10px;     background: #DDFFDF; } div.resultMsg {     color: #333;     text-align: center;     border-top: 1px solid silver;     border-left: 1px solid silver;     font-weight: bold;     border-right: 1px solid #666;     border-bottom: 1px solid #666;     padding: 10px;     background: #CCC; } div.xoopsCode, div.xoopsQuote {     text-align: left;     background: #efefef;     color: #333;     border: 1px inset #333;     font-family: "Courier New", Courier, monospace;     padding: 5px;     margin: auto;     width: 95%;     _width: 400px;     max-height: 200px;     overflow: auto; } .comTitle {     font-weight: bold;     margin-bottom: 2px; } .comText {     padding: 2px; } .comUserStat {     font-size: 90%;     color: #4076AC;     font-weight: bold;     border: 1px solid silver;     margin: 2px;     padding: 2px;     background: #fff; } .comUserStatCaption {     font-weight: normal; } .comUserStatus {     margin-left: 2px;     margin-top: 10px;     color: #4076AC;     font-weight: bold;     font-size: 90%; } .comUserRank {     margin: 2px; } .comUserRankText {     font-size: 90%;     font-weight: bold; } .comUserRankImg {     border: 0; } .comUserImg {     margin: 2px; } .comDate {     font-weight: normal;     font-style: italic;     font-size: 90%; } .comDateCaption {     font-weight: bold;     font-style: normal; } blockquote {     margin: 0 0 0 5px;     padding: 5px;     border-left: 4px solid #f90; } form {     margin: 0;     padding: 0; } input, select, textarea {     background: #fefefe;     color: #333;     border: 1px solid #999;     padding:2px;     margin: 0;     font-size: 90%; } textarea {     width:300px;     }

Pour info, mon thème est issu du thème bluehue et le défaut est visible avec les fichiers d'origine de ce thème

Posté le : 16/11/2009 13:04
Partager Twitter Partagez cette article sur GG+
Re: TDM Downloads et images dans les liens
Aspirant
Inscrit: 02/01/2007 09:56
Messages: 88
ça y est, j'ai trouvé !
En y allant par itération dans le fichier css de mon thème, le problème venait de cette partie du code
{     color#4077AE;     text-decoration: none;     font-weight: bold;     background: inherit; }

En supprimant juste la partie
backgroundinherit;
j'ai retrouvé un fonctionnement correct
Bon à savoir pour ceux qui auraient des soucis du même type
Ps: ne pas oublier de réaliser la même opération dans cette autre partie du fichier style.css
a:hover {     color#f90;     background: inherit;     text-decoration: none; }

Posté le : 16/11/2009 14:15
Partager Twitter Partagez cette article sur GG+
Re: TDM Downloads et images dans les liens
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
il faut mettre : background:transparent;

Posté le : 16/11/2009 16:34

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: TDM Downloads et images dans les liens
Aspirant
Inscrit: 02/01/2007 09:56
Messages: 88
Merci Kris
C'est plus propre en effet

Posté le : 16/11/2009 17:33
Partager Twitter Partagez cette article sur GG+
Re: TDM Downloads et images dans les liens
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
et plus conforme au standard w3c : si couleur alors background

Posté le : 16/11/2009 23:11

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
« 1 (2)



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

43 Personne(s) en ligne (27 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 43 | Plus ...