Hello out there!
lassen sich im Frameset auch CSS Angaben für alle Frames definieren?
nein.
Doch! :-b
frameset.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TEST</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style type="text/css" id="myStyle">
[code lang=css]html, body, p
{
display: block;
}
body
{
background: yellow;
}
</style>
</head>
<frameset>
<frame src="frame.xml"/>
</frameset>
</html>[/code]
frame.xml:
<?xml-stylesheet href="frameset.html#myStyle" type="text/css" ?>
[code lang=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TEST</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
</head>
<body>
<p>Lorem ipsum</p>
</body>
</html>
~~~[/code]
See ya up the road,
Gunnar
--
„Wer Gründe anhört, kommt in Gefahr nachzugeben.“ (Goethe)