Jump to content
Rpg²S Forum
  • 0

Dubbio carattere


Radames
 Share

Question

Salve a tutti,

ho un problema con i fogli di stile che non riesco a risolvere: in pratica ho inserito un testo in h2 in una pagina ed un altro testo in un'altra pagina ma nel tag p. Se metto le stesse proprietà ai due tag, la pagina con il testo in h2 compare come in grassetto mentre con il p compare normale. Ho provato nella seconda pagina ad inserire il testo in h2 e difatti diventa tutto come in grassetto. Come mai mi fa questo scherzetto?

Le proprietà dei due tag sono queste.

h2 {

font-size: 1em;

line-height: 20px;

text-align: justify;

font-family: 'MedievalSharp', arial, serif;

color: #333333;

}

 

p {

font-size: 1em;

line-height: 20px;

text-align: justify;

font-family: 'MedievalSharp', arial, serif;

color: #333333;

}

Qui vediamo la pagina in h2

LINK CANCELLATI

e qui quella in p

LINK CANCELLATI

Risolverei mettendo tutto in p, ma invece io devo inserire tutto in h2, ma non in grassetto. Se all’h2 assegno la proprietà font-weight: lighter; funziona correttamente, però poi non è più visibile la differenza dagli strong. Qualcuno sa come risolvere?

Grazie

LINK CANCELLATI

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...