Support » Fixing WordPress » YouTube Embedding affecting Search textbox styling

Viewing 4 replies - 1 through 4 (of 4 total)
  • Remove the height attribute from:

    #sidebar #s {
    background: url( no-repeat 0% 0%;
    border: 0px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    height: 19px;
    line-height: 19px;
    margin-bottom: 5px;
    padding: 5px 10px;
    width: 168px;

    That should do it

    Ganners, once I do that, the height is completely wrong. I do need to be able to use a standard CSS height declaration.

    The really odd thing is that even adding !important to the height declaration seems to have no effect.

    I think I’ve found your problem, you have no Doctype Declaration, at the top of your header.php put in the following line:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

    See if that works.

    Sure enough, that fixed it! I recently enabled ob_gzhandler and ob_tidyhandler on all our themes, and apparently it stripped out the Doctype Declaration. Very odd! I hadn’t noticed that until you pointed it out.

    I moved it to before those overflow buffers kicked in, and it’s now showing up.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘YouTube Embedding affecting Search textbox styling’ is closed to new replies.