Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sarahtodde

    (@sarahtodde)

    I have also set up a test site using the basic twenty eleven theme. I have not changed a thing to the basic site and only added a thickbox content box. I am still getting the same validation error: ” Element style not allowed as child of element div in this context”

    https://www.test.emerydesignnc.com/?page_id=2

    I have been trying to find a solution for three days. I haven’t found anyone else who has had this same problem. It doesn’t make sense since I have followed the instructions exactly. I’m pulling my hair out!

    I am still a little new at html so any suggestions would be greatly appreciated.

    The validation simply says that embedding an inline stylesheet in the middle of content is not the right way to do it. It doesn’t create any issue beside the validation hiccup and it works. Because we’re using shortcodes, which basically gets processed during the page rendering, we can’t send this style back into the header section where it belongs, because the header has already been processed. That’s why the style is placed within the content.

    Thread Starter sarahtodde

    (@sarahtodde)

    Thanks. For a while I set it up as an iframe because that validated fine. But if it is fine to get those errors using inline I’d prefer that because the load time is much better. Thanks for responding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: ThickBox Content] Thickbox content validation error’ is closed to new replies.