Help with alignment & DOCTYPE

Help with alignment & DOCTYPE

am 12.04.2008 06:34:47 von mtek

Hi,


I have a webpage I am creating for a client. It is working just fine,
except that is has a balloon popup which uses a CSS, and must have the
DOCTYPE at the top of the page to work correctly.



The issue is, when I put in the DOCTYPE, the alignment of the UL list
becomes centered, and I cannot find anything CSS or otherwise to
override the centering........when I remove the DOCTYPE, the UL list
looks fine, but the balloon does not pop up.

It looks fine in Firefox, but not in IE. I am using IE7, and was
hoping someone can give me some help.

I can post any of the code you may need. Anything that can help
would be appreciated......


Thanks!


John

Re: Help with alignment & DOCTYPE

am 12.04.2008 10:32:34 von jkorpela

Scripsit Mtek:

> Hi,

We heard you the first time. In future, please post a question once
only, having composed it carefully. Hints:
1) "......" is not a sign of care
2) a URL is

> I have a webpage I am creating for a client. It is working just fine,
> except that is has a balloon popup which uses a CSS,

What is a balloon popup which uses a CSS? But I agree that it's
generally not fine to have such things.

> and must have the
> DOCTYPE at the top of the page to work correctly.

Huh? A DOCTYPE declaration is always required by HTML specifications.
But adding one to a page that does not otherwise comply with the specs
won't make things any better; rather the opposite, due to Quirks Mode,
see
http://www.cs.tut.fi/~jkorpela/quirks-mode.html

>

Why are you using XHTML? It's mostly a sign of cluelessness, as
explained in this group repeatedly. Hint: To avoid _looking_ clueless,
explain why you use XHTML when to have to admit you're using it.

> The issue is, when I put in the DOCTYPE, the alignment of the UL list
> becomes centered,

Apparently a Quirks Mode feature.

You have to decide: Quirks or "Standards" Mode?

> I can post any of the code you may need.

Do not post code. Post the URL without being asked to. But this won't
solve the basic problem: you are using broken HTML and/or CSS, and your
page relies on, i.e. uses Quirks Mode.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/