Skip to main content
added 6 characters in body
Source Link
ASouthorn
  • 399
  • 4
  • 15

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; } 

Edit: I've looked at the CSS file itself, can you just remove the "h2 a" from line 339?

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; } 

I've looked at the CSS file itself, can you just remove the "h2 a" from line 339?

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; } 

Edit: I've looked at the CSS file itself, can you just remove the "h2 a" from line 339?

added 18 characters in body
Source Link
TylerH
  • 21.3k
  • 84
  • 84
  • 121

Based on the link you sent (joets.be/test/index.htmljoets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; }

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; } 

Edit: I've looked at the cssCSS file itself, can you just remove the "h2 a" from line 339?

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; }

Edit: I've looked at the css file itself, can you just remove the "h2 a" from line 339?

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; } 

I've looked at the CSS file itself, can you just remove the "h2 a" from line 339?

Source Link
ASouthorn
  • 399
  • 4
  • 15

Based on the link you sent (joets.be/test/index.html), the reason this is happening is because you have an anchor tag inside the heading elements.

The <a> inside the H2 has font sizing styles attached to it, whereas the one inside the H6 does not. If you apply your 1.2em styling to the <a> instead of the headings, then that will work.

So essentially, do this:

h2 a, h6 a{ font-size:1.2em; line-height:1.2em; }

Edit: I've looked at the css file itself, can you just remove the "h2 a" from line 339?