WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strange CSS Display Issue (2 posts)

  1. wizardfusion
    Member
    Posted 3 years ago #

    I have the following CSS code...

    h2, h2 a, notoc, notoc a {
    	color: #990000;
    	font-size: 14px;
    	font-weight: bold;
    	margin: 20px 0 5px 0;
    	padding: 0;
    }

    As you can see, there is a H2 tag and a NOTOC tag. They should both be identical. However, they are displaying differently...

    Can anyone help please.?

    Thanks

  2. wizardfusion
    Member
    Posted 3 years ago #

    It's OK, found the issue - I didn't know you coundn't create your own tags.!

    I changed NOTOC to a H6 tag and it's now all working.

Topic Closed

This topic has been closed to new replies.

About this Topic