Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:44

DOCTYPE affects menu paddings

Poster: perldev
Dated: Wednesday May 11 2005 - 21:59:28 BST

Example 1:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html lang="en">

Example 2:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en-US" lang="en-US">

In example 2, the menu padding doesn't work; but example 1 does. The only difference between 1 and 2 is the DOCTYPE.

How to fix the padding issue of example 2? Thanks in advance.

Poster: Ruth
Dated: Thursday May 12 2005 - 3:39:31 BST


I'm assuming Netscape and Firefox since my IE looks the same in both. For some reason, and I don't know what that is, if you put px in your menu style code Netscape will start showing the padding.

padding="5px 10px 5px 10px";

The same is true in Firefox 1.0.2.


Poster: perldev
Dated: Thursday May 12 2005 - 12:59:08 BST

Hmm. It does look different in IE.

Poster: perldev
Dated: Thursday May 12 2005 - 13:02:43 BST

Ruth, you are right. When appending px, it works perfect. Thanks for your help!


Poster: guythomas
Dated: Thursday February 19 2009 - 13:19:49 GMT

I find that specifing

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Has an affect on the springout menus. They persist and don't withdraw gracefully. I had not noticed a problem until I tried in IE 8.

Are there any known IE 8 incompatibilities?