Thanks for your help bernie1227. I'm obviously struggling to grasp the basics of css. Let me try to explain my ignorance.
I have a frameset called qdemo.html and this contains two frames leftFrame (containing omni.html) and subFrame (containing (qfrm_sub.html).
The code for qdemo.html is:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#leftFrame, #subFrame {
position: absolute; /* absolute positioning */
}
#leftFrame {
z-index: 50;
}
#subFrame {
z-index: 10;
}
</style>
</head>
<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
<frame name="leftFrame" scrolling="NO" noresize src="omni.html" >
<frame name="subFrame" src="qfrm_sub.html">
</frameset>
<noframes><body bgcolor="#FFFFFF">
</body></noframes>
</html>
and that for qfrm_sub.html is:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#leftFrame, #subFrame {
position: absolute; /* absolute positioning */
}
#leftFrame {
z-index: 50;
}
#subFrame {
z-index: 10;
}
</style>
</head>
<body bgcolor="#FFFFFF">
temp frame
</body>
</html>
The file omni.html contains the drop down menus and the start of the file is...
Code:
<!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" lang="en" xml:lang="en">
<head>
<title>Dynamic Drive DHTML Scripts- Omni Slide Menu demo</title>
<style type="text/css">
/*Menu Links*/
#leftFrame, #subFrame {
position: absolute; /* absolute positioning */
}
#leftFrame {
z-index: 50;
}
#subFrame {
z-index: 10;
}
/*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
may be inherited in some browsers from other 'a' element styles (if any) on the page*/
#menu1 a {color:black;background-color:white;text-decoration:none;text-indent:1ex;}
#menu1 a:active {color:black;text-decoration:none;}
#menu1 a:hover {color:black;background-color:#FFFF99}
#menu1 a:visited {color:black;text-decoration:none;}
All, fairly simple stuff but I am clearly not grasping where/how to use css. Can you help please?
Bookmarks