![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: xml, xsl, css ... in netscape [Thread Next] Re: xml, xsl, css ... in netscapeTo: NULL Date: 9/4/2003 11:07:00 AM
"Oleg Tkachenko" <oleg@N...> wrote in message
news:eLhhpFfcDHA.1072@T......
> mali djuro wrote:
>
> >><xsl:template match="root">
> >> <html>
> >> <head>
> >><link rel="stylesheet" href="./css/style.css">
> >> </head>
> >> <body bgcolor="#EFEFEF">
> >
> >
> > yes, i tried it,
> > but in this case, even in IE,
> > styles are not applied
>
> Hmmm, chances are that ./css/style.css is not resolved properly in that
case -
> can you try with absolute URL like <link rel="stylesheet"
> href="http://foo.com/css/style.css"> ?
>
hi,
i found out how to applied styles in NN. i used a little bit of everithing
and mixed and now it works. but i still have problems.
it is not problem that stops program or breaks it, but it borders me.
when i make transformations, and if i call some javascript functions inside
it, for example i have function to generate navigation menu in pages, and
when i call it, menu is written but NN never stops loading page. when i stop
loading and view sourcd page, i found out that code of menu is written
behind </html> tag.
if you have some experience in this or now how to solve it, plesae help.
thanks.
here is xsl file with that function
test.xsl:
...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link rel="stylesheet" href="./css/menu.css" />
<script language="JavaScript"
src="./menu/menu.js"></script>
</head>
<body bgcolor="#EFEFEF">
<script language="JavaScript">
make_menu();
</script>
....
page source is:
...
</table>
</body>
</html>
<a id="e0_0o" class="oout" href="main.htm" style="position:
absolute; top: 11px; left: 10px; width: 149px; height: 24px; visibility:
hidden; z-index: 0;" onclick="return A_MENUS[0].onclick(0);"
onmouseout="A_MENUS[0].onmouseout(0);"
onmouseover="A_MENUS[0].onmouseover(0);"
onmousedown="A_MENUS[0].onmousedown(0);"><div id="e0_0i"
class="iout">main</div></a>
<a id="e0_1o" class="oout" href="" style="position: absolute; top:
11px; left: 159p
....
> --
> Oleg Tkachenko
> http://www.tkachenko.com/blog
> Multiconn Technologies, Israel
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
