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:15

Problem with Doctype and Fontsize


Poster: AndreasK67
Dated: Wednesday February 8 2006 - 6:09:16 GMT

Hello,

it's maybe a very simple problem, but I can' t find the reason.

When I define a Doytype like

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

the fontsize, which I have set in the menu_data, will be ignored.

What is the reason for this problem?

Thanks

Andreas


Poster: Ruth
Dated: Wednesday February 8 2006 - 8:32:44 GMT

Hi,

Which browser, which OS?

There could be a number of reasons. I use that doctype all the time when I'm doing testing for things in the forum and I never have a problem with the font size being ignored, so we really need to see the page to figure out just what might be causing that. We need the html, the css, the menu data info, so a page is the easiest way to get all of it.

Ruth


Poster: Migru
Dated: Wednesday February 8 2006 - 8:35:11 GMT

Hi

did you set

/* <![CDATA[ */ after the beginning script tag and /* ]]> */ before the </script> end tag?

I´m not an XHTML expert, but as much as I can find out, xhtml requires this. There might be some other preconditions for correct processing of xhtml. Cannot say anything without seeing the file.


Michael


Poster: John
Dated: Wednesday February 8 2006 - 22:22:42 GMT

I use the following for all my pages...
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Even without a CDATA everything works just fine (except it probably won't validate as a clean XHTML page).


Poster: Migru
Dated: Wednesday February 8 2006 - 22:27:33 GMT

Hi John

good to know

Michael


Poster: John
Dated: Wednesday February 8 2006 - 22:32:04 GMT

It's really wierd, Michael. I never was able to get that silly CDATA to work (it always gave me errors of one kind or another), so I just left it out and things started working.