Viewing 4 replies - 1 through 4 (of 4 total)
  • I would look in your active theme in the following files:
    header.php & functions.php

    I believe you can see it quite clearly in the source. I may be mistaken, but I think I see it sitting all by itself directly below this stylesheet link;

    <link rel="stylesheet" type="text/css" href="http://techbutter.com/wp-content/themes/techbutter2/style.css" />

    …around line 53 or so in my view.

    I would, as mfields suggests, probably start by taking a peek in header.php in the techbutter2 theme.

    Thread Starter andymelton

    (@andymelton)

    Thank you both for your responses. I had already looked in the header.php file before making this post as well as all other included files. I did not think to look in the functions.php file. I removed the contents of that file and uploaded it to the server and I am still receiving the stray </style> closing tag.

    I know where it is in the W3C ouput but I cannot find it anywhere in the source code. I’ve looked through all the files and plugins.

    I apologize for not responding sooner. I thought I was suppose to get an email notification of new responses.

    Thread Starter andymelton

    (@andymelton)

    I got that error taken care of. Disabling the plugin wasn’t enough to realize that one of them was causing a problem. It was Contact Form ][. The extra </style> was lurking in there. I don’t know how it got there. It seems as though I had to add something to the plugin once upon a time so it would style correctly. I just can’t remember if that’s what it was or not. I guess that is what you get for recycling themes from other websites and re-styling them!

    I downloaded the plugin and re-installed it. The error in the validation output went away.

    At least I’ve got this one figured out. From 10 validation errors down to 8 now! Thanks for your help everyone!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Stray </style> Tag’ is closed to new replies.