Weird behavior around header menus
-
I am curious why changing the doctype would break the alignement of the menus.
If one replaces
<!DOCTYPE html>in the header of twentyten with<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">the result is that the menu “Home — About” below the header moves an inch or two to the right. I don’t need the different DOCTYPE in my deployment, but I am nevertheless trying to understand what is going on here. Why is this happening?
Thanks for any insight you can provide. I am sure it will benefit not just me.
The topic ‘Weird behavior around header menus’ is closed to new replies.