Hi all,

i have a very simple document:
<!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";>
<head>
<title>BG fail</title>
<style type="text/css">
body {
background-color: #000000;
color:#ffffff;
}
</style>
<script type="text/javascript" src="lib/prototype.js"></script>
<script type="text/javascript" src="lib/scriptaculous.js"></script>
</head>
<body>
<h1>Hello</h1>
</body>
</html>

On chrome and safari, the black background stops right after the h1 hello.
On safari, if i ask for the page source code, right after the code window
appeared, the background gets back to normal.

If i remove scriptaculous inclusion, no more problem.
If i move the style declaration after the script tags, no more problem (it
took really long to figure out what went wrong...).

Am i missing something? is it recommended to move the style declarations (or
imports i tested with external css) after scripts? is it a safari and chrome
(webkit?) bug?

Thanks
Guillaume

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to