Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Doctype issues

edited March 2008 in Vanilla 1.0 Help
I'm trying to add a banner to the top of my page along with a script to create a drop down menu effect. I've noticed that using: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> is causing all of my image <a>'s to be 5pixels bigger than it's original setting. Is there a way to change it to: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> or perhaps have the banner bypass it somehow? Any help/advice would be appreciated.

Comments

  • To change the doctype, go into your /themes/ folder, and copy the head.php file into the Vanilla folder you see there. Then go into the Vanilla folder and edit away! (Vanilla normally looks in that folder first for the file, copying it there ensures your changes don't get lost when you upgrade Vanilla)
  • Thank you for your response. Everything is working as intended now :)
This discussion has been closed.